/[packages]/cauldron/hamster-time-tracker/current/SPECS/hamster-time-tracker.spec
ViewVC logotype

Contents of /cauldron/hamster-time-tracker/current/SPECS/hamster-time-tracker.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 737738 - (show annotations) (download)
Thu Oct 9 15:10:41 2014 UTC (6 years, 11 months ago) by wally
File size: 1463 byte(s)
- require python-pyxdg
1 Name: hamster-time-tracker
2 Version: 1.04
3 Release: %mkrel 6
4 Summary: The linux time tracker
5 License: GPLv+
6 Group: Graphical desktop/GNOME
7 Url: http://projecthamster.wordpress.com
8 Source0: https://github.com/projecthamster/hamster/archive/%{name}-%{version}.tar.gz
9 # Originally from Fedora
10 Patch100: hamster-time-tracker-1.03.3-file-locations.patch
11 Patch101: hamster-time-tracker-1.03.3-service-dbus.patch
12 BuildArch: noarch
13 BuildRequires: intltool
14 BuildRequires: pkgconfig(dbus-glib-1)
15 BuildRequires: gnome-doc-utils
16 Requires: gnome-python-desktop
17 Requires: gnome-python-gconf
18 Requires: python-pyxdg
19
20 Provides: hamster-applet
21 Obsoletes: hamster-applet < 2.91.3-1
22
23 %description
24 The linux time tracker for GNOME v3+.
25
26 %prep
27 %setup -q -n hamster-%{name}-%{version}
28 %patch100 -b .location
29 %patch101 -b .dbus
30
31 # drop shebang
32 sed -ibackup '1d' src/hamster/today.py
33
34 %build
35 %setup_compile_flags
36 ./waf configure build \
37 --prefix=%{_prefix} \
38 --libdir=%{_datadir}
39
40 %install
41 ./waf install \
42 --destdir=%{buildroot}
43
44 %find_lang %{name} --with-gnome
45
46 %preun
47 %preun_uninstall_gconf_schemas %{name}
48
49 %files -f %{name}.lang
50 %doc NEWS MAINTAINERS AUTHORS README*
51 %{_sysconfdir}/bash_completion.d/hamster.bash
52 %{_sysconfdir}/gconf/schemas/hamster-time-tracker.schemas
53 %{_bindir}/hamster*
54 %{_datadir}/applications/hamster-*.desktop
55 %{_datadir}/icons/hicolor/*/apps/%{name}.*
56 %{_datadir}/dbus-1/services/org.gnome.hamster*.service
57 %{_datadir}/%{name}/
58 %{python_sitelib}/hamster/

  ViewVC Help
Powered by ViewVC 1.1.28