1 Summary: activeCollab - collaboration and project management tool
2 Summary(pl.UTF-8): activeCollab - narzędzie do współpracy i zarządzania projektami
7 Group: Applications/WWW
8 Source0: http://www.activecollab.com/files/%{version}/activeCollab.tar.gz
9 # Source0-md5: 7cf254743083243202e9d1152240ea1a
10 URL: http://www.activecollab.com/
11 BuildRequires: rpmbuild(macros) >= 1.268
14 Requires: php-simplexml
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _webapps /etc/webapps
20 %define _webapp %{name}
21 %define _sysconfdir %{_webapps}/%{_webapp}
22 %define _appdir %{_datadir}/%{_webapp}
25 activeCollab is an easy to use, web based, open source collaboration
26 and project management tool. Set up an environment where you, your
27 team and your clients can collaborate on active projects using a set
28 of simple, functional tools.
31 activeCollab to łatwe w użyciu, oparte o WWW, mające otwarte źródła
32 narzędzie do współpracy i zarządzania projektami. Wystarczy uruchomić
33 środowisko w miejscu gdzie zespół i klienci mogą współpracować nad
34 aktywnymi projektami przy użyciu prostych, funkcjonalnych narzędzi.
37 %setup -q -n activecollab
39 cat > apache.conf <<'EOF'
40 Alias /%{name} %{_appdir}
41 <Directory %{_appdir}>
43 AddDefaultCharset utf-8
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
51 cp -a . $RPM_BUILD_ROOT%{_appdir}
52 rm -f $RPM_BUILD_ROOT%{_appdir}/apache.conf
54 install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
55 install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
58 rm -rf $RPM_BUILD_ROOT
60 %triggerin -- apache1 < 1.3.37-3, apache1-base
61 %webapp_register apache %{_webapp}
63 %triggerun -- apache1 < 1.3.37-3, apache1-base
64 %webapp_unregister apache %{_webapp}
66 %triggerin -- apache < 2.2.0, apache-base
67 %webapp_register httpd %{_webapp}
69 %triggerun -- apache < 2.2.0, apache-base
70 %webapp_unregister httpd %{_webapp}
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