Revision 8c216f10
Suppression packaging obsolète
Change-Id: Ia1ad85f21a295b0c706434c5fe385b0031bb7d54
debian/changelog | ||
---|---|---|
1 |
vigilo-vigiboard (3.0.0.dev-g3e987b6-1) unstable; urgency=low |
|
2 |
|
|
3 |
* New upstream release. |
|
4 |
|
|
5 |
-- Francois Poirotte <francois.poirotte@c-s.fr> Sat, 24 Nov 2012 12:43:54 +0100 |
|
6 |
|
|
7 |
vigilo-vigiboard (2.1.2.dev-g0d9fe29-1) unstable; urgency=low |
|
8 |
|
|
9 |
* Initial release |
|
10 |
|
|
11 |
-- Francois Poirotte <francois.poirotte@c-s.fr> Sat, 10 Nov 2012 18:56:00 +0100 |
debian/compat | ||
---|---|---|
1 |
7 |
debian/conffile | ||
---|---|---|
1 |
/usr/share/pyshared/vigiboard/config/app_cfg.py |
debian/control | ||
---|---|---|
1 |
Source: vigilo-vigiboard |
|
2 |
Section: python |
|
3 |
Priority: extra |
|
4 |
Maintainer: Vigilo Team <contact@projet-vigilo.org> |
|
5 |
Build-Depends: |
|
6 |
debhelper (>= 7.0.50~), |
|
7 |
python (>= 2.6.6-3~), |
|
8 |
python-setuptools, |
|
9 |
python-babel |
|
10 |
Standards-Version: 3.8.4 |
|
11 |
Homepage: http://www.projet-vigilo.org/ |
|
12 |
X-Python-Version: >= 2.5 |
|
13 |
|
|
14 |
Package: vigilo-vigiboard |
|
15 |
Architecture: all |
|
16 |
Suggests: vigilo-vigiboard-doc |
|
17 |
Depends: |
|
18 |
${misc:Depends}, |
|
19 |
${python:Depends}, |
|
20 |
libapache2-mod-wsgi |
|
21 |
Description: Vigilo event board |
|
22 |
Vigilo event board. |
|
23 |
|
|
24 |
Package: vigilo-vigiboard-doc |
|
25 |
Architecture: all |
|
26 |
Section: doc |
|
27 |
Depends: ${sphinxdoc:Depends} ${misc:Depends} |
|
28 |
Description: Vigilo event board (documentation) |
|
29 |
Vigilo event board. |
|
30 |
. |
|
31 |
This package contains documentation about the vigilo-vigiboard package. |
debian/copyright | ||
---|---|---|
1 |
Maintainer: Vigilo Team (contact@projet-vigilo.org) |
|
2 |
Source: http://sourceforge.net/projects/vigilo/files/Sources/ |
|
3 |
Name: vigilo-vigiboard |
|
4 |
|
|
5 |
Files: * |
|
6 |
Copyright: 2007-2013, by CS-SI |
|
7 |
License: GPL-2+ |
|
8 |
|
|
9 |
Files: debian/* |
|
10 |
Copyright: 2013, by CS-SI |
|
11 |
License: GPL-2+ |
|
12 |
|
|
13 |
License: GPL-2+ |
|
14 |
This program is free software; you can redistribute it and/or modify |
|
15 |
it under the terms of the GNU General Public License as published by |
|
16 |
the Free Software Foundation; either version 2, or (at your option) |
|
17 |
any later version. |
|
18 |
. |
|
19 |
On Debian GNU/Linux systems, the complete text of the GNU General |
|
20 |
Public License can be found in `/usr/share/common-licenses/GPL-2' |
debian/docs | ||
---|---|---|
1 |
COPYING.txt |
|
2 |
README.txt |
debian/postinst | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
# postinst script for vigilo-connector-nagios |
|
3 |
# |
|
4 |
# see: dh_installdeb(1) |
|
5 |
|
|
6 |
set -e |
|
7 |
|
|
8 |
# summary of how this script can be called: |
|
9 |
# * <postinst> `configure' <most-recently-configured-version> |
|
10 |
# * <old-postinst> `abort-upgrade' <new version> |
|
11 |
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
|
12 |
# <new-version> |
|
13 |
# * <postinst> `abort-remove' |
|
14 |
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
|
15 |
# <failed-install-package> <version> `removing' |
|
16 |
# <conflicting-package> <version> |
|
17 |
# for details, see http://www.debian.org/doc/debian-policy/ or |
|
18 |
# the debian-policy package |
|
19 |
|
|
20 |
|
|
21 |
case "$1" in |
|
22 |
configure) |
|
23 |
MODULE=vigiboard |
|
24 |
PKGNAME=vigilo-$MODULE |
|
25 |
HTTPD_USER=www-data |
|
26 |
|
|
27 |
chown $HTTPD_USER:$HTTPD_USER \ |
|
28 |
/var/log/vigilo/$MODULE |
|
29 |
|
|
30 |
chown root:$HTTPD_USER /etc/vigilo/$MODULE/*.ini |
|
31 |
chmod 640 /etc/vigilo/$MODULE/*.ini |
|
32 |
|
|
33 |
chown $HTTPD_USER:$HTTPD_USER /var/cache/vigilo/sessions |
|
34 |
chmod 750 /var/cache/vigilo/sessions |
|
35 |
;; |
|
36 |
|
|
37 |
abort-upgrade|abort-remove|abort-deconfigure) |
|
38 |
;; |
|
39 |
|
|
40 |
*) |
|
41 |
echo "postinst called with unknown argument \`$1'" >&2 |
|
42 |
exit 1 |
|
43 |
;; |
|
44 |
esac |
|
45 |
|
|
46 |
# dh_installdeb will replace this with shell code automatically |
|
47 |
# generated by other debhelper scripts. |
|
48 |
|
|
49 |
#DEBHELPER# |
|
50 |
|
|
51 |
exit 0 |
debian/pydist-overrides | ||
---|---|---|
1 |
vigilo-common vigilo-common |
|
2 |
vigilo-connector vigilo-connector |
|
3 |
vigilo-connector-metro vigilo-connector-metro |
|
4 |
vigilo-connector-nagios vigilo-connector-nagios |
|
5 |
vigilo-correlator vigilo-correlator |
|
6 |
vigilo-models vigilo-models |
|
7 |
vigilo-themes-default vigilo-themes-default |
|
8 |
vigilo-turbogears vigilo-turbogears |
|
9 |
vigilo-vigiboard vigilo-vigiboard |
|
10 |
vigilo-vigiconf vigilo-vigiconf |
|
11 |
vigilo-vigiconf-local vigilo-vigiconf-local |
|
12 |
vigilo-vigigraph vigilo-vigigraph |
|
13 |
vigilo-vigirrd vigilo-vigirrd |
debian/rules | ||
---|---|---|
1 |
#!/usr/bin/make -f |
|
2 |
# -*- makefile -*- |
|
3 |
|
|
4 |
# Uncomment this to turn on verbose mode. |
|
5 |
export DH_VERBOSE=1 |
|
6 |
export DH_OPTIONS=-v |
|
7 |
|
|
8 |
PKGNAME=$(shell printf "%s" `dpkg-parsechangelog | grep '^Source:' | cut -d: -f2-`) |
|
9 |
VERSION=$(shell printf "%s" `dpkg-parsechangelog | grep '^Version:' | cut -d: -f2-`) |
|
10 |
|
|
11 |
ifeq "$(NOPY)" "" |
|
12 |
helper=python2 |
|
13 |
else |
|
14 |
helper=python2_nopy |
|
15 |
endif |
|
16 |
|
|
17 |
%: |
|
18 |
dh $@ --with $(helper),sphinxdoc |
|
19 |
|
|
20 |
override_dh_auto_clean: |
|
21 |
dh_auto_clean -- buildclean |
|
22 |
find vigiboard/i18n/ -name '*.mo' -o -name '*.js' -delete |
|
23 |
ifneq "$(NOPY)" "" |
|
24 |
rm -f $(CURDIR)/debian/docs $(CURDIR)/debian/copyright |
|
25 |
endif |
|
26 |
|
|
27 |
override_dh_auto_install: |
|
28 |
$(MAKE) install_pkg \ |
|
29 |
DESTDIR=$(CURDIR)/debian/$(PKGNAME)/ \ |
|
30 |
PYTHON=/usr/bin/python |
|
31 |
/usr/bin/find vigiboard/i18n/ -name '*.mo' -o -name '*.js' -exec \ |
|
32 |
'mv' '{}' "debian/$(PKGNAME)/usr/share/pyshared/{}" ';' |
|
33 |
|
|
34 |
override_dh_auto_test: |
|
35 |
|
|
36 |
override_dh_installdocs: |
|
37 |
ifneq "$(NOPY)" "" |
|
38 |
PYTHONPATH=src/ /usr/bin/sphinx-build -b html -d doc/_build/doctrees \ |
|
39 |
-D version=$(VERSION) -D release=$(VERSION) \ |
|
40 |
doc/ debian/$(PKGNAME)-doc/usr/share/doc/$(PKGNAME)-doc/html/ |
|
41 |
endif |
|
42 |
|
|
43 |
override_dh_sphinxdoc: |
|
44 |
ifneq "$(NOPY)" "" |
|
45 |
dh_sphinxdoc -p $(PKGNAME)-doc |
|
46 |
endif |
|
47 |
|
|
48 |
.PHONY: override_dh_auto_clean \ |
|
49 |
override_dh_auto_build \ |
|
50 |
override_dh_auto_install \ |
|
51 |
override_dh_auto_test \ |
|
52 |
override_dh_installdocs \ |
|
53 |
override_dh_sphinxdoc |
debian/source/format | ||
---|---|---|
1 |
3.0 (quilt) |
debian/vigilo-vigiboard-doc.doc-base | ||
---|---|---|
1 |
Document: vigilo-vigiboard-manual |
|
2 |
Title: Vigilo VigiBoard manual |
|
3 |
Author: Vigilo Team |
|
4 |
Abstract: The vigilo-vigiboard paquage provides |
|
5 |
a web UI that displays monitoring alerts in real time. |
|
6 |
Section: Text |
|
7 |
|
|
8 |
Format: HTML |
|
9 |
Index: /usr/share/doc/vigilo-vigiboard-doc/html/index.html |
|
10 |
Files: /usr/share/doc/vigilo-vigiboard-doc/html/* |
debian/vigilo-vigiboard-doc.docs | ||
---|---|---|
1 |
COPYING.txt |
|
2 |
README.txt |
|
3 |
doc/_build/html |
debian/vigilo-vigiboard-doc.links | ||
---|---|---|
1 |
/usr/share/doc/vigilo-vigiboard-doc/html/_sources/ /usr/share/doc/vigilo-vigiboard-doc/rst |
pkg/vigiboard.mandriva.spec | ||
---|---|---|
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: python-tw.forms |
|
21 |
Requires: apache-mod_wsgi |
|
22 |
######### Dependance from python dependance tree ######## |
|
23 |
Requires: vigilo-common |
|
24 |
Requires: vigilo-models |
|
25 |
Requires: vigilo-themes-default |
|
26 |
Requires: vigilo-turbogears |
|
27 |
Requires: python-addons |
|
28 |
Requires: python-babel |
|
29 |
Requires: python-beaker |
|
30 |
Requires: python-bytecodeassembler |
|
31 |
Requires: python-configobj |
|
32 |
Requires: python-decorator |
|
33 |
Requires: python-decoratortools |
|
34 |
Requires: python-EggTranslations |
|
35 |
Requires: python-extremes |
|
36 |
Requires: python-formencode |
|
37 |
Requires: python-genshi |
|
38 |
Requires: python-mako |
|
39 |
Requires: python-nose |
|
40 |
Requires: python-paste |
|
41 |
Requires: python-pastedeploy |
|
42 |
Requires: python-pastescript |
|
43 |
Requires: python-peak-rules |
|
44 |
Requires: python-prioritized_methods |
|
45 |
Requires: python-psycopg2 |
|
46 |
Requires: python-pygments |
|
47 |
Requires: python-pylons |
|
48 |
Requires: python-dateutil |
|
49 |
Requires: python-repoze.tm2 |
|
50 |
Requires: python-repoze.what |
|
51 |
Requires: python-repoze.what.plugins.sql |
|
52 |
Requires: python-repoze.what-pylons |
|
53 |
Requires: python-repoze.what-quickstart |
|
54 |
Requires: python-repoze.who |
|
55 |
Requires: python-repoze.who-friendlyform |
|
56 |
Requires: python-repoze.who.plugins.sa |
|
57 |
Requires: python-repoze.who-testutil |
|
58 |
Requires: python-routes |
|
59 |
Requires: python-rum |
|
60 |
Requires: python-RumAlchemy |
|
61 |
Requires: python-setuptools |
|
62 |
Requires: python-simplejson |
|
63 |
Requires: python-sqlalchemy |
|
64 |
Requires: python-sqlalchemy-migrate |
|
65 |
Requires: python-symboltype |
|
66 |
Requires: python-tempita |
|
67 |
Requires: python-tg.devtools |
|
68 |
Requires: python-TgRum |
|
69 |
Requires: python-toscawidgets |
|
70 |
Requires: python-transaction |
|
71 |
Requires: python-turbogears2 |
|
72 |
Requires: python-turbojson |
|
73 |
Requires: python-tw.dojo |
|
74 |
Requires: python-tw.forms |
|
75 |
Requires: python-tw.rum |
|
76 |
Requires: python-weberror |
|
77 |
Requires: python-webflash |
|
78 |
Requires: python-webhelpers |
|
79 |
Requires: python-webob |
|
80 |
Requires: python-webtest |
|
81 |
Requires: python-zope-interface |
|
82 |
Requires: python-zope.sqlalchemy |
|
83 |
|
|
84 |
|
|
85 |
%description |
|
86 |
@DESCRIPTION@ |
|
87 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
|
88 |
|
|
89 |
%prep |
|
90 |
%setup -q |
|
91 |
|
|
92 |
%build |
|
93 |
|
|
94 |
%install |
|
95 |
rm -rf $RPM_BUILD_ROOT |
|
96 |
make install_pkg \ |
|
97 |
DESTDIR=$RPM_BUILD_ROOT \ |
|
98 |
SYSCONFDIR=%{_sysconfdir} \ |
|
99 |
LOCALSTATEDIR=%{_localstatedir} \ |
|
100 |
PYTHON=%{__python} |
|
101 |
|
|
102 |
%find_lang %{name} |
|
103 |
|
|
104 |
|
|
105 |
%post |
|
106 |
/sbin/service httpd condrestart > /dev/null 2>&1 || : |
|
107 |
|
|
108 |
%clean |
|
109 |
rm -rf $RPM_BUILD_ROOT |
|
110 |
|
|
111 |
%files -f %{name}.lang |
|
112 |
%defattr(644,root,root,755) |
|
113 |
%doc COPYING.txt README.txt |
|
114 |
%dir %{_sysconfdir}/vigilo |
|
115 |
%dir %{_sysconfdir}/vigilo/%{module} |
|
116 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.conf |
|
117 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.py |
|
118 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.wsgi |
|
119 |
%config(noreplace) %attr(640,root,apache) %{_sysconfdir}/vigilo/%{module}/*.ini |
|
120 |
%config(noreplace) %{_sysconfdir}/httpd/conf/webapps.d/%{name}.conf |
|
121 |
%dir %{_localstatedir}/log/vigilo/ |
|
122 |
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
|
123 |
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} |
|
124 |
%attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions |
|
125 |
%{python_sitelib}/* |
|
126 |
%attr(755,root,root) %{_sysconfdir}/cron.daily/* |
|
127 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
|
128 |
|
pkg/vigiboard.redhat.spec | ||
---|---|---|
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-distribute |
|
15 |
BuildRequires: python-babel |
|
16 |
|
|
17 |
Requires: python-distribute |
|
18 |
Requires: vigilo-turbogears |
|
19 |
Requires: python-tw-forms |
|
20 |
|
|
21 |
%description |
|
22 |
@DESCRIPTION@ |
|
23 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
|
24 |
|
|
25 |
%prep |
|
26 |
%setup -q |
|
27 |
|
|
28 |
%build |
|
29 |
|
|
30 |
%install |
|
31 |
rm -rf $RPM_BUILD_ROOT |
|
32 |
make install_pkg \ |
|
33 |
DESTDIR=$RPM_BUILD_ROOT \ |
|
34 |
SYSCONFDIR=%{_sysconfdir} \ |
|
35 |
LOCALSTATEDIR=%{_localstatedir} \ |
|
36 |
PYTHON=%{__python} |
|
37 |
|
|
38 |
|
|
39 |
%post |
|
40 |
/sbin/service httpd condrestart > /dev/null 2>&1 || : |
|
41 |
|
|
42 |
%clean |
|
43 |
rm -rf $RPM_BUILD_ROOT |
|
44 |
|
|
45 |
%files |
|
46 |
%defattr(644,root,root,755) |
|
47 |
%doc COPYING.txt README.txt |
|
48 |
%dir %{_sysconfdir}/vigilo |
|
49 |
%dir %{_sysconfdir}/vigilo/%{module} |
|
50 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.conf |
|
51 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.py |
|
52 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.wsgi |
|
53 |
%config(noreplace) %attr(640,root,apache) %{_sysconfdir}/vigilo/%{module}/*.ini |
|
54 |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf |
|
55 |
%dir %{_localstatedir}/log/vigilo/ |
|
56 |
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
|
57 |
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} |
|
58 |
%attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions |
|
59 |
%{python_sitelib}/* |
|
60 |
%attr(755,root,root) %{_sysconfdir}/cron.daily/* |
|
61 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
pkg/vigiboard.rhel5.spec | ||
---|---|---|
1 |
%define module @SHORT_NAME@ |
|
2 |
|
|
3 |
%define pyver 26 |
|
4 |
%define pybasever 2.6 |
|
5 |
%define __python /usr/bin/python%{pybasever} |
|
6 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
|
7 |
# Turn off the brp-python-bytecompile script |
|
8 |
%define __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') |
|
9 |
|
|
10 |
Name: vigilo-%{module} |
|
11 |
Summary: @SUMMARY@ |
|
12 |
Version: @VERSION@ |
|
13 |
Release: @RELEASE@%{?dist} |
|
14 |
Source0: %{name}-%{version}.tar.gz |
|
15 |
URL: @URL@ |
|
16 |
Group: Applications/System |
|
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
|
18 |
License: GPLv2 |
|
19 |
Buildarch: noarch |
|
20 |
|
|
21 |
BuildRequires: python26-distribute |
|
22 |
BuildRequires: python26-babel |
|
23 |
|
|
24 |
Requires: python26-distribute |
|
25 |
Requires: vigilo-turbogears |
|
26 |
Requires: python26-tw-forms |
|
27 |
|
|
28 |
%description |
|
29 |
@DESCRIPTION@ |
|
30 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
|
31 |
|
|
32 |
%prep |
|
33 |
%setup -q |
|
34 |
|
|
35 |
%build |
|
36 |
|
|
37 |
%install |
|
38 |
rm -rf $RPM_BUILD_ROOT |
|
39 |
make install_pkg \ |
|
40 |
DESTDIR=$RPM_BUILD_ROOT \ |
|
41 |
SYSCONFDIR=%{_sysconfdir} \ |
|
42 |
LOCALSTATEDIR=%{_localstatedir} \ |
|
43 |
PYTHON=%{__python} |
|
44 |
|
|
45 |
# %find_lang %{name} # ne fonctionne qu'avec les fichiers dans /usr/share/locale/ |
|
46 |
|
|
47 |
|
|
48 |
%post |
|
49 |
/sbin/service httpd condrestart > /dev/null 2>&1 || : |
|
50 |
|
|
51 |
%clean |
|
52 |
rm -rf $RPM_BUILD_ROOT |
|
53 |
|
|
54 |
%files |
|
55 |
%defattr(644,root,root,755) |
|
56 |
%doc COPYING.txt README.txt |
|
57 |
%dir %{_sysconfdir}/vigilo |
|
58 |
%dir %{_sysconfdir}/vigilo/%{module} |
|
59 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.conf |
|
60 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.py |
|
61 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.wsgi |
|
62 |
%config(noreplace) %attr(640,root,apache) %{_sysconfdir}/vigilo/%{module}/*.ini |
|
63 |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf |
|
64 |
%dir %{_localstatedir}/log/vigilo/ |
|
65 |
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
|
66 |
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} |
|
67 |
%attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions |
|
68 |
%{python_sitelib}/* |
|
69 |
%attr(755,root,root) %{_sysconfdir}/cron.daily/* |
|
70 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
pkg/vigiboard.rhel6.spec | ||
---|---|---|
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-distribute |
|
15 |
BuildRequires: python-babel |
|
16 |
|
|
17 |
Requires: python-distribute |
|
18 |
Requires: vigilo-turbogears |
|
19 |
Requires: python-tw-forms |
|
20 |
|
|
21 |
%description |
|
22 |
@DESCRIPTION@ |
|
23 |
This application is part of the Vigilo Project <http://vigilo-project.org> |
|
24 |
|
|
25 |
%prep |
|
26 |
%setup -q |
|
27 |
|
|
28 |
%build |
|
29 |
|
|
30 |
%install |
|
31 |
rm -rf $RPM_BUILD_ROOT |
|
32 |
make install_pkg \ |
|
33 |
DESTDIR=$RPM_BUILD_ROOT \ |
|
34 |
SYSCONFDIR=%{_sysconfdir} \ |
|
35 |
LOCALSTATEDIR=%{_localstatedir} \ |
|
36 |
PYTHON=%{__python} |
|
37 |
|
|
38 |
|
|
39 |
%post |
|
40 |
/sbin/service httpd condrestart > /dev/null 2>&1 || : |
|
41 |
|
|
42 |
%clean |
|
43 |
rm -rf $RPM_BUILD_ROOT |
|
44 |
|
|
45 |
%files |
|
46 |
%defattr(644,root,root,755) |
|
47 |
%doc COPYING.txt README.txt |
|
48 |
%dir %{_sysconfdir}/vigilo |
|
49 |
%dir %{_sysconfdir}/vigilo/%{module} |
|
50 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.conf |
|
51 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.py |
|
52 |
%config(noreplace) %{_sysconfdir}/vigilo/%{module}/*.wsgi |
|
53 |
%config(noreplace) %attr(640,root,apache) %{_sysconfdir}/vigilo/%{module}/*.ini |
|
54 |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf |
|
55 |
%dir %{_localstatedir}/log/vigilo/ |
|
56 |
%attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
|
57 |
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} |
|
58 |
%attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions |
|
59 |
%{python_sitelib}/* |
|
60 |
%attr(755,root,root) %{_sysconfdir}/cron.daily/* |
|
61 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
pkg/vigiboard.rhel7.spec | ||
---|---|---|
1 |
vigiboard.rhel6.spec |
Also available in: Unified diff