]>
Commit | Line | Data |
---|---|---|
bf39eb26 PZ |
1 | Summary: BillReminder - a desktop bill reminder for GNOME |
2 | Name: billreminder | |
257cdd13 | 3 | Version: 0.3.2 |
45fa46ca | 4 | Release: 3 |
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 | |
13 | BuildRequires: gettext-devel | |
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 | |
bf39eb26 | 19 | BuildRequires: rpmbuild(macros) >= 1.311 |
bf39eb26 PZ |
20 | Requires(post,postun): gtk+2 |
21 | Requires(post,postun): hicolor-icon-theme | |
257cdd13 | 22 | Requires(post,preun): GConf2 |
bf39eb26 | 23 | %pyrequires_eq python-modules |
257cdd13 MB |
24 | Requires: python-dbus |
25 | Requires: python-gnome | |
26 | Requires: python-pygtk-gtk | |
27 | Requires: python-sqlite | |
bf39eb26 PZ |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | A desktop bill reminder for GNOME. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
bf39eb26 PZ |
35 | |
36 | %build | |
37 | %{__intltoolize} | |
38 | %{__aclocal} -I m4 | |
39 | %{__autoconf} | |
40 | %{__automake} | |
257cdd13 | 41 | %configure |
bf39eb26 PZ |
42 | %{__make} |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
bf39eb26 PZ |
50 | rm -rf $RPM_BUILD_ROOT%{_iconsdir}/hicolor/20x20 |
51 | ||
257cdd13 MB |
52 | %py_postclean |
53 | ||
54 | %find_lang %{name} | |
bf39eb26 PZ |
55 | |
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post | |
bf39eb26 | 60 | %update_icon_cache hicolor |
257cdd13 MB |
61 | %gconf_schema_install billreminder.schemas |
62 | ||
63 | %preun | |
64 | %gconf_schema_uninstall billreminder.schemas | |
bf39eb26 PZ |
65 | |
66 | %postun | |
bf39eb26 PZ |
67 | %update_icon_cache hicolor |
68 | ||
69 | %files -f %{name}.lang | |
70 | %defattr(644,root,root,755) | |
71 | %doc AUTHORS COPYING README TODO | |
72 | %attr(755,root,root) %{_bindir}/billreminder | |
73 | %attr(755,root,root) %{_bindir}/billreminderd | |
74 | /etc/xdg/autostart/billreminderd.desktop | |
75 | %dir %{py_sitescriptdir}/billreminder | |
76 | %{py_sitescriptdir}/billreminder/*.py[co] | |
77 | %dir %{py_sitescriptdir}/billreminder/daemon | |
78 | %{py_sitescriptdir}/billreminder/daemon/*.py[co] | |
79 | %dir %{py_sitescriptdir}/billreminder/db | |
80 | %{py_sitescriptdir}/billreminder/db/*.py[co] | |
81 | %dir %{py_sitescriptdir}/billreminder/gui | |
82 | %{py_sitescriptdir}/billreminder/gui/*.py[co] | |
83 | %dir %{py_sitescriptdir}/billreminder/gui/widgets | |
84 | %{py_sitescriptdir}/billreminder/gui/widgets/*.py[co] | |
85 | %dir %{py_sitescriptdir}/billreminder/lib | |
86 | %{py_sitescriptdir}/billreminder/lib/*.py[co] | |
257cdd13 | 87 | %{_sysconfdir}/gconf/schemas/billreminder.schemas |
bf39eb26 PZ |
88 | %{_datadir}/dbus-1/services/billreminder.service |
89 | %{_datadir}/%{name} | |
90 | %{_desktopdir}/*.desktop | |
91 | %{_mandir}/man1/*.1* | |
92 | %{_iconsdir}/hicolor/*/*/*.png | |
93 | %{_iconsdir}/hicolor/*/*/*.svg | |
94 | %{_pixmapsdir}/billreminder.png |