libmatenotify-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Summary: Desktop notification library
  2. Name: libmatenotify
  3. Version: 1.4.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: gtk2-devel
  11. BuildRequires: dbus-devel
  12. BuildRequires: dbus-glib-devel
  13. BuildRequires: gtk-doc
  14. BuildRequires: autoconf
  15. BuildRequires: automake
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. Desktop notification library
  22. %package devel
  23. Summary: Development tools for libmatenotify
  24. Summary(ja): libmatenotify の開発環境
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. Header files and libraries for building a extension library for the
  30. libmatenotify.
  31. %package doc
  32. Summary: Documentation for libmatenotify
  33. Summary(ja): libmatenotify 用のドキュメント
  34. Group: Documentation
  35. Requires: %{name} = %{version}-%{release}
  36. BuildArch: noarch
  37. %description doc
  38. This package contains documentation for libmatenotify.
  39. %prep
  40. %setup -q
  41. %build
  42. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  43. %configure \
  44. --disable-static \
  45. %{__make} %{?_smp_mflags}
  46. %install
  47. %{__rm} -rf ${RPM_BUILD_ROOT}
  48. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  49. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  50. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  51. %clean
  52. %{__rm} -rf ${RPM_BUILD_ROOT}
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %files
  56. %defattr(-,root,root,-)
  57. %doc COPYING.LIB ChangeLog NEWS README
  58. %{_bindir}/mate-notify-send
  59. %{_libdir}/libmatenotify.so.*
  60. %files devel
  61. %defattr(-,root,root,-)
  62. %{_includedir}/libmatenotify
  63. %{_libdir}/libmatenotify.so
  64. %{_libdir}/pkgconfig/libmatenotify.pc
  65. %files doc
  66. %defattr(-,root,root,-)
  67. %{_datadir}/gtk-doc/html/libmatenotify
  68. %changelog
  69. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  70. - new upstream release
  71. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  72. - new upstream release
  73. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  74. - initial build for Vine Linux