Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / pkg / vigigraph.mdv.spec @ 0f317fa6

History | View | Annotate | Download (1.5 KB)

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
cd javascript
35
wget http://downloads.sourceforge.net/project/qooxdoo/qooxdoo-legacy/0.7.3/qooxdoo-0.7.3-sdk.tar.gz
36
tar -xzf qooxdoo-0.7.3-sdk.tar.gz
37
cd ..
38
patch -p0 < patches/001_qooxdoo_getBoxObjectFor.diff
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
%{_bindir}/*
63
%{python_sitelib}/*
64

    
65

    
66
%changelog
67
* Mon Feb 08 2010 Aurelien Bompard <aurelien.bompard@c-s.fr>
68
- initial package