SPECS: joomla.spec (NEW) - something screwed my local repo
baggins
baggins at pld-linux.org
Thu Feb 2 18:53:49 CET 2006
Author: baggins Date: Thu Feb 2 17:53:49 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- something screwed my local repo
---- Files affected:
SPECS:
joomla.spec (1.1 -> 1.2) (NEW)
---- Diffs:
================================================================
Index: SPECS/joomla.spec
diff -u /dev/null SPECS/joomla.spec:1.2
--- /dev/null Thu Feb 2 18:53:49 2006
+++ SPECS/joomla.spec Thu Feb 2 18:53:44 2006
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+# TODO:
+# - webapp support
+#
+Summary: Content management system
+Name: joomla
+Version: 1.0.7
+Release: 0.1
+License: GPL v2
+Group: Applications/Databases/Interfaces
+# http://developer.joomla.org/sf/frs/do/downloadFile/projects.joomla/frs.joomla_1_0.1_0_7/frs3338
+Source0: Joomla_%{version}-Stable-Full_Package.tar.bz2
+# Source0-md5: a1ba209fb7ba2d73670fdb8106f2079e
+Patch0: %{name}-config.patch
+URL: http://www.joomla.org/
+Requires: php
+Requires: php-gd
+Requires: php-mysql
+Requires: php-pcre
+Requires: php-session
+Requires: apache >= 2.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _joomladir %{_datadir}/%{name}
+%define _joomladata /var/lib/moodle
+%define _sysconfdir /etc/%{name}
+
+%description
+Joomla! is one of the most powerful Open Source Content Management
+Systems on the planet. It is used all over the world for everything
+from simple websites to complex corporate applications.
+Joomla! is easy to install, simple to manage, and reliable.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_joomladir},%{_joomladata},%{_sysconfdir}}
+
+# Instalation:
+cp -R * $RPM_BUILD_ROOT%{_joomladir}
+
+# Play with configs:
+sed -e 's|@JOOMLADIR@|%{_joomladir}|g' -e 's|@JOOMLADATA@|%{_joomladata}|g' \
+ $RPM_BUILD_ROOT%{_joomladir}/configuration.php-dist > $RPM_BUILD_ROOT%{_sysconfdir}/configuration.php
+ln -sf %{_sysconfdir}/configuration.php $RPM_BUILD_ROOT%{_joomladir}/configuration.php
+
+#install %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/httpd.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/configuration.php
+#%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
+%dir %{_joomladir}
+%{_joomladir}/*.php
+%attr(771,root,http) %dir %{_joomladata}
+
+%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.2 2006/02/02 17:53:44 baggins
+- something screwed my local repo
+
+Revision 1.1.2.1 2006/02/02 17:50:37 baggins
+- initial revision
+
================================================================
More information about the pld-cvs-commit
mailing list