[6299] | 1 | Name: xfce4-notifyd |
---|
| 2 | Summary: Notification daemon for Xfce |
---|
| 3 | Summary(ja): Xfce 用 notification daemon |
---|
| 4 | Version: 0.2.2 |
---|
[8073] | 5 | Release: 2%{?_dist_release} |
---|
[6299] | 6 | |
---|
| 7 | License: GPLv2+ |
---|
| 8 | Group: User Interface/Desktops |
---|
| 9 | URL: http://goodies.xfce.org/projects/applications/%{name} |
---|
| 10 | |
---|
| 11 | Source0: http://archive.xfce.org/src/apps/%{name}/0.2/%{name}-%{version}.tar.bz2 |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: desktop-file-utils |
---|
| 16 | BuildRequires: libxfce4util-devel >= 4.4.0 |
---|
| 17 | BuildRequires: libxfce4ui-devel >= 4.7.0 |
---|
| 18 | BuildRequires: xfconf-devel >= 0.1 |
---|
| 19 | BuildRequires: gtk2-devel >= 2.14.0 |
---|
| 20 | BuildRequires: dbus-glib-devel >= 0.72 |
---|
| 21 | BuildRequires: libnotify-devel >= 0.4.4 |
---|
| 22 | |
---|
| 23 | Requires(post,postun): desktop-file-utils |
---|
| 24 | |
---|
| 25 | Vendor: Project Vine |
---|
| 26 | Distribution: Vine Linux |
---|
| 27 | Packager: Takemikaduchi |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %description |
---|
| 31 | The Xfce Notify Daemon (xfce4-notifyd for short) is a smallish program that |
---|
| 32 | implements the "server-side" portion of the Freedesktop desktop notifications |
---|
| 33 | specification. Applications that wish to pop up a notification bubble in |
---|
| 34 | a standard way can implicitly make use of xfce4-notifyd to do so by |
---|
| 35 | sending standard messages over D-Bus using the org.freedesktop.Notifications |
---|
| 36 | interface. |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %prep |
---|
| 40 | %setup -q |
---|
| 41 | |
---|
| 42 | %build |
---|
| 43 | %configure --disable-static |
---|
| 44 | make %{?_smp_mflags} |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %install |
---|
| 48 | rm -rf $RPM_BUILD_ROOT |
---|
| 49 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 50 | |
---|
| 51 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 52 | |
---|
| 53 | desktop-file-install \ |
---|
| 54 | --add-category="X-XFCE" \ |
---|
| 55 | --delete-original \ |
---|
| 56 | --dir=%{buildroot}%{_datadir}/applications \ |
---|
| 57 | ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-notifyd-config.desktop |
---|
| 58 | |
---|
| 59 | %find_lang %{name} |
---|
| 60 | |
---|
| 61 | %clean |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %post |
---|
| 66 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 67 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 68 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 69 | |
---|
| 70 | %postun |
---|
| 71 | if [ $1 -eq 0 ]; then |
---|
| 72 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 73 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 74 | fi |
---|
| 75 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %files -f %{name}.lang |
---|
| 79 | %defattr(-,root,root,-) |
---|
| 80 | %doc AUTHORS ChangeLog NEWS TODO COPYING |
---|
| 81 | %{_bindir}/%{name}-config |
---|
| 82 | %{_libdir}/xfce4/notifyd/%{name} |
---|
| 83 | %{_datadir}/applications/%{name}-config.desktop |
---|
| 84 | %{_datadir}/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service |
---|
| 85 | %{_datadir}/icons/hicolor/*/apps/* |
---|
| 86 | %{_datadir}/themes/Default/xfce-notify-4.0 |
---|
| 87 | %{_datadir}/themes/Smoke/xfce-notify-4.0 |
---|
| 88 | %{_datadir}/themes/ZOMG-PONIES!/xfce-notify-4.0 |
---|
| 89 | %{_mandir}/man1/xfce4-notifyd-config.1.gz |
---|
| 90 | |
---|
| 91 | %changelog |
---|
[8073] | 92 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2 |
---|
| 93 | - rebuild with VineSeed environment |
---|
| 94 | |
---|
[6299] | 95 | * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1 |
---|
| 96 | - initial build for Vine Linux |
---|
| 97 | |
---|