source: projects/specs/trunk/x/xfce4-notifyd/xfce4-notifyd-vl.spec @ 6299

Revision 6299, 2.6 KB checked in by Takemikaduchi, 12 years ago (diff)

libburn, libisofs, xorg-x11-drv-ati: new upstream release
others: new package

Line 
1Name:           xfce4-notifyd
2Summary:        Notification daemon for Xfce
3Summary(ja):    Xfce 用 notification daemon
4Version:        0.2.2
5Release:        1%{?_dist_release}
6
7License:        GPLv2+
8Group:          User Interface/Desktops
9URL:            http://goodies.xfce.org/projects/applications/%{name}
10
11Source0:        http://archive.xfce.org/src/apps/%{name}/0.2/%{name}-%{version}.tar.bz2
12
13BuildRoot:     %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: desktop-file-utils
16BuildRequires: libxfce4util-devel >= 4.4.0
17BuildRequires: libxfce4ui-devel >= 4.7.0
18BuildRequires: xfconf-devel >= 0.1
19BuildRequires: gtk2-devel >= 2.14.0
20BuildRequires: dbus-glib-devel >= 0.72
21BuildRequires: libnotify-devel >= 0.4.4
22
23Requires(post,postun):  desktop-file-utils
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       Takemikaduchi
28
29
30%description
31The Xfce Notify Daemon (xfce4-notifyd for short) is a smallish program that
32implements the "server-side" portion of the Freedesktop desktop notifications
33specification.  Applications that wish to pop up a notification bubble in
34a standard way can implicitly make use of xfce4-notifyd to do so by
35sending standard messages over D-Bus using the org.freedesktop.Notifications
36interface.
37
38
39%prep
40%setup -q
41
42%build
43%configure --disable-static
44make %{?_smp_mflags}
45
46
47%install
48rm -rf $RPM_BUILD_ROOT
49make install DESTDIR=$RPM_BUILD_ROOT
50
51find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
52
53desktop-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
62rm -rf $RPM_BUILD_ROOT
63
64
65%post
66touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
67gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
68update-desktop-database %{_datadir}/applications &> /dev/null || :
69
70%postun
71if [ $1 -eq 0 ]; then
72    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
73    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
74fi
75update-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
92* Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
93- initial build for Vine Linux
94
Note: See TracBrowser for help on using the repository browser.