Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / pkg / vigigraph.redhat.spec @ bb3d9eb7

History | View | Annotate | Download (4.21 KB)

1 179ccfc2 Aurelien BOMPARD
%define module  vigigraph
2
%define name    vigilo-%{module}
3
%define version 2.0.0
4
%define release 1%{?svn}%{?dist}
5
6
%define pyver 26
7
%define pybasever 2.6
8
%define __python /usr/bin/python%{pybasever}
9
%define __os_install_post %{__python26_os_install_post}
10
%{!?python26_sitelib: %define python26_sitelib %(python26 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
11
12
Name:       %{name}
13
Summary:    Vigilo graphs interface
14
Version:    %{version}
15
Release:    %{release}
16 b55ed80f Aurelien BOMPARD
Source0:    %{module}-%{version}.tar.gz
17 179ccfc2 Aurelien BOMPARD
URL:        http://www.projet-vigilo.org
18
Group:      System/Servers
19
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-build
20
License:    GPLv2
21
Buildarch:  noarch
22
23
BuildRequires:   python26-distribute
24
BuildRequires:   python26-babel
25 369a1177 Aurelien BOMPARD
BuildRequires:   wget
26 179ccfc2 Aurelien BOMPARD
27
Requires:   python26-distribute
28
Requires:   vigilo-turbogears
29
Requires:   apache-mod_wsgi
30
######### Dependance from python dependance tree ########
31
Requires:   vigilo-vigigraph
32
Requires:   vigilo-common
33
Requires:   vigilo-models
34
Requires:   vigilo-themes-default
35
Requires:   vigilo-turbogears
36
Requires:   python26-addons
37
Requires:   python26-babel
38
Requires:   python26-beaker
39
Requires:   python26-bytecodeassembler
40
Requires:   python26-configobj
41
Requires:   python26-decorator
42
Requires:   python26-decoratortools
43
Requires:   python26-EggTranslations
44
Requires:   python26-extremes
45
Requires:   python26-formencode
46
Requires:   python26-genshi
47
Requires:   python26-mako
48
Requires:   python26-nose
49
Requires:   python26-paste
50
Requires:   python26-pastedeploy
51
Requires:   python26-pastescript
52
Requires:   python26-peak-rules
53
Requires:   python26-prioritized_methods
54
Requires:   python26-psycopg2
55
Requires:   python26-pygments
56
Requires:   python26-pylons
57
Requires:   python26-dateutil
58
Requires:   python26-repoze.tm2
59
Requires:   python26-repoze.what
60
Requires:   python26-repoze.what.plugins.sql
61
Requires:   python26-repoze.what-pylons
62
Requires:   python26-repoze.what-quickstart
63
Requires:   python26-repoze.who
64
Requires:   python26-repoze.who-friendlyform
65
Requires:   python26-repoze.who.plugins.sa
66
Requires:   python26-repoze.who-testutil
67
Requires:   python26-routes
68
Requires:   python26-rum
69
Requires:   python26-RumAlchemy
70
Requires:   python26-distribute
71
Requires:   python26-simplejson
72
Requires:   python26-sqlalchemy
73
Requires:   python26-sqlalchemy-migrate
74
Requires:   python26-symboltype
75
Requires:   python26-tempita
76
Requires:   python26-tg.devtools
77
Requires:   python26-TgRum
78
Requires:   python26-toscawidgets
79
Requires:   python26-transaction
80
Requires:   python26-turbogears2
81
Requires:   python26-turbojson
82
Requires:   python26-tw.dojo
83
Requires:   python26-tw.forms
84
Requires:   python26-tw.rum
85
Requires:   python26-weberror
86
Requires:   python26-webflash
87
Requires:   python26-webhelpers
88
Requires:   python26-webob
89
Requires:   python26-webtest
90
Requires:   python26-zope-interface
91
Requires:   python26-zope.sqlalchemy
92
93
94
%description
95
Vigilo graphs interface.
96
This application is part of the Vigilo Project <http://vigilo-project.org>
97
98
%prep
99 b55ed80f Aurelien BOMPARD
%setup -q -n %{module}-%{version}
100 179ccfc2 Aurelien BOMPARD
cd javascript
101
#wget http://downloads.sourceforge.net/project/qooxdoo/qooxdoo-legacy/0.7.3/qooxdoo-0.7.3-sdk.tar.gz
102
wget http://vigilo-dev.si.c-s.fr/cache/qooxdoo-0.7.3-sdk.tar.gz
103
tar -xzf qooxdoo-0.7.3-sdk.tar.gz
104
cd ..
105
patch -p0 < patches/001_qooxdoo_getBoxObjectFor.diff
106
107
%build
108
make PYTHON=%{__python} SYSCONFDIR=%{_sysconfdir}
109
110
%install
111
rm -rf $RPM_BUILD_ROOT
112
make install \
113
	DESTDIR=$RPM_BUILD_ROOT \
114
	SYSCONFDIR=%{_sysconfdir} \
115
	PYTHON=%{__python}
116
117
# %find_lang %{name} # ne fonctionne qu'avec les fichiers dans /usr/share/locale/
118
119
120
%clean
121
rm -rf $RPM_BUILD_ROOT
122
123
%files
124 6bc71ab2 Aurelien BOMPARD
%defattr(644,root,root,755)
125 179ccfc2 Aurelien BOMPARD
%doc COPYING
126
%dir %{_sysconfdir}/vigilo
127 b6f49cb9 Aurelien BOMPARD
%dir %{_sysconfdir}/vigilo/%{module}
128
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.conf
129
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.py
130
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.wsgi
131 53bdf40e Aurelien BOMPARD
%config(noreplace) %attr(640,root,apache) %{_sysconfdir}/vigilo/%{module}/*.ini
132 b6f49cb9 Aurelien BOMPARD
%ghost %{_sysconfdir}/vigilo/%{module}/*.pyo
133
%ghost %{_sysconfdir}/vigilo/%{module}/*.pyc
134 179ccfc2 Aurelien BOMPARD
%{_sysconfdir}/httpd/conf.d/%{module}.conf
135
%dir %{_localstatedir}/log/vigilo/
136
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module}
137 bb3d9eb7 Aurelien BOMPARD
%attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions
138 179ccfc2 Aurelien BOMPARD
%{python26_sitelib}/*