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