/[packages]/cauldron/ajenti/current/SPECS/ajenti.spec
ViewVC logotype

Diff of /cauldron/ajenti/current/SPECS/ajenti.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 660227 by joequant, Mon Aug 4 11:34:09 2014 UTC revision 660228 by joequant, Wed Aug 6 15:42:20 2014 UTC
# Line 1  Line 1 
1  %define name ajenti  %define name ajenti
2  %define version 1.2.22  %define version 1.2.22
3  %define unmangled_version 1.2.22  %define unmangled_version 1.2.22
4  %define release 3  %define release 4
5    
6  Summary: The server administration panel  Summary: The server administration panel
7  Name: %{name}  Name: %{name}
# Line 15  Url: http://ajenti.org/ Line 15  Url: http://ajenti.org/
15  BuildRequires: coffee-script  BuildRequires: coffee-script
16  BuildRequires: nodejs-less  BuildRequires: nodejs-less
17    
18  BuildRequires: python-gevent, python-greenlet, python-lxml, openssl, python-gevent-socketio, python-gevent-websocket, python-psutil >= 0.6.0, python-imaging, python-daemon, python-passlib, python-requests, python-reconfigure >= 0.1.46, python-catcher, python-exconsole >= 0.1.5, python-ldap  BuildRequires: python-gevent
19    BuildRequires: python-greenlet
20    BuildRequires: python-lxml
21    BuildRequires: openssl
22    BuildRequires: python-gevent-socketio
23    BuildRequires: python-gevent-websocket
24    BuildRequires: python-psutil >= 0.6.0
25    BuildRequires: python-imaging
26    BuildRequires: python-daemon
27    BuildRequires: python-passlib
28    BuildRequires: python-requests
29    BuildRequires: python-reconfigure >= 0.1.46
30    BuildRequires: python-catcher
31    BuildRequires: python-exconsole >= 0.1.5
32    BuildRequires: python-ldap
33    
34  # mageia dbus package does not have egg file  # mageia dbus package does not have egg file
35  Requires: python-dbus  Requires: python-dbus
# Line 25  Requires: python-dbus Line 39  Requires: python-dbus
39  Web admin panel  Web admin panel
40    
41  %prep  %prep
42  %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}  %setup -q -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
43  sed -e 's/dbus-python//' -i requirements.txt  sed -e 's/dbus-python//' -i requirements.txt
44    
45  %build  %build
46  make  make
47    
48  %install  %install
49  python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --prefix=/usr  python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --prefix=/usr
50  install -p -D -m 0644 packaging/files/ajenti.service %{buildroot}%{_unitdir}/ajenti.service  install -p -D -m 0644 packaging/files/ajenti.service %{buildroot}%{_unitdir}/ajenti.service
51    rm %{buildroot}/etc/init.d/ajenti
52    rm %{buildroot}%{_localstatedir}/lib/ajenti/plugins/.placeholder
53    
54  %files -f INSTALLED_FILES  %files
55  %config(noreplace) /etc/ajenti/config.json  %config(noreplace) /etc/ajenti/config.json
56  %{_unitdir}/ajenti.service  %{_unitdir}/ajenti.service
57    %{_localstatedir}/lib/ajenti/plugins
58    %{_bindir}/ajenti-panel
59    %{_bindir}/ajenti-ipc
60    %{_bindir}/ajenti-ssl-gen
61    %{python_sitelib}/ajenti
62    %{python_sitelib}/ajenti-*-py?.?.egg-info
63    
64  %post  %post
65  ajenti-ssl-gen `hostname`  ajenti-ssl-gen `hostname`

Legend:
Removed from v.660227  
changed lines
  Added in v.660228

  ViewVC Help
Powered by ViewVC 1.1.28