Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / pkg / vigigraph.mandriva.spec @ af425723

History | View | Annotate | Download (3.4 KB)

1
%define module  @SHORT_NAME@
2

    
3
Name:       vigilo-%{module}
4
Summary:    @SUMMARY@
5
Version:    @VERSION@
6
Release:    @RELEASE@%{?dist}
7
Source0:    %{name}-%{version}.tar.gz
8
URL:        @URL@
9
Group:      Applications/System
10
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-build
11
License:    GPLv2
12
Buildarch:  noarch
13

    
14
BuildRequires:   python-setuptools
15
BuildRequires:   python-babel
16

    
17
Requires:   python >= 2.5
18
Requires:   python-setuptools
19
Requires:   vigilo-turbogears
20
Requires:   apache-mod_wsgi
21
######### Dependance from python dependance tree ########
22
Requires:   vigilo-common
23
Requires:   vigilo-models
24
Requires:   vigilo-themes-default
25
Requires:   vigilo-turbogears
26
Requires:   python-addons
27
Requires:   python-babel
28
Requires:   python-beaker
29
Requires:   python-bytecodeassembler
30
Requires:   python-configobj
31
Requires:   python-decorator
32
Requires:   python-decoratortools
33
Requires:   python-EggTranslations
34
Requires:   python-extremes
35
Requires:   python-formencode
36
Requires:   python-genshi
37
Requires:   python-mako
38
Requires:   python-nose
39
Requires:   python-paste
40
Requires:   python-pastedeploy
41
Requires:   python-pastescript
42
Requires:   python-peak-rules
43
Requires:   python-prioritized_methods
44
Requires:   python-psycopg2
45
Requires:   python-pygments
46
Requires:   python-pylons
47
Requires:   python-dateutil
48
Requires:   python-repoze.tm2
49
Requires:   python-repoze.what
50
Requires:   python-repoze.what.plugins.sql
51
Requires:   python-repoze.what-pylons
52
Requires:   python-repoze.what-quickstart
53
Requires:   python-repoze.who
54
Requires:   python-repoze.who-friendlyform
55
Requires:   python-repoze.who.plugins.sa
56
Requires:   python-repoze.who-testutil
57
Requires:   python-routes
58
Requires:   python-rum
59
Requires:   python-RumAlchemy
60
Requires:   python-setuptools
61
Requires:   python-simplejson
62
Requires:   python-sqlalchemy
63
Requires:   python-sqlalchemy-migrate
64
Requires:   python-symboltype
65
Requires:   python-tempita
66
Requires:   python-tg.devtools
67
Requires:   python-TgRum
68
Requires:   python-toscawidgets
69
Requires:   python-transaction
70
Requires:   python-turbogears2
71
Requires:   python-turbojson
72
Requires:   python-tw.dojo
73
Requires:   python-tw.forms
74
Requires:   python-tw.rum
75
Requires:   python-weberror
76
Requires:   python-webflash
77
Requires:   python-webhelpers
78
Requires:   python-webob
79
Requires:   python-webtest
80
Requires:   python-zope-interface
81
Requires:   python-zope.sqlalchemy
82

    
83

    
84
%description
85
@DESCRIPTION@
86
This application is part of the Vigilo Project <http://vigilo-project.org>
87

    
88
%prep
89
%setup -q
90

    
91
%build
92

    
93
%install
94
rm -rf $RPM_BUILD_ROOT
95
make install_pkg \
96
    DESTDIR=$RPM_BUILD_ROOT \
97
    SYSCONFDIR=%{_sysconfdir} \
98
    LOCALSTATEDIR=%{_localstatedir} \
99
    PYTHON=%{__python}
100

    
101
%find_lang %{name}
102

    
103

    
104
%post
105
/sbin/service httpd condrestart > /dev/null 2>&1 || :
106

    
107
%clean
108
rm -rf $RPM_BUILD_ROOT
109

    
110
%files -f %{name}.lang
111
%defattr(644,root,root,755)
112
%doc COPYING.txt README.txt
113
%dir %{_sysconfdir}/vigilo
114
%dir %{_sysconfdir}/vigilo/%{module}
115
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.conf
116
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.py
117
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.wsgi
118
%config(noreplace) %attr(640,root,apache) %{_sysconfdir}/vigilo/%{module}/*.ini
119
%config(noreplace) /etc/httpd/conf/webapps.d/%{name}.conf
120
%dir %{_localstatedir}/log/vigilo/
121
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module}
122
%config(noreplace) /etc/logrotate.d/%{name}
123
%attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions
124
%{python_sitelib}/*
125