vigiboard / pkg / vigiboard.mdv.spec @ 340bf711
History | View | Annotate | Download (1.35 KB)
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 |
|
25 |
Buildarch: noarch |
26 |
|
27 |
# Renommage |
28 |
Obsoletes: vigiboard < 1.0-1 |
29 |
Provides: vigiboard = %{version}-%{release} |
30 |
|
31 |
|
32 |
|
33 |
%description |
34 |
Vigilo event board. |
35 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
36 |
|
37 |
%prep |
38 |
%setup -q -n %{module} |
39 |
|
40 |
%build |
41 |
make PYTHON=%{_bindir}/python SYSCONFDIR=%{_sysconfdir} |
42 |
|
43 |
%install |
44 |
rm -rf $RPM_BUILD_ROOT |
45 |
make install \ |
46 |
DESTDIR=$RPM_BUILD_ROOT \ |
47 |
SYSCONFDIR=%{_sysconfdir} \ |
48 |
PYTHON=%{_bindir}/python |
49 |
|
50 |
%find_lang %{name} |
51 |
|
52 |
|
53 |
%clean |
54 |
rm -rf $RPM_BUILD_ROOT |
55 |
|
56 |
%files -f %{name}.lang |
57 |
%defattr(-,root,root) |
58 |
%doc COPYING |
59 |
%dir %{_sysconfdir}/vigilo |
60 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module} |
61 |
%{_sysconfdir}/httpd/conf/webapps.d/%{module}.conf |
62 |
%{python_sitelib}/* |
63 |
|
64 |
|
65 |
%changelog |
66 |
* Mon Feb 08 2010 Aurelien Bompard <aurelien.bompard@c-s.fr> |
67 |
- initial package |