vigigraph / pkg / vigigraph.mdv.spec @ d75a1b31
History | View | Annotate | Download (1.51 KB)
1 | e0593934 | Aurelien BOMPARD | %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 | d75a1b31 | Francois POIROTTE | Requires: apache-mod_wsgi |
23 | e0593934 | Aurelien BOMPARD | |
24 | Buildarch: noarch |
||
25 | |||
26 | |||
27 | %description |
||
28 | Vigilo graphs interface. |
||
29 | This application is part of the Vigilo Project <http://vigilo-project.org> |
||
30 | |||
31 | %prep |
||
32 | %setup -q -n %{module} |
||
33 | 0f317fa6 | Aurelien BOMPARD | cd javascript |
34 | 8dcc834f | Aurelien BOMPARD | #wget http://downloads.sourceforge.net/project/qooxdoo/qooxdoo-legacy/0.7.3/qooxdoo-0.7.3-sdk.tar.gz |
35 | wget http://vigilo-dev.si.c-s.fr/cache/qooxdoo-0.7.3-sdk.tar.gz |
||
36 | 0f317fa6 | Aurelien BOMPARD | tar -xzf qooxdoo-0.7.3-sdk.tar.gz |
37 | cd .. |
||
38 | patch -p0 < patches/001_qooxdoo_getBoxObjectFor.diff |
||
39 | e0593934 | Aurelien BOMPARD | |
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 |