Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / pkg / vigigraph.mdv.spec @ 77db889c

History | View | Annotate | Download (1.52 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:   apache-mod_wsgi
23

    
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
cd javascript
34
#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
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
%dir %{_localstatedir}/log/vigilo/
63
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module}
64
%{python_sitelib}/*
65