vigiboard / pkg / vigiboard.redhat.spec @ 9576ea58
History | View | Annotate | Download (4.01 KB)
1 | 207b24cd | Aurelien BOMPARD | %define module vigiboard |
---|---|---|---|
2 | %define name vigilo-%{module} |
||
3 | %define version 2.0.0 |
||
4 | %define release 1%{?svn}%{?dist} |
||
5 | |||
6 | %define pyver 26 |
||
7 | %define pybasever 2.6 |
||
8 | %define __python /usr/bin/python%{pybasever} |
||
9 | %define __os_install_post %{__python26_os_install_post} |
||
10 | %{!?python26_sitelib: %define python26_sitelib %(python26 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
||
11 | |||
12 | Name: %{name} |
||
13 | Summary: Vigilo event board |
||
14 | Version: %{version} |
||
15 | Release: %{release} |
||
16 | 9576ea58 | Aurelien BOMPARD | Source0: %{module}-%{version}.tar.gz |
17 | 207b24cd | Aurelien BOMPARD | URL: http://www.projet-vigilo.org |
18 | Group: System/Servers |
||
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
||
20 | License: GPLv2 |
||
21 | Buildarch: noarch |
||
22 | |||
23 | BuildRequires: python26-distribute |
||
24 | BuildRequires: python26-babel |
||
25 | |||
26 | Requires: python26-distribute |
||
27 | Requires: vigilo-turbogears |
||
28 | Requires: python26-tw.forms |
||
29 | Requires: apache-mod_wsgi |
||
30 | ######### Dependance from python dependance tree ######## |
||
31 | Requires: vigilo-vigiboard |
||
32 | Requires: vigilo-common |
||
33 | Requires: vigilo-models |
||
34 | Requires: vigilo-themes-default |
||
35 | Requires: vigilo-turbogears |
||
36 | Requires: python26-addons |
||
37 | Requires: python26-babel |
||
38 | Requires: python26-beaker |
||
39 | Requires: python26-bytecodeassembler |
||
40 | Requires: python26-configobj |
||
41 | Requires: python26-decorator |
||
42 | Requires: python26-decoratortools |
||
43 | Requires: python26-EggTranslations |
||
44 | Requires: python26-extremes |
||
45 | Requires: python26-formencode |
||
46 | Requires: python26-genshi |
||
47 | Requires: python26-mako |
||
48 | Requires: python26-nose |
||
49 | Requires: python26-paste |
||
50 | Requires: python26-pastedeploy |
||
51 | Requires: python26-pastescript |
||
52 | Requires: python26-peak-rules |
||
53 | Requires: python26-prioritized_methods |
||
54 | Requires: python26-psycopg2 |
||
55 | Requires: python26-pygments |
||
56 | Requires: python26-pylons |
||
57 | Requires: python26-dateutil |
||
58 | Requires: python26-repoze.tm2 |
||
59 | Requires: python26-repoze.what |
||
60 | Requires: python26-repoze.what.plugins.sql |
||
61 | Requires: python26-repoze.what-pylons |
||
62 | Requires: python26-repoze.what-quickstart |
||
63 | Requires: python26-repoze.who |
||
64 | Requires: python26-repoze.who-friendlyform |
||
65 | Requires: python26-repoze.who.plugins.sa |
||
66 | Requires: python26-repoze.who-testutil |
||
67 | Requires: python26-routes |
||
68 | Requires: python26-rum |
||
69 | Requires: python26-RumAlchemy |
||
70 | Requires: python26-distribute |
||
71 | Requires: python26-simplejson |
||
72 | Requires: python26-sqlalchemy |
||
73 | Requires: python26-sqlalchemy-migrate |
||
74 | Requires: python26-symboltype |
||
75 | Requires: python26-tempita |
||
76 | Requires: python26-tg.devtools |
||
77 | Requires: python26-TgRum |
||
78 | Requires: python26-toscawidgets |
||
79 | Requires: python26-transaction |
||
80 | Requires: python26-turbogears2 |
||
81 | Requires: python26-turbojson |
||
82 | Requires: python26-tw.dojo |
||
83 | Requires: python26-tw.forms |
||
84 | Requires: python26-tw.rum |
||
85 | Requires: python26-weberror |
||
86 | Requires: python26-webflash |
||
87 | Requires: python26-webhelpers |
||
88 | Requires: python26-webob |
||
89 | Requires: python26-webtest |
||
90 | Requires: python26-zope-interface |
||
91 | Requires: python26-zope.sqlalchemy |
||
92 | |||
93 | # Renommage |
||
94 | Obsoletes: vigiboard < 1.0-1 |
||
95 | Provides: vigiboard = %{version}-%{release} |
||
96 | |||
97 | |||
98 | %description |
||
99 | Vigilo event board. |
||
100 | This application is part of the Vigilo Project <http://vigilo-project.org> |
||
101 | |||
102 | %prep |
||
103 | 9576ea58 | Aurelien BOMPARD | %setup -q -n %{module}-%{version} |
104 | 207b24cd | Aurelien BOMPARD | |
105 | %build |
||
106 | make PYTHON=%{__python} SYSCONFDIR=%{_sysconfdir} |
||
107 | |||
108 | %install |
||
109 | rm -rf $RPM_BUILD_ROOT |
||
110 | make install_files \ |
||
111 | DESTDIR=$RPM_BUILD_ROOT \ |
||
112 | SYSCONFDIR=%{_sysconfdir} \ |
||
113 | PYTHON=%{__python} |
||
114 | |||
115 | 44c09396 | Aurelien BOMPARD | # %find_lang %{name} # ne fonctionne qu'avec les fichiers dans /usr/share/locale/ |
116 | 207b24cd | Aurelien BOMPARD | |
117 | |||
118 | %clean |
||
119 | rm -rf $RPM_BUILD_ROOT |
||
120 | |||
121 | 44c09396 | Aurelien BOMPARD | %files |
122 | 207b24cd | Aurelien BOMPARD | %defattr(-,root,root) |
123 | %doc COPYING |
||
124 | %dir %{_sysconfdir}/vigilo |
||
125 | 399a25e1 | Aurelien BOMPARD | %dir %{_sysconfdir}/vigilo/%{module} |
126 | %config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.conf |
||
127 | %config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.py |
||
128 | %config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.ini |
||
129 | %config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.wsgi |
||
130 | %ghost %{_sysconfdir}/vigilo/%{module}/*.pyo |
||
131 | %ghost %{_sysconfdir}/vigilo/%{module}/*.pyc |
||
132 | 99e0b4c0 | Aurelien BOMPARD | %{_sysconfdir}/httpd/conf.d/%{module}.conf |
133 | 207b24cd | Aurelien BOMPARD | %dir %{_localstatedir}/log/vigilo/ |
134 | %attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
||
135 | %attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions |
||
136 | %{python26_sitelib}/* |