Revision 2d135e67
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 | ||
---|---|---|
2 | 2 |
all: build |
3 | 3 |
|
4 | 4 |
include buildenv/Makefile.common |
5 |
PKGNAME := $(NAME) |
|
6 | 5 |
MODULE := $(NAME) |
7 | 6 |
CODEPATH := $(NAME) |
8 | 7 |
EPYDOC_PARSE := vigiboard\.(widgets|controllers) |
buildout.cfg | ||
---|---|---|
1 | 1 |
[buildout] |
2 | 2 |
extends = buildenv/buildout.common.cfg |
3 |
name = vigiboard |
|
3 |
name = vigilo-vigiboard
|
|
4 | 4 |
|
5 | 5 |
# vim: set noexpandtab : |
pkg/vigiboard.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 |
... | ... | |
88 | 88 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
89 | 89 |
|
90 | 90 |
%prep |
91 |
%setup -q -n %{module}-%{version}
|
|
91 |
%setup -q |
|
92 | 92 |
|
93 | 93 |
%build |
94 | 94 |
make PYTHON=%{_bindir}/python SYSCONFDIR=%{_sysconfdir} |
pkg/vigiboard.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 |
... | ... | |
35 | 35 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
36 | 36 |
|
37 | 37 |
%prep |
38 |
%setup -q -n %{module}-%{version}
|
|
38 |
%setup -q |
|
39 | 39 |
# A cause des permissions sur /var/log/httpd sur Red Hat |
40 | 40 |
sed -i -e '/<IfModule mod_wsgi\.c>/a WSGISocketPrefix run/wsgi' deployment/%{module}.conf |
41 | 41 |
|
pkg/vigiboard.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 |
... | ... | |
29 | 29 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
30 | 30 |
|
31 | 31 |
%prep |
32 |
%setup -q -n %{module}-%{version}
|
|
32 |
%setup -q |
|
33 | 33 |
# A cause des permissions sur /var/log/httpd sur Red Hat |
34 | 34 |
sed -i -e '/<IfModule mod_wsgi\.c>/a WSGISocketPrefix run/wsgi' deployment/%{module}.conf |
35 | 35 |
|
setup.py | ||
---|---|---|
21 | 21 |
sysconfdir = os.getenv("SYSCONFDIR", "/etc") |
22 | 22 |
|
23 | 23 |
setup( |
24 |
name='vigiboard', |
|
24 |
name='vigilo-vigiboard',
|
|
25 | 25 |
version='2.0.0', |
26 | 26 |
author='Vigilo Team', |
27 | 27 |
author_email='contact@projet-vigilo.org', |
Also available in: Unified diff