Revision 4d29c14a
modification pour avoir 2 distributions cible (mandriva, redhat)
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@4084 b22e2e97-25c9-44ff-b637-2e5ceca36478
pkg/vigiboard.mandriva.spec | ||
---|---|---|
1 |
%define module vigiboard |
|
2 |
%define name vigilo-%{module} |
|
3 |
%define version 2.0.0 |
|
4 |
%define release 1%{?svn} |
|
5 |
|
|
6 |
Name: %{name} |
|
7 |
Summary: Vigilo event board |
|
8 |
Version: %{version} |
|
9 |
Release: %{release} |
|
10 |
Source0: %{module}.tar.bz2 |
|
11 |
URL: http://www.projet-vigilo.org |
|
12 |
Group: System/Servers |
|
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
|
14 |
License: GPLv2 |
|
15 |
|
|
16 |
BuildRequires: python-setuptools |
|
17 |
BuildRequires: python-babel |
|
18 |
|
|
19 |
Requires: python >= 2.5 |
|
20 |
Requires: python-setuptools |
|
21 |
Requires: vigilo-turbogears |
|
22 |
Requires: python-tw.forms |
|
23 |
Requires: apache-mod_wsgi |
|
24 |
######### Dependance from python dependance tree ######## |
|
25 |
Requires: vigilo-vigiboard |
|
26 |
Requires: vigilo-common |
|
27 |
Requires: vigilo-models |
|
28 |
Requires: vigilo-themes-default |
|
29 |
Requires: vigilo-turbogears |
|
30 |
Requires: python-addons |
|
31 |
Requires: python-babel |
|
32 |
Requires: python-beaker |
|
33 |
Requires: python-bytecodeassembler |
|
34 |
Requires: python-configobj |
|
35 |
Requires: python-decorator |
|
36 |
Requires: python-decoratortools |
|
37 |
Requires: python-EggTranslations |
|
38 |
Requires: python-extremes |
|
39 |
Requires: python-formencode |
|
40 |
Requires: python-genshi |
|
41 |
Requires: python-mako |
|
42 |
Requires: python-nose |
|
43 |
Requires: python-paste |
|
44 |
Requires: python-pastedeploy |
|
45 |
Requires: python-pastescript |
|
46 |
Requires: python-peak-rules |
|
47 |
Requires: python-prioritized_methods |
|
48 |
Requires: python-psycopg2 |
|
49 |
Requires: python-pygments |
|
50 |
Requires: python-pylons |
|
51 |
Requires: python-dateutil |
|
52 |
Requires: python-repoze.tm2 |
|
53 |
Requires: python-repoze.what |
|
54 |
Requires: python-repoze.what.plugins.sql |
|
55 |
Requires: python-repoze.what-pylons |
|
56 |
Requires: python-repoze.what-quickstart |
|
57 |
Requires: python-repoze.who |
|
58 |
Requires: python-repoze.who-friendlyform |
|
59 |
Requires: python-repoze.who.plugins.sa |
|
60 |
Requires: python-repoze.who-testutil |
|
61 |
Requires: python-routes |
|
62 |
Requires: python-rum |
|
63 |
Requires: python-RumAlchemy |
|
64 |
Requires: python-setuptools |
|
65 |
Requires: python-simplejson |
|
66 |
Requires: python-sqlalchemy |
|
67 |
Requires: python-sqlalchemy-migrate |
|
68 |
Requires: python-symboltype |
|
69 |
Requires: python-tempita |
|
70 |
Requires: python-tg.devtools |
|
71 |
Requires: python-TgRum |
|
72 |
Requires: python-toscawidgets |
|
73 |
Requires: python-transaction |
|
74 |
Requires: python-turbogears2 |
|
75 |
Requires: python-turbojson |
|
76 |
Requires: python-tw.dojo |
|
77 |
Requires: python-tw.forms |
|
78 |
Requires: python-tw.rum |
|
79 |
Requires: python-weberror |
|
80 |
Requires: python-webflash |
|
81 |
Requires: python-webhelpers |
|
82 |
Requires: python-webob |
|
83 |
Requires: python-webtest |
|
84 |
Requires: python-zope-interface |
|
85 |
Requires: python-zope.sqlalchemy |
|
86 |
|
|
87 |
Buildarch: noarch |
|
88 |
|
|
89 |
# Renommage |
|
90 |
Obsoletes: vigiboard < 1.0-1 |
|
91 |
Provides: vigiboard = %{version}-%{release} |
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
%description |
|
96 |
Vigilo event board. |
|
97 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
|
98 |
|
|
99 |
%prep |
|
100 |
%setup -q -n %{module} |
|
101 |
|
|
102 |
%build |
|
103 |
make PYTHON=%{_bindir}/python SYSCONFDIR=%{_sysconfdir} |
|
104 |
|
|
105 |
%install |
|
106 |
rm -rf $RPM_BUILD_ROOT |
|
107 |
make install \ |
|
108 |
DESTDIR=$RPM_BUILD_ROOT \ |
|
109 |
SYSCONFDIR=%{_sysconfdir} \ |
|
110 |
PYTHON=%{_bindir}/python |
|
111 |
|
|
112 |
%find_lang %{name} |
|
113 |
|
|
114 |
|
|
115 |
%clean |
|
116 |
rm -rf $RPM_BUILD_ROOT |
|
117 |
|
|
118 |
%files -f %{name}.lang |
|
119 |
%defattr(-,root,root) |
|
120 |
%doc COPYING |
|
121 |
%dir %{_sysconfdir}/vigilo |
|
122 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module} |
|
123 |
%{_sysconfdir}/httpd/conf/webapps.d/%{module}.conf |
|
124 |
%dir %{_localstatedir}/log/vigilo/ |
|
125 |
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
|
126 |
%{python_sitelib}/* |
|
127 |
|
pkg/vigiboard.mdv.spec | ||
---|---|---|
1 |
%define module vigiboard |
|
2 |
%define name vigilo-%{module} |
|
3 |
%define version 2.0.0 |
|
4 |
%define release 1%{?svn} |
|
5 |
|
|
6 |
Name: %{name} |
|
7 |
Summary: Vigilo event board |
|
8 |
Version: %{version} |
|
9 |
Release: %{release} |
|
10 |
Source0: %{module}.tar.bz2 |
|
11 |
URL: http://www.projet-vigilo.org |
|
12 |
Group: System/Servers |
|
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
|
14 |
License: GPLv2 |
|
15 |
|
|
16 |
BuildRequires: python-setuptools |
|
17 |
BuildRequires: python-babel |
|
18 |
|
|
19 |
Requires: python >= 2.5 |
|
20 |
Requires: python-setuptools |
|
21 |
Requires: vigilo-turbogears |
|
22 |
Requires: python-tw.forms |
|
23 |
Requires: apache-mod_wsgi |
|
24 |
######### Dependance from python dependance tree ######## |
|
25 |
Requires: vigilo-vigiboard |
|
26 |
Requires: vigilo-common |
|
27 |
Requires: vigilo-models |
|
28 |
Requires: vigilo-themes-default |
|
29 |
Requires: vigilo-turbogears |
|
30 |
Requires: python-addons |
|
31 |
Requires: python-babel |
|
32 |
Requires: python-beaker |
|
33 |
Requires: python-bytecodeassembler |
|
34 |
Requires: python-configobj |
|
35 |
Requires: python-decorator |
|
36 |
Requires: python-decoratortools |
|
37 |
Requires: python-EggTranslations |
|
38 |
Requires: python-extremes |
|
39 |
Requires: python-formencode |
|
40 |
Requires: python-genshi |
|
41 |
Requires: python-mako |
|
42 |
Requires: python-nose |
|
43 |
Requires: python-paste |
|
44 |
Requires: python-pastedeploy |
|
45 |
Requires: python-pastescript |
|
46 |
Requires: python-peak-rules |
|
47 |
Requires: python-prioritized_methods |
|
48 |
Requires: python-psycopg2 |
|
49 |
Requires: python-pygments |
|
50 |
Requires: python-pylons |
|
51 |
Requires: python-dateutil |
|
52 |
Requires: python-repoze.tm2 |
|
53 |
Requires: python-repoze.what |
|
54 |
Requires: python-repoze.what.plugins.sql |
|
55 |
Requires: python-repoze.what-pylons |
|
56 |
Requires: python-repoze.what-quickstart |
|
57 |
Requires: python-repoze.who |
|
58 |
Requires: python-repoze.who-friendlyform |
|
59 |
Requires: python-repoze.who.plugins.sa |
|
60 |
Requires: python-repoze.who-testutil |
|
61 |
Requires: python-routes |
|
62 |
Requires: python-rum |
|
63 |
Requires: python-RumAlchemy |
|
64 |
Requires: python-setuptools |
|
65 |
Requires: python-simplejson |
|
66 |
Requires: python-sqlalchemy |
|
67 |
Requires: python-sqlalchemy-migrate |
|
68 |
Requires: python-symboltype |
|
69 |
Requires: python-tempita |
|
70 |
Requires: python-tg.devtools |
|
71 |
Requires: python-TgRum |
|
72 |
Requires: python-toscawidgets |
|
73 |
Requires: python-transaction |
|
74 |
Requires: python-turbogears2 |
|
75 |
Requires: python-turbojson |
|
76 |
Requires: python-tw.dojo |
|
77 |
Requires: python-tw.forms |
|
78 |
Requires: python-tw.rum |
|
79 |
Requires: python-weberror |
|
80 |
Requires: python-webflash |
|
81 |
Requires: python-webhelpers |
|
82 |
Requires: python-webob |
|
83 |
Requires: python-webtest |
|
84 |
Requires: python-zope-interface |
|
85 |
Requires: python-zope.sqlalchemy |
|
86 |
|
|
87 |
Buildarch: noarch |
|
88 |
|
|
89 |
# Renommage |
|
90 |
Obsoletes: vigiboard < 1.0-1 |
|
91 |
Provides: vigiboard = %{version}-%{release} |
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
%description |
|
96 |
Vigilo event board. |
|
97 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
|
98 |
|
|
99 |
%prep |
|
100 |
%setup -q -n %{module} |
|
101 |
|
|
102 |
%build |
|
103 |
make PYTHON=%{_bindir}/python SYSCONFDIR=%{_sysconfdir} |
|
104 |
|
|
105 |
%install |
|
106 |
rm -rf $RPM_BUILD_ROOT |
|
107 |
make install \ |
|
108 |
DESTDIR=$RPM_BUILD_ROOT \ |
|
109 |
SYSCONFDIR=%{_sysconfdir} \ |
|
110 |
PYTHON=%{_bindir}/python |
|
111 |
|
|
112 |
%find_lang %{name} |
|
113 |
|
|
114 |
|
|
115 |
%clean |
|
116 |
rm -rf $RPM_BUILD_ROOT |
|
117 |
|
|
118 |
%files -f %{name}.lang |
|
119 |
%defattr(-,root,root) |
|
120 |
%doc COPYING |
|
121 |
%dir %{_sysconfdir}/vigilo |
|
122 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module} |
|
123 |
%{_sysconfdir}/httpd/conf/webapps.d/%{module}.conf |
|
124 |
%dir %{_localstatedir}/log/vigilo/ |
|
125 |
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
|
126 |
%{python_sitelib}/* |
|
127 |
|
Also available in: Unified diff