vigigraph / pkg / vigigraph.mandriva.spec @ 7f07168b
History | View | Annotate | Download (3.42 KB)
1 |
%define module @SHORT_NAME@ |
---|---|
2 |
|
3 |
Name: vigilo-%{module} |
4 |
Summary: @SUMMARY@ |
5 |
Version: @VERSION@ |
6 |
Release: 1%{?svn}%{?dist} |
7 |
Source0: %{name}-%{version}.tar.gz |
8 |
URL: @URL@ |
9 |
Group: System/Servers |
10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
11 |
License: GPLv2 |
12 |
Buildarch: noarch |
13 |
|
14 |
BuildRequires: python-setuptools |
15 |
BuildRequires: python-babel |
16 |
|
17 |
Requires: python >= 2.5 |
18 |
Requires: python-setuptools |
19 |
Requires: vigilo-turbogears |
20 |
Requires: apache-mod_wsgi |
21 |
######### Dependance from python dependance tree ######## |
22 |
Requires: vigilo-vigigraph |
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 |
|
84 |
|
85 |
%description |
86 |
@DESCRIPTION@ |
87 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
88 |
|
89 |
%prep |
90 |
%setup -q |
91 |
|
92 |
%build |
93 |
make PYTHON=%{_bindir}/python SYSCONFDIR=%{_sysconfdir} |
94 |
|
95 |
%install |
96 |
rm -rf $RPM_BUILD_ROOT |
97 |
make install \ |
98 |
DESTDIR=$RPM_BUILD_ROOT \ |
99 |
SYSCONFDIR=%{_sysconfdir} \ |
100 |
PYTHON=%{_bindir}/python |
101 |
|
102 |
%find_lang %{name} |
103 |
|
104 |
|
105 |
%post |
106 |
/sbin/service httpd condrestart > /dev/null 2>&1 || : |
107 |
|
108 |
%clean |
109 |
rm -rf $RPM_BUILD_ROOT |
110 |
|
111 |
%files -f %{name}.lang |
112 |
%defattr(644,root,root,755) |
113 |
%doc COPYING |
114 |
%dir %{_sysconfdir}/vigilo |
115 |
%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 |
%{_sysconfdir}/httpd/conf/webapps.d/%{module}.conf |
121 |
%dir %{_localstatedir}/log/vigilo/ |
122 |
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
123 |
%config(noreplace) %{_sysconfdir}/logrotate.d/%{module} |
124 |
%attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions |
125 |
%{python_sitelib}/* |
126 |
|