1 Summary: BillReminder - a desktop bill reminder for GNOME
6 Group: X11/Applications
7 Source0: http://billreminder.googlecode.com/files/%{name}-%{version}-1.tar.bz2
8 # Source0-md5: c023fdc33c8eea05d1ff59d282efa431
9 URL: http://billreminder.gnulinuxbrasil.org/
10 BuildRequires: GConf2-devel
11 BuildRequires: gtk+2-devel >= 2:2.12.0
12 BuildRequires: python-devel >= 1:2.5
13 BuildRequires: python-gnome-devel >= 2.6.0
14 BuildRequires: rpmbuild(macros) >= 1.311
15 BuildRequires: scrollkeeper >= 0.3.5
16 BuildRequires: python-gnome-desktop
17 BuildRequires: python-gnome-extras-gtkspell
18 Requires(post,preun): GConf2
19 Requires(post,postun): desktop-file-utils
20 Requires(post,postun): gtk+2
21 Requires(post,postun): hicolor-icon-theme
22 Requires(post,postun): scrollkeeper
23 %pyrequires_eq python-modules
24 Requires: python-gnome-extras-gtkspell
25 Requires: python-gnome-desktop-print
26 Requires: python-gnome-ui >= 2.12.2-2
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 A desktop bill reminder for GNOME.
36 sed -i 's/no_NB//g;s/no/nb/g' po/LINGUAS
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
53 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/billreminder/*.py
54 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/billreminder/daemon/*.py
55 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/billreminder/db/*.py
56 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/billreminder/gui/*.py
57 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/billreminder/gui/widgets/*.py
58 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/billreminder/lib/*.py
59 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/hicolor/20x20
61 %find_lang %{name} --with-gnome
64 rm -rf $RPM_BUILD_ROOT
67 %update_desktop_database_post
68 %update_icon_cache hicolor
71 %update_desktop_database_postun
72 %update_icon_cache hicolor
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS COPYING README TODO
77 %attr(755,root,root) %{_bindir}/billreminder
78 %attr(755,root,root) %{_bindir}/billreminderd
79 /etc/xdg/autostart/billreminderd.desktop
80 %dir %{py_sitescriptdir}/billreminder
81 %{py_sitescriptdir}/billreminder/*.py[co]
82 %dir %{py_sitescriptdir}/billreminder/daemon
83 %{py_sitescriptdir}/billreminder/daemon/*.py[co]
84 %dir %{py_sitescriptdir}/billreminder/db
85 %{py_sitescriptdir}/billreminder/db/*.py[co]
86 %dir %{py_sitescriptdir}/billreminder/gui
87 %{py_sitescriptdir}/billreminder/gui/*.py[co]
88 %dir %{py_sitescriptdir}/billreminder/gui/widgets
89 %{py_sitescriptdir}/billreminder/gui/widgets/*.py[co]
90 %dir %{py_sitescriptdir}/billreminder/lib
91 %{py_sitescriptdir}/billreminder/lib/*.py[co]
92 %{_datadir}/dbus-1/services/billreminder.service
94 %{_desktopdir}/*.desktop
96 %{_iconsdir}/hicolor/*/*/*.png
97 %{_iconsdir}/hicolor/*/*/*.svg
98 %{_pixmapsdir}/billreminder.png