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