forked from ronys/pypwsafe
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpypwsafe.spec
81 lines (62 loc) · 1.97 KB
/
pypwsafe.spec
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Name: pypwsafe
Summary: A Python library program for reading Password Safe files.
Group: Applications/Internet
License: GPLv2
URL: https://github.com/ronys/pypwsafe
Source0: %{name}-%{version}-%{release}.tgz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: %{name}-lib = %{version}-%{release}
%package lib
Summary: A Python library for reading and writing Password Safe files.
Group: Development/Libraries
Requires: python-mcrypt
Requires: python >= 2.4
%package webui
Summary: A Django-based web UI and RPC layer for interacting with one or more Password Safe files.
Group: Applications/Internet
Requires: Django >= 1.3
Requires: python-mcrypt
Requires: python >= 2.4
# Not avail as RPMs yet
#Requires: django-dajax
#Requires: django-dajaxice
#Requires: django-rpc4django
%description
FIXME
%description webui
FIXME
%description lib
FIXME
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
/usr/bin/python setup.py install --root=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc
/usr/bin/psafedump
%files lib
%dir /usr/lib/python2.6/site-packages/pypwsafe/
/usr/lib/python2.6/site-packages/pypwsafe/__init__.py*
/usr/lib/python2.6/site-packages/pypwsafe/consts.py*
/usr/lib/python2.6/site-packages/pypwsafe/errors.py*
/usr/lib/python2.6/site-packages/pypwsafe/PWSafeV3Headers.py*
/usr/lib/python2.6/site-packages/pypwsafe/PWSafeV3Records.py*
%exclude /usr/lib/python2.6/site-packages/python_pypwsafe-*-py2.6.egg-info
%files webui
/usr/lib/python2.6/site-packages/psafefe/*.py*
/usr/lib/python2.6/site-packages/psafefe/pws/*.py*
/usr/lib/python2.6/site-packages/psafefe/pws/rpc/*.py*
/usr/lib/python2.6/site-packages/psafefe/pws/tasks/*.py*
/usr/share/psafefe/media/README
/usr/share/psafefe/static/base.css
%exclude /usr/share/psafefe/static/.gitignore
/usr/share/psafefe/templates/*html
/usr/share/psafefe/templates/registration/*html
%changelog
* Wed Jul 18 2012 Paulson McIntyre <paul@gpmidi.net> - 0.0-0
- Initial version