]> git.pld-linux.org Git - packages/activecollab.git/blame - activecollab.spec
- added missing -l in %description
[packages/activecollab.git] / activecollab.spec
CommitLineData
299442f4
JB
1Summary: activeCollab - collaboration and project management tool
2Summary(pl.UTF-8): activeCollab - narzędzie do współpracy i zarządzania projektami
ecf5b5a2
ER
3Name: activecollab
4Version: 0.7.1
5Release: 0.7
6License: HPL
7Group: Applications/WWW
299442f4 8Source0: http://www.activecollab.com/files/%{version}/activeCollab.tar.gz
ecf5b5a2
ER
9# Source0-md5: 7cf254743083243202e9d1152240ea1a
10URL: http://www.activecollab.com/
11BuildRequires: rpmbuild(macros) >= 1.268
12Requires: php-gd
13Requires: php-mysql
14Requires: php-simplexml
15Requires: webapps
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define _webapps /etc/webapps
20%define _webapp %{name}
21%define _sysconfdir %{_webapps}/%{_webapp}
22%define _appdir %{_datadir}/%{_webapp}
23
24%description
299442f4 25activeCollab is an easy to use, web based, open source collaboration
ecf5b5a2
ER
26and project management tool. Set up an environment where you, your
27team and your clients can collaborate on active projects using a set
28of simple, functional tools.
29
262e664b 30%description -l pl.UTF-8
299442f4
JB
31activeCollab to łatwe w użyciu, oparte o WWW, mające otwarte źródła
32narzędzie do współpracy i zarządzania projektami. Wystarczy uruchomić
33środowisko w miejscu gdzie zespół i klienci mogą współpracować nad
34aktywnymi projektami przy użyciu prostych, funkcjonalnych narzędzi.
35
ecf5b5a2
ER
36%prep
37%setup -q -n activecollab
38
39cat > apache.conf <<'EOF'
40Alias /%{name} %{_appdir}
41<Directory %{_appdir}>
42 Allow from all
43 AddDefaultCharset utf-8
44</Directory>
45EOF
46rm -f .htaccess
47
48%install
49rm -rf $RPM_BUILD_ROOT
50install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
51cp -a . $RPM_BUILD_ROOT%{_appdir}
52rm -f $RPM_BUILD_ROOT%{_appdir}/apache.conf
53
54install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
55install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
56
299442f4
JB
57%clean
58rm -rf $RPM_BUILD_ROOT
59
ecf5b5a2
ER
60%triggerin -- apache1 < 1.3.37-3, apache1-base
61%webapp_register apache %{_webapp}
62
63%triggerun -- apache1 < 1.3.37-3, apache1-base
64%webapp_unregister apache %{_webapp}
65
66%triggerin -- apache < 2.2.0, apache-base
67%webapp_register httpd %{_webapp}
68
69%triggerun -- apache < 2.2.0, apache-base
70%webapp_unregister httpd %{_webapp}
71
ecf5b5a2
ER
72%files
73%defattr(644,root,root,755)
74%doc license.txt readme.txt
75%dir %attr(750,root,http) %{_sysconfdir}
76%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
77%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
78%{_appdir}
This page took 0.097703 seconds and 4 git commands to generate.