]>
Commit | Line | Data |
---|---|---|
bf39eb26 PZ |
1 | Summary: BillReminder - a desktop bill reminder for GNOME |
2 | Name: billreminder | |
257cdd13 | 3 | Version: 0.3.2 |
e8dd2269 | 4 | Release: 5 |
257cdd13 | 5 | License: BSD |
bf39eb26 | 6 | Group: X11/Applications |
257cdd13 MB |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/billreminder/0.3/%{name}-%{version}.tar.bz2 |
8 | # Source0-md5: dddf919af92bc778d823b92f63e50dd9 | |
bf39eb26 PZ |
9 | URL: http://billreminder.gnulinuxbrasil.org/ |
10 | BuildRequires: GConf2-devel | |
257cdd13 MB |
11 | BuildRequires: autoconf >= 2.53 |
12 | BuildRequires: automake >= 1:1.7 | |
d0cfe82c | 13 | BuildRequires: gettext-tools |
257cdd13 MB |
14 | BuildRequires: intltool >= 0.40.0 |
15 | BuildRequires: python-dbus | |
bf39eb26 | 16 | BuildRequires: python-devel >= 1:2.5 |
257cdd13 MB |
17 | BuildRequires: python-pygobject |
18 | BuildRequires: python-sqlite >= 2.3.0 | |
f6f20d80 | 19 | BuildRequires: rpm-pythonprov |
bf39eb26 | 20 | BuildRequires: rpmbuild(macros) >= 1.311 |
e8dd2269 | 21 | Requires(post,postun): gtk-update-icon-cache |
bf39eb26 | 22 | Requires(post,postun): hicolor-icon-theme |
257cdd13 | 23 | Requires(post,preun): GConf2 |
bf39eb26 | 24 | %pyrequires_eq python-modules |
257cdd13 MB |
25 | Requires: python-dbus |
26 | Requires: python-gnome | |
27 | Requires: python-pygtk-gtk | |
28 | Requires: python-sqlite | |
bf39eb26 PZ |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
32 | A desktop bill reminder for GNOME. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
bf39eb26 PZ |
36 | |
37 | %build | |
38 | %{__intltoolize} | |
39 | %{__aclocal} -I m4 | |
40 | %{__autoconf} | |
41 | %{__automake} | |
257cdd13 | 42 | %configure |
bf39eb26 PZ |
43 | %{__make} |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
bf39eb26 PZ |
51 | rm -rf $RPM_BUILD_ROOT%{_iconsdir}/hicolor/20x20 |
52 | ||
257cdd13 MB |
53 | %py_postclean |
54 | ||
55 | %find_lang %{name} | |
bf39eb26 PZ |
56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
bf39eb26 | 61 | %update_icon_cache hicolor |
257cdd13 MB |
62 | %gconf_schema_install billreminder.schemas |
63 | ||
64 | %preun | |
65 | %gconf_schema_uninstall billreminder.schemas | |
bf39eb26 PZ |
66 | |
67 | %postun | |
bf39eb26 PZ |
68 | %update_icon_cache hicolor |
69 | ||
70 | %files -f %{name}.lang | |
71 | %defattr(644,root,root,755) | |
72 | %doc AUTHORS COPYING README TODO | |
73 | %attr(755,root,root) %{_bindir}/billreminder | |
74 | %attr(755,root,root) %{_bindir}/billreminderd | |
75 | /etc/xdg/autostart/billreminderd.desktop | |
76 | %dir %{py_sitescriptdir}/billreminder | |
77 | %{py_sitescriptdir}/billreminder/*.py[co] | |
78 | %dir %{py_sitescriptdir}/billreminder/daemon | |
79 | %{py_sitescriptdir}/billreminder/daemon/*.py[co] | |
80 | %dir %{py_sitescriptdir}/billreminder/db | |
81 | %{py_sitescriptdir}/billreminder/db/*.py[co] | |
82 | %dir %{py_sitescriptdir}/billreminder/gui | |
83 | %{py_sitescriptdir}/billreminder/gui/*.py[co] | |
84 | %dir %{py_sitescriptdir}/billreminder/gui/widgets | |
85 | %{py_sitescriptdir}/billreminder/gui/widgets/*.py[co] | |
86 | %dir %{py_sitescriptdir}/billreminder/lib | |
87 | %{py_sitescriptdir}/billreminder/lib/*.py[co] | |
257cdd13 | 88 | %{_sysconfdir}/gconf/schemas/billreminder.schemas |
bf39eb26 PZ |
89 | %{_datadir}/dbus-1/services/billreminder.service |
90 | %{_datadir}/%{name} | |
91 | %{_desktopdir}/*.desktop | |
92 | %{_mandir}/man1/*.1* | |
93 | %{_iconsdir}/hicolor/*/*/*.png | |
94 | %{_iconsdir}/hicolor/*/*/*.svg | |
95 | %{_pixmapsdir}/billreminder.png |