Revision 7f07168b
uniformisation du packaging pour les modules turbogears
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@6663 b22e2e97-25c9-44ff-b637-2e5ceca36478
Makefile | ||
---|---|---|
4 | 4 |
all: build |
5 | 5 |
|
6 | 6 |
include buildenv/Makefile.common |
7 |
PKGNAME := $(NAME) |
|
8 | 7 |
MODULE := $(NAME) |
9 | 8 |
CODEPATH := $(NAME) |
10 | 9 |
EPYDOC_PARSE := vigigraph\.controllers |
buildout.cfg | ||
---|---|---|
1 | 1 |
[buildout] |
2 | 2 |
extends = buildenv/buildout.common.cfg |
3 |
name = vigigraph |
|
3 |
name = vigilo-vigigraph
|
|
4 | 4 |
|
5 | 5 |
# vim: set noexpandtab : |
pkg/vigigraph.mandriva.spec | ||
---|---|---|
4 | 4 |
Summary: @SUMMARY@ |
5 | 5 |
Version: @VERSION@ |
6 | 6 |
Release: 1%{?svn}%{?dist} |
7 |
Source0: %{module}-%{version}.tar.gz
|
|
7 |
Source0: %{name}-%{version}.tar.gz
|
|
8 | 8 |
URL: @URL@ |
9 | 9 |
Group: System/Servers |
10 | 10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
... | ... | |
87 | 87 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
88 | 88 |
|
89 | 89 |
%prep |
90 |
%setup -q -n %{module}-%{version}
|
|
90 |
%setup -q |
|
91 | 91 |
|
92 | 92 |
%build |
93 | 93 |
make PYTHON=%{_bindir}/python SYSCONFDIR=%{_sysconfdir} |
pkg/vigigraph.redhat.spec | ||
---|---|---|
10 | 10 |
Summary: @SUMMARY@ |
11 | 11 |
Version: @VERSION@ |
12 | 12 |
Release: 1%{?svn}%{?dist} |
13 |
Source0: %{module}-%{version}.tar.gz
|
|
13 |
Source0: %{name}-%{version}.tar.gz
|
|
14 | 14 |
URL: @URL@ |
15 | 15 |
Group: System/Servers |
16 | 16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
... | ... | |
30 | 30 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
31 | 31 |
|
32 | 32 |
%prep |
33 |
%setup -q -n %{module}-%{version}
|
|
33 |
%setup -q |
|
34 | 34 |
# A cause des permissions sur /var/log/httpd sur Red Hat |
35 | 35 |
sed -i -e '/<IfModule mod_wsgi\.c>/a WSGISocketPrefix run/wsgi' deployment/%{module}.conf |
36 | 36 |
|
pkg/vigigraph.rhel6.spec | ||
---|---|---|
4 | 4 |
Summary: @SUMMARY@ |
5 | 5 |
Version: @VERSION@ |
6 | 6 |
Release: 1%{?svn}%{?dist} |
7 |
Source0: %{module}-%{version}.tar.gz
|
|
7 |
Source0: %{name}-%{version}.tar.gz
|
|
8 | 8 |
URL: @URL@ |
9 | 9 |
Group: System/Servers |
10 | 10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
... | ... | |
24 | 24 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
25 | 25 |
|
26 | 26 |
%prep |
27 |
%setup -q -n %{module}-%{version}
|
|
27 |
%setup -q |
|
28 | 28 |
# A cause des permissions sur /var/log/httpd sur Red Hat |
29 | 29 |
sed -i -e '/<IfModule mod_wsgi\.c>/a WSGISocketPrefix run/wsgi' deployment/%{module}.conf |
30 | 30 |
|
setup.py | ||
---|---|---|
27 | 27 |
] |
28 | 28 |
|
29 | 29 |
setup( |
30 |
name='vigigraph', |
|
30 |
name='vigilo-vigigraph',
|
|
31 | 31 |
version='2.0.0', |
32 | 32 |
author='Vigilo Team', |
33 | 33 |
author_email='contact@projet-vigilo.org', |
Also available in: Unified diff