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