]>
Commit | Line | Data |
---|---|---|
7fb67c5a ER |
1 | Summary: Bacula web administration written in Pyramid |
2 | Name: almir | |
3 | Version: 0.1.3 | |
4 | Release: 0.1 | |
5 | License: GPL v3 | |
6 | Group: Applications/WWW | |
7 | Source0: https://github.com/iElectric/almir/archive/%{version}.tar.gz?/%{name}-%{version}.tgz | |
8 | # Source0-md5: 7c272ef13c4565b463cddd56a2fe178e | |
9 | URL: https://almir.readthedocs.org/ | |
10 | BuildRequires: rpm-pythonprov | |
a4c39d0c | 11 | BuildRequires: rpmbuild(macros) >= 1.710 |
7fb67c5a ER |
12 | Requires: pythonegg(colander) |
13 | Requires: pythonegg(deform) | |
14 | Requires: pythonegg(deform-bootstrap) | |
15 | Requires: pythonegg(docutils) | |
16 | Requires: pythonegg(mysql-connector-repackaged) | |
17 | Requires: pythonegg(pg8000) | |
18 | Requires: pythonegg(pyramid) | |
19 | Requires: pythonegg(pyramid-beaker) | |
20 | Requires: pythonegg(pyramid-exclog) | |
21 | Requires: pythonegg(pyramid-jinja2) | |
22 | Requires: pythonegg(pyramid-tm) | |
23 | Requires: pythonegg(pytz) | |
24 | Requires: pythonegg(sqlalchemy) | |
25 | Requires: pythonegg(transaction) | |
26 | Requires: pythonegg(waitress) | |
27 | Requires: pythonegg(webhelpers) | |
28 | Requires: pythonegg(zope.sqlalchemy) | |
29 | BuildArch: noarch | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | Almir is a bacula web interface for administrators written in Python. | |
34 | It is designed with simplicity in mind, although backup management is | |
35 | never simple. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
91f484eb | 41 | %py_build |
7fb67c5a ER |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
91f484eb | 45 | %py_install |
7fb67c5a ER |
46 | |
47 | %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/almir/tests | |
48 | ||
49 | %py_postclean | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %attr(755,root,root) %{_bindir}/almir_parse_console_commands | |
57 | %{py_sitescriptdir}/almir | |
58 | %{py_sitescriptdir}/almir-%{version}-py*.egg-info |