vigigraph / pkg / vigigraph.mandriva.spec @ fcb3e39b
History | View | Annotate | Download (3.39 KB)
1 | 6a0204a8 | Aurelien BOMPARD | %define module @SHORT_NAME@ |
---|---|---|---|
2 | e0593934 | Aurelien BOMPARD | |
3 | 6a0204a8 | Aurelien BOMPARD | Name: vigilo-%{module} |
4 | Summary: @SUMMARY@ |
||
5 | Version: @VERSION@ |
||
6 | 3104ae2b | Aurelien BOMPARD | Release: @RELEASE@%{?dist} |
7 | 7f07168b | Aurelien BOMPARD | Source0: %{name}-%{version}.tar.gz |
8 | 6a0204a8 | Aurelien BOMPARD | URL: @URL@ |
9 | e0593934 | Aurelien BOMPARD | Group: System/Servers |
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
||
11 | License: GPLv2 |
||
12 | 6a0204a8 | Aurelien BOMPARD | Buildarch: noarch |
13 | e0593934 | Aurelien BOMPARD | |
14 | BuildRequires: python-setuptools |
||
15 | BuildRequires: python-babel |
||
16 | |||
17 | Requires: python >= 2.5 |
||
18 | Requires: python-setuptools |
||
19 | Requires: vigilo-turbogears |
||
20 | d75a1b31 | Francois POIROTTE | Requires: apache-mod_wsgi |
21 | 5196c472 | Thomas BURGUIERE | ######### Dependance from python dependance tree ######## |
22 | Requires: vigilo-common |
||
23 | d1ea2257 | Thomas BURGUIERE | Requires: vigilo-models |
24 | Requires: vigilo-themes-default |
||
25 | 5196c472 | Thomas BURGUIERE | Requires: vigilo-turbogears |
26 | Requires: python-addons |
||
27 | Requires: python-babel |
||
28 | Requires: python-beaker |
||
29 | Requires: python-bytecodeassembler |
||
30 | Requires: python-configobj |
||
31 | d1ea2257 | Thomas BURGUIERE | Requires: python-decorator |
32 | 5196c472 | Thomas BURGUIERE | Requires: python-decoratortools |
33 | Requires: python-EggTranslations |
||
34 | Requires: python-extremes |
||
35 | Requires: python-formencode |
||
36 | Requires: python-genshi |
||
37 | Requires: python-mako |
||
38 | Requires: python-nose |
||
39 | d1ea2257 | Thomas BURGUIERE | Requires: python-paste |
40 | Requires: python-pastedeploy |
||
41 | Requires: python-pastescript |
||
42 | Requires: python-peak-rules |
||
43 | 5196c472 | Thomas BURGUIERE | Requires: python-prioritized_methods |
44 | d1ea2257 | Thomas BURGUIERE | Requires: python-psycopg2 |
45 | 5196c472 | Thomas BURGUIERE | Requires: python-pygments |
46 | d1ea2257 | Thomas BURGUIERE | Requires: python-pylons |
47 | 5196c472 | Thomas BURGUIERE | Requires: python-dateutil |
48 | Requires: python-repoze.tm2 |
||
49 | Requires: python-repoze.what |
||
50 | Requires: python-repoze.what.plugins.sql |
||
51 | Requires: python-repoze.what-pylons |
||
52 | Requires: python-repoze.what-quickstart |
||
53 | d1ea2257 | Thomas BURGUIERE | Requires: python-repoze.who |
54 | Requires: python-repoze.who-friendlyform |
||
55 | Requires: python-repoze.who.plugins.sa |
||
56 | Requires: python-repoze.who-testutil |
||
57 | 5196c472 | Thomas BURGUIERE | Requires: python-routes |
58 | Requires: python-rum |
||
59 | Requires: python-RumAlchemy |
||
60 | Requires: python-setuptools |
||
61 | Requires: python-simplejson |
||
62 | Requires: python-sqlalchemy |
||
63 | Requires: python-sqlalchemy-migrate |
||
64 | d1ea2257 | Thomas BURGUIERE | Requires: python-symboltype |
65 | 5196c472 | Thomas BURGUIERE | Requires: python-tempita |
66 | Requires: python-tg.devtools |
||
67 | Requires: python-TgRum |
||
68 | Requires: python-toscawidgets |
||
69 | Requires: python-transaction |
||
70 | Requires: python-turbogears2 |
||
71 | Requires: python-turbojson |
||
72 | Requires: python-tw.dojo |
||
73 | Requires: python-tw.forms |
||
74 | Requires: python-tw.rum |
||
75 | Requires: python-weberror |
||
76 | Requires: python-webflash |
||
77 | Requires: python-webhelpers |
||
78 | Requires: python-webob |
||
79 | Requires: python-webtest |
||
80 | Requires: python-zope-interface |
||
81 | Requires: python-zope.sqlalchemy |
||
82 | e0593934 | Aurelien BOMPARD | |
83 | |||
84 | %description |
||
85 | 6a0204a8 | Aurelien BOMPARD | @DESCRIPTION@ |
86 | e0593934 | Aurelien BOMPARD | This application is part of the Vigilo Project <http://vigilo-project.org> |
87 | |||
88 | %prep |
||
89 | 7f07168b | Aurelien BOMPARD | %setup -q |
90 | e0593934 | Aurelien BOMPARD | |
91 | %build |
||
92 | |||
93 | %install |
||
94 | rm -rf $RPM_BUILD_ROOT |
||
95 | 3ba7282b | Aurelien BOMPARD | make install_pkg \ |
96 | e0593934 | Aurelien BOMPARD | DESTDIR=$RPM_BUILD_ROOT \ |
97 | SYSCONFDIR=%{_sysconfdir} \ |
||
98 | 9996920f | Aurelien BOMPARD | LOCALSTATEDIR=%{_localstatedir} \ |
99 | 3ba7282b | Aurelien BOMPARD | PYTHON=%{__python} |
100 | e0593934 | Aurelien BOMPARD | |
101 | %find_lang %{name} |
||
102 | |||
103 | |||
104 | d100c09e | Aurelien BOMPARD | %post |
105 | /sbin/service httpd condrestart > /dev/null 2>&1 || : |
||
106 | |||
107 | e0593934 | Aurelien BOMPARD | %clean |
108 | rm -rf $RPM_BUILD_ROOT |
||
109 | |||
110 | %files -f %{name}.lang |
||
111 | 6bc71ab2 | Aurelien BOMPARD | %defattr(644,root,root,755) |
112 | db524ae0 | Aurelien BOMPARD | %doc COPYING.txt README.txt |
113 | e0593934 | Aurelien BOMPARD | %dir %{_sysconfdir}/vigilo |
114 | 53bdf40e | Aurelien BOMPARD | %dir %{_sysconfdir}/vigilo/%{module} |
115 | %config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.conf |
||
116 | %config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.py |
||
117 | %config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.wsgi |
||
118 | %config(noreplace) %attr(640,root,apache) %{_sysconfdir}/vigilo/%{module}/*.ini |
||
119 | 9996920f | Aurelien BOMPARD | %config(noreplace) /etc/httpd/conf/webapps.d/%{module}.conf |
120 | 76ba3217 | Aurelien BOMPARD | %dir %{_localstatedir}/log/vigilo/ |
121 | %attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
||
122 | 9996920f | Aurelien BOMPARD | %config(noreplace) /etc/logrotate.d/%{module} |
123 | bb3d9eb7 | Aurelien BOMPARD | %attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions |
124 | e0593934 | Aurelien BOMPARD | %{python_sitelib}/* |