Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / pkg / vigigraph.mdv.spec @ 247f6d81

History | View | Annotate | Download (1.55 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
wget http://vigilo-dev.si.c-s.fr/cache/qooxdoo-0.7.3-sdk.tar.gz
37
tar -xzf qooxdoo-0.7.3-sdk.tar.gz
38
cd ..
39
patch -p0 < patches/001_qooxdoo_getBoxObjectFor.diff
40

    
41
%build
42
make PYTHON=%{_bindir}/python SYSCONFDIR=%{_sysconfdir}
43

    
44
%install
45
rm -rf $RPM_BUILD_ROOT
46
make install \
47
	DESTDIR=$RPM_BUILD_ROOT \
48
	SYSCONFDIR=%{_sysconfdir} \
49
	PYTHON=%{_bindir}/python
50

    
51
%find_lang %{name}
52

    
53

    
54
%clean
55
rm -rf $RPM_BUILD_ROOT
56

    
57
%files -f %{name}.lang
58
%defattr(-,root,root)
59
%doc COPYING
60
%dir %{_sysconfdir}/vigilo
61
%config(noreplace) %{_sysconfdir}/vigilo/%{module}
62
%{_sysconfdir}/httpd/conf/webapps.d/%{module}.conf
63
%{python_sitelib}/*
64

    
65

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