summaryrefslogtreecommitdiff
path: root/gtimelog.spec
blob: 8acba478983e9189214d52efaea79faebf45280b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Name: 		gtimelog
Version: 	0.2.3
Release:	5%{?dist}
Summary: 	GTimeLog is a graphical (Gtk+) application for keeping track of time.

Group:		Office
License:	GPL
URL:		http://git.collabora.co.uk/?p=gtimelog.git;a=summary
Source0:	gtimelog-0.2.3.tar.gz
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:	python python-setuptools
Requires:	python m2crypto

%description
GTimeLog is a graphical (Gtk+) application for keeping track of time.


%prep
%setup -q


%build
python setup.py build


%install
rm -rf %{buildroot}
python setup.py install --single-version-externally-managed --root=%{buildroot}
mkdir -p %{buildroot}/usr/share/pixmaps
cp src/gtimelog/gtimelog*.png %{buildroot}/usr/share/pixmaps
mkdir -p %{buildroot}/usr/share/applications
cp gtimelog.desktop %{buildroot}/usr/share/applications


%files
%defattr(-,root,root,-)
%doc
/usr/share/applications/gtimelog.desktop
/usr/share/pixmaps/gtimelog.png
/usr/lib/python2.7/site-packages/gtimelog/test_gtimelog.pyc
/usr/lib/python2.7/site-packages/gtimelog/test_gtimelog.py
/usr/lib/python2.7/site-packages/gtimelog/gtimelog.py
/usr/lib/python2.7/site-packages/gtimelog/__init__.py
/usr/lib/python2.7/site-packages/gtimelog/gtimelog.ui
/usr/lib/python2.7/site-packages/gtimelog/gtimelog.pyc
/usr/lib/python2.7/site-packages/gtimelog/__init__.pyc
/usr/lib/python2.7/site-packages/gtimelog/gtimelog.png
/usr/lib/python2.7/site-packages/gtimelog-0.2.3-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/gtimelog-0.2.3-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/gtimelog-0.2.3-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/gtimelog-0.2.3-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/gtimelog-0.2.3-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/gtimelog-0.2.3-py2.7.egg-info/PKG-INFO
/usr/bin/gtimelog


%clean
rm -rf %{buildroot}

%changelog