libmatenotify-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Summary: Desktop notification library
  2. Name: libmatenotify
  3. Version: 1.1.0
  4. Release: 1%{?_dist_release}
  5. Source0: %{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: https://matsusoft.com.ar/projects/mate/
  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. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  70. - initial build for Vine Linux