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