vigiboard / pkg / vigiboard.rhel6.spec @ cfa5e8c2
History | View | Annotate | Download (1.61 KB)
1 | 04a8f09e | Aurelien BOMPARD | %define module @SHORT_NAME@ |
---|---|---|---|
2 | e0c89dfc | Vincent QUEMENER | |
3 | 04a8f09e | Aurelien BOMPARD | Name: vigilo-%{module} |
4 | Summary: @SUMMARY@ |
||
5 | Version: @VERSION@ |
||
6 | 169b8ab1 | Aurelien BOMPARD | Release: @RELEASE@%{?dist} |
7 | 2d135e67 | Aurelien BOMPARD | Source0: %{name}-%{version}.tar.gz |
8 | 04a8f09e | Aurelien BOMPARD | URL: @URL@ |
9 | 90dc7d76 | Aurelien BOMPARD | Group: Applications/System |
10 | e0c89dfc | Vincent QUEMENER | 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 | 04a8f09e | Aurelien BOMPARD | @DESCRIPTION@ |
23 | e0c89dfc | Vincent QUEMENER | This application is part of the Vigilo Project <http://vigilo-project.org> |
24 | |||
25 | %prep |
||
26 | 2d135e67 | Aurelien BOMPARD | %setup -q |
27 | e0c89dfc | Vincent QUEMENER | |
28 | %build |
||
29 | |||
30 | %install |
||
31 | rm -rf $RPM_BUILD_ROOT |
||
32 | b8e1cd40 | Aurelien BOMPARD | make install_pkg \ |
33 | e0c89dfc | Vincent QUEMENER | DESTDIR=$RPM_BUILD_ROOT \ |
34 | SYSCONFDIR=%{_sysconfdir} \ |
||
35 | 7714207c | Aurelien BOMPARD | LOCALSTATEDIR=%{_localstatedir} \ |
36 | e0c89dfc | Vincent QUEMENER | 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 | 8b357a71 | Aurelien BOMPARD | %doc COPYING.txt README.txt |
48 | e0c89dfc | Vincent QUEMENER | %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 | 8f3fca99 | Francois POIROTTE | %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf |
55 | e0c89dfc | Vincent QUEMENER | %dir %{_localstatedir}/log/vigilo/ |
56 | %attr(750,apache,apache) %{_localstatedir}/log/vigilo/%{module} |
||
57 | 8f3fca99 | Francois POIROTTE | %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} |
58 | e0c89dfc | Vincent QUEMENER | %attr(750,apache,apache) %{_localstatedir}/cache/vigilo/sessions |
59 | %{python_sitelib}/* |
||
60 | 8f3fca99 | Francois POIROTTE | %attr(755,root,root) %{_sysconfdir}/cron.daily/* |
61 | %config(noreplace) %{_sysconfdir}/sysconfig/%{name} |