SPECS: activecollab.spec (NEW) - new
glen
glen at pld-linux.org
Tue Jul 3 18:01:30 CEST 2007
Author: glen Date: Tue Jul 3 16:01:30 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
activecollab.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/activecollab.spec
diff -u /dev/null SPECS/activecollab.spec:1.1
--- /dev/null Tue Jul 3 18:01:30 2007
+++ SPECS/activecollab.spec Tue Jul 3 18:01:25 2007
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+Summary: activeCollab
+Name: activecollab
+Version: 0.7.1
+Release: 0.7
+License: HPL
+Group: Applications/WWW
+Source0: http://www.activecollab.com/files/0.7.1/activeCollab.tar.gz
+# Source0-md5: 7cf254743083243202e9d1152240ea1a
+URL: http://www.activecollab.com/
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires: php-gd
+Requires: php-mysql
+Requires: php-simplexml
+Requires: webapps
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _webapps /etc/webapps
+%define _webapp %{name}
+%define _sysconfdir %{_webapps}/%{_webapp}
+%define _appdir %{_datadir}/%{_webapp}
+
+%description
+ctiveCollab is an easy to use, web based, open source collaboration
+and project management tool. Set up an environment where you, your
+team and your clients can collaborate on active projects using a set
+of simple, functional tools.
+
+%prep
+%setup -q -n activecollab
+
+cat > apache.conf <<'EOF'
+Alias /%{name} %{_appdir}
+<Directory %{_appdir}>
+ Allow from all
+ AddDefaultCharset utf-8
+</Directory>
+EOF
+rm -f .htaccess
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
+cp -a . $RPM_BUILD_ROOT%{_appdir}
+rm -f $RPM_BUILD_ROOT%{_appdir}/apache.conf
+
+install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+
+%triggerin -- apache1 < 1.3.37-3, apache1-base
+%webapp_register apache %{_webapp}
+
+%triggerun -- apache1 < 1.3.37-3, apache1-base
+%webapp_unregister apache %{_webapp}
+
+%triggerin -- apache < 2.2.0, apache-base
+%webapp_register httpd %{_webapp}
+
+%triggerun -- apache < 2.2.0, apache-base
+%webapp_unregister httpd %{_webapp}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc license.txt readme.txt
+%dir %attr(750,root,http) %{_sysconfdir}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
+%{_appdir}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/07/03 16:01:25 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list