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