Revision e0593934
Initialisation du packaging pour VigiGraph
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@2881 b22e2e97-25c9-44ff-b637-2e5ceca36478
pkg/vigigraph.mdv.spec | ||
---|---|---|
1 |
%define module vigigraph |
|
2 |
%define name vigilo-%{module} |
|
3 |
%define version 2.0.0 |
|
4 |
%define release 1%{?svn} |
|
5 |
|
|
6 |
Name: %{name} |
|
7 |
Summary: Vigilo graphs interface |
|
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.mootools |
|
23 |
Requires: python-tw.dynforms |
|
24 |
|
|
25 |
Buildarch: noarch |
|
26 |
|
|
27 |
|
|
28 |
%description |
|
29 |
Vigilo graphs interface. |
|
30 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
|
31 |
|
|
32 |
%prep |
|
33 |
%setup -q -n %{module} |
|
34 |
|
|
35 |
%build |
|
36 |
make PYTHON=%{_bindir}/python SYSCONFDIR=%{_sysconfdir} |
|
37 |
|
|
38 |
%install |
|
39 |
rm -rf $RPM_BUILD_ROOT |
|
40 |
make install \ |
|
41 |
DESTDIR=$RPM_BUILD_ROOT \ |
|
42 |
SYSCONFDIR=%{_sysconfdir} \ |
|
43 |
PYTHON=%{_bindir}/python |
|
44 |
|
|
45 |
%find_lang %{name} |
|
46 |
|
|
47 |
|
|
48 |
%clean |
|
49 |
rm -rf $RPM_BUILD_ROOT |
|
50 |
|
|
51 |
%files -f %{name}.lang |
|
52 |
%defattr(-,root,root) |
|
53 |
%doc COPYING |
|
54 |
%dir %{_sysconfdir}/vigilo |
|
55 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module} |
|
56 |
%{_sysconfdir}/httpd/conf/webapps.d/%{module}.conf |
|
57 |
%{_bindir}/* |
|
58 |
%{python_sitelib}/* |
|
59 |
|
|
60 |
|
|
61 |
%changelog |
|
62 |
* Mon Feb 08 2010 Aurelien Bompard <aurelien.bompard@c-s.fr> |
|
63 |
- initial package |
Also available in: Unified diff