1 |
Name: hamster-applet |
Name: hamster-applet |
2 |
Version: 2.32.1 |
Version: 2.32.1 |
3 |
Release: %mkrel 4 |
Release: %mkrel 5 |
4 |
Summary: Time tracking applet |
Summary: Time tracking applet |
5 |
|
|
6 |
Group: Graphical desktop/GNOME |
Group: Graphical desktop/GNOME |
7 |
License: GPLv3+ |
License: GPLv3+ |
8 |
URL: http://code.google.com/p/projecthamster/ |
URL: http://code.google.com/p/projecthamster/ |
9 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2 |
10 |
|
Patch1: hamster-applet-remove-applet-install.patch |
11 |
BuildRequires: pygtk2.0-devel |
BuildRequires: pygtk2.0-devel |
12 |
BuildRequires: python-sqlite2 |
BuildRequires: python-sqlite2 |
13 |
BuildRequires: gnome-python-devel |
BuildRequires: gnome-python-devel |
|
BuildRequires: gnome-python-applet |
|
14 |
BuildRequires: libxscrnsaver-devel |
BuildRequires: libxscrnsaver-devel |
15 |
BuildRequires: pkgconfig(gnome-keybindings) |
BuildRequires: pkgconfig(gnome-keybindings) |
16 |
BuildRequires: intltool |
BuildRequires: intltool |
17 |
BuildRequires: gnome-doc-utils >= 0.17.3 |
BuildRequires: gnome-doc-utils >= 0.17.3 |
18 |
Requires: pygtk2.0 |
Requires: pygtk2.0 |
19 |
Requires: python-sqlite2 |
Requires: python-sqlite2 |
|
Requires: gnome-python-applet |
|
20 |
Requires: gnome-python-canvas |
Requires: gnome-python-canvas |
21 |
Requires: gnome-python-desktop |
Requires: gnome-python-desktop |
22 |
Requires: gnome-python-gconf |
Requires: gnome-python-gconf |
32 |
|
|
33 |
%prep |
%prep |
34 |
%setup -q |
%setup -q |
35 |
|
%apply_patches |
36 |
|
|
37 |
%build |
%build |
38 |
SYSCONFDIR=%_sysconfdir ./waf --prefix=%_prefix --libdir=%_libdir configure build |
SYSCONFDIR=%_sysconfdir ./waf --prefix=%_prefix --libdir=%_libdir configure build |
49 |
%preun |
%preun |
50 |
%preun_uninstall_gconf_schemas hamster-applet |
%preun_uninstall_gconf_schemas hamster-applet |
51 |
|
|
|
%clean |
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
|
|
|
52 |
%files -f %{name}.lang |
%files -f %{name}.lang |
|
%defattr(-,root,root,-) |
|
53 |
%doc AUTHORS COPYING NEWS README |
%doc AUTHORS COPYING NEWS README |
54 |
%{_sysconfdir}/gconf/schemas/hamster-applet.schemas |
%{_sysconfdir}/gconf/schemas/hamster-applet.schemas |
55 |
%_bindir/gnome-time-tracker |
%_bindir/gnome-time-tracker |
64 |
%_datadir/docky/helpers/* |
%_datadir/docky/helpers/* |
65 |
%_datadir/dbus-1/services/org.gnome.hamster.service |
%_datadir/dbus-1/services/org.gnome.hamster.service |
66 |
%{py_platsitedir}/hamster |
%{py_platsitedir}/hamster |
|
#gw the applet is the reason this is not a noarch package: |
|
|
%{_libdir}/bonobo/servers/Hamster_Applet.server |
|
67 |
%{_libdir}/hamster-applet |
%{_libdir}/hamster-applet |
68 |
%{_datadir}/hamster-applet |
%{_datadir}/hamster-applet |
69 |
%{_datadir}/icons/hicolor/*/apps/hamster-applet.* |
%{_datadir}/icons/hicolor/*/apps/hamster-applet.* |