libnotify-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. %define glib2_version 2.10.0
  2. Summary: libnotify notification library
  3. Name: libnotify
  4. Version: 0.4.5
  5. Release: 3%{?_dist_release}
  6. URL: http://www.galago-project.org/specs/notification/
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source0: %{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= %{glib2_version}
  12. BuildRequires: gtk2-devel
  13. BuildRequires: dbus-devel >= 1.0
  14. BuildRequires: dbus-glib-devel
  15. Requires: glib2 >= %{glib2_version}
  16. Requires: notification-daemon
  17. %description
  18. libnotify is an implementation of the freedesktop.org desktop
  19. notification specification.
  20. %package devel
  21. Summary: Files for development using %{name}
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: glib2-devel >= %{glib2_version}
  25. Requires: gtk2-devel
  26. Requires: dbus-devel >= 0.36
  27. Requires: dbus-glib-devel
  28. %description devel
  29. This package contains the headers and pkg-config file for
  30. development of programs using %{name}.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure
  35. %__make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. %__make install DESTDIR=$RPM_BUILD_ROOT
  39. # remove unpackaged files
  40. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-,root,root)
  48. %doc COPYING ChangeLog NEWS
  49. %{_bindir}/notify-send
  50. %{_libdir}/lib*.so*
  51. %files devel
  52. %defattr(-,root,root)
  53. %{_includedir}/*
  54. %{_libdir}/pkgconfig/libnotify.pc
  55. %{_datadir}/gtk-doc/html/%{name}
  56. %changelog
  57. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.5-3
  58. - rebuild with rpm-4.8.1 for pkg-config file
  59. * Fri Feb 26 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-2
  60. - rebuilt with new toolchain
  61. * Fri Mar 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.5-1
  62. - new upstream release
  63. * Sat Nov 15 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.4-2
  64. - added Requires: notification-daemon
  65. - added BuildRequires: dbus-glib-devel
  66. - added Requires: dbus-glib-devel to devel package
  67. * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1
  68. - applied new versioning policy
  69. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.4-0vl2
  70. - rebuild with dbus-1.0
  71. * Fri Mar 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl1
  72. - new upstream release
  73. - added BuildRequires: gtk2-devel, dbus-devel
  74. - added Requires: gtk2-devel, dbus-devel to devel package
  75. * Wed Nov 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.3-0vl1
  76. - new upstream release
  77. * Sun Jun 25 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.2-0vl1
  78. - new upstream release
  79. * Fri Jun 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0-0vl1
  80. - new upstream release
  81. * Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1
  82. - initial build for Vine Linux partialy based on FC package
  83. * Thu Mar 2 2006 Ray Strode <rstrode@redhat.com> - 0.3.0-5
  84. - patch out config.h include from public header
  85. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.2
  86. - bump again for double-long bug on ppc(64)
  87. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.1
  88. - rebuilt for new gcc4.1 snapshot and glibc changes
  89. * Thu Jan 12 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-4
  90. - Require a desktop-notification-daemon to be present. Currently,
  91. this is notify-daemon, but libnotify doesn't specifically require
  92. that one. Require 'desktop-notification-daemon' which daemons
  93. providing compatible functionality are now expected to provide.
  94. * Wed Jan 11 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-3
  95. - Let there be libnotify-devel...
  96. * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-2
  97. - Actual release of the 0.3.x series
  98. * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-1
  99. - Bump version to not conflict with older libnotify libraries
  100. * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.0.2-1
  101. - inital build