libnotify-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. %define glib2_version 2.36.0
  2. Summary: libnotify notification library
  3. Name: libnotify
  4. Version: 0.7.9
  5. Release: 1%{?_dist_release}
  6. URL: http://www.galago-project.org/specs/notification/
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. %define shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
  10. Source0: https://ftp.gnome.org/pub/GNOME/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: meson, ninja
  13. BuildRequires: glib2-devel >= %{glib2_version}
  14. BuildRequires: gtk3-devel
  15. BuildRequires: dbus-devel >= 1.0
  16. BuildRequires: dbus-glib-devel
  17. BuildRequires: gtk-doc
  18. BuildRequires: libxslt
  19. BuildRequires: docbook5-style-xsl
  20. BuildRequires: xmlto
  21. Requires: glib2 >= %{glib2_version}
  22. Requires: notification-daemon
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. %description
  26. libnotify is an implementation of the freedesktop.org desktop
  27. notification specification.
  28. %package devel
  29. Summary: Files for development using %{name}
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: glib2-devel >= %{glib2_version}
  33. Requires: gtk3-devel
  34. Requires: dbus-devel >= 0.36
  35. Requires: dbus-glib-devel
  36. %description devel
  37. This package contains the headers and pkg-config file for
  38. development of programs using %{name}.
  39. %prep
  40. %setup -q
  41. %build
  42. %meson
  43. %meson_build
  44. %install
  45. rm -rf %{buildroot}
  46. %meson_install
  47. mv -f %{buildroot}%{_docdir}/libnotify/spec/notification-spec.html ./
  48. %clean
  49. rm -rf %{buildroot}
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %defattr(-,root,root)
  54. %license COPYING
  55. %doc ChangeLog NEWS
  56. %{_bindir}/notify-send
  57. %{_libdir}/lib*.so*
  58. %{_libdir}/girepository-1.0/Notify-0.7.typelib
  59. %{_mandir}/man1/*
  60. %files devel
  61. %defattr(-,root,root)
  62. %doc notification-spec.html
  63. %{_includedir}/*
  64. %{_libdir}/pkgconfig/libnotify.pc
  65. %{_datadir}/gtk-doc/html/%{name}
  66. %{_datadir}/gir-1.0/Notify-0.7.gir
  67. %changelog
  68. * Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7.9-1
  69. - new upstream release.
  70. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.6-2
  71. - rebuild with VineSeed environment
  72. * Fri Sep 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.6-1
  73. - new upstream release
  74. * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.5-1
  75. - new upstream release
  76. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.4-1
  77. - new upstream release
  78. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.3-1
  79. - new upstream release
  80. - change BuildRequires: gtk3-devel instead of gtk2-devel
  81. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.5-3
  82. - rebuild with rpm-4.8.1 for pkg-config file
  83. * Fri Feb 26 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-2
  84. - rebuilt with new toolchain
  85. * Fri Mar 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.5-1
  86. - new upstream release
  87. * Sat Nov 15 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.4-2
  88. - added Requires: notification-daemon
  89. - added BuildRequires: dbus-glib-devel
  90. - added Requires: dbus-glib-devel to devel package
  91. * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1
  92. - applied new versioning policy
  93. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.4-0vl2
  94. - rebuild with dbus-1.0
  95. * Fri Mar 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl1
  96. - new upstream release
  97. - added BuildRequires: gtk2-devel, dbus-devel
  98. - added Requires: gtk2-devel, dbus-devel to devel package
  99. * Wed Nov 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.3-0vl1
  100. - new upstream release
  101. * Sun Jun 25 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.2-0vl1
  102. - new upstream release
  103. * Fri Jun 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0-0vl1
  104. - new upstream release
  105. * Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1
  106. - initial build for Vine Linux partialy based on FC package
  107. * Thu Mar 2 2006 Ray Strode <rstrode@redhat.com> - 0.3.0-5
  108. - patch out config.h include from public header
  109. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.2
  110. - bump again for double-long bug on ppc(64)
  111. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.1
  112. - rebuilt for new gcc4.1 snapshot and glibc changes
  113. * Thu Jan 12 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-4
  114. - Require a desktop-notification-daemon to be present. Currently,
  115. this is notify-daemon, but libnotify doesn't specifically require
  116. that one. Require 'desktop-notification-daemon' which daemons
  117. providing compatible functionality are now expected to provide.
  118. * Wed Jan 11 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-3
  119. - Let there be libnotify-devel...
  120. * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-2
  121. - Actual release of the 0.3.x series
  122. * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-1
  123. - Bump version to not conflict with older libnotify libraries
  124. * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.0.2-1
  125. - inital build