vigiboard / pkg / vigiboard.mandriva.spec @ 4f18c871
History | View | Annotate | Download (3.54 KB)
1 |
%define module @SHORT_NAME@ |
---|---|
2 |
|
3 |
Name: vigilo-%{module} |
4 |
Summary: @SUMMARY@ |
5 |
Version: @VERSION@ |
6 |
Release: @RELEASE@%{?dist} |
7 |
Source0: %{name}-%{version}.tar.gz |
8 |
URL: @URL@ |
9 |
Group: Applications/System |
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: python-tw.forms |
21 |
Requires: apache-mod_wsgi |
22 |
######### 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 |
|
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 |
|
94 |
%install |
95 |
rm -rf $RPM_BUILD_ROOT |
96 |
make install_pkg \ |
97 |
DESTDIR=$RPM_BUILD_ROOT \ |
98 |
SYSCONFDIR=%{_sysconfdir} \ |
99 |
LOCALSTATEDIR=%{_localstatedir} \ |
100 |
PYTHON=%{__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.txt README.txt |
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 |
%config(noreplace) %{_sysconfdir}/httpd/conf/webapps.d/%{name}.conf |
121 |
%dir %{_localstatedir}/log/vigilo/ |
122 |
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
123 |
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} |
124 |
%attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions |
125 |
%{python_sitelib}/* |
126 |
%attr(755,root,root) %{_sysconfdir}/cron.daily/* |
127 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
128 |
|