Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / pkg / vigigraph.redhat.spec @ ad650007

History | View | Annotate | Download (3.98 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 ad650007 Aurelien BOMPARD
make qooxdoo_source
101 179ccfc2 Aurelien BOMPARD
102
%build
103 ad650007 Aurelien BOMPARD
make qooxdoo
104 179ccfc2 Aurelien BOMPARD
make PYTHON=%{__python} SYSCONFDIR=%{_sysconfdir}
105
106
%install
107
rm -rf $RPM_BUILD_ROOT
108
make install \
109
	DESTDIR=$RPM_BUILD_ROOT \
110
	SYSCONFDIR=%{_sysconfdir} \
111
	PYTHON=%{__python}
112
113
# %find_lang %{name} # ne fonctionne qu'avec les fichiers dans /usr/share/locale/
114
115
116
%clean
117
rm -rf $RPM_BUILD_ROOT
118
119
%files
120 6bc71ab2 Aurelien BOMPARD
%defattr(644,root,root,755)
121 179ccfc2 Aurelien BOMPARD
%doc COPYING
122
%dir %{_sysconfdir}/vigilo
123 b6f49cb9 Aurelien BOMPARD
%dir %{_sysconfdir}/vigilo/%{module}
124
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.conf
125
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.py
126
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.wsgi
127 53bdf40e Aurelien BOMPARD
%config(noreplace) %attr(640,root,apache) %{_sysconfdir}/vigilo/%{module}/*.ini
128 b6f49cb9 Aurelien BOMPARD
%ghost %{_sysconfdir}/vigilo/%{module}/*.pyo
129
%ghost %{_sysconfdir}/vigilo/%{module}/*.pyc
130 179ccfc2 Aurelien BOMPARD
%{_sysconfdir}/httpd/conf.d/%{module}.conf
131
%dir %{_localstatedir}/log/vigilo/
132
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module}
133 bb3d9eb7 Aurelien BOMPARD
%attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions
134 179ccfc2 Aurelien BOMPARD
%{python26_sitelib}/*