SPECS: rt.spec - use working conf as default for webapps - old configs bac...

paszczus paszczus at pld-linux.org
Tue Jan 20 11:22:55 CET 2009


Author: paszczus                     Date: Tue Jan 20 10:22:55 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use working conf as default  for webapps
- old configs back to /usr/src/examples
- added apache modules Requires
- rel 1.2

---- Files affected:
SPECS:
   rt.spec (1.70 -> 1.71) 

---- Diffs:

================================================================
Index: SPECS/rt.spec
diff -u SPECS/rt.spec:1.70 SPECS/rt.spec:1.71
--- SPECS/rt.spec:1.70	Tue Jan 20 10:50:46 2009
+++ SPECS/rt.spec	Tue Jan 20 11:22:49 2009
@@ -40,13 +40,14 @@
 Summary(pl.UTF-8):	Request Tracker - system do śledzenia zleceń
 Name:		rt
 Version:	3.8.2
-Release:	1.1
+Release:	1.2
 License:	GPL v2
 Group:		Applications
 Source0:	http://download.bestpractical.com/pub/rt/release/%{name}-%{version}.tar.gz
 # Source0-md5:	100b1fd791e229c4338c0d056c65c12f
 Source1:	%{name}-apache_dir.conf
 Source2:	%{name}-apache_vhost.conf
+Source3:	%{name}-apache.conf
 Patch0:		%{name}-layout.patch
 Patch1:		%{name}-config.patch
 URL:		http://www.bestpractical.com/rt/
@@ -116,6 +117,9 @@
 BuildRequires:	perl-base >= 5.8.0
 BuildRequires:	perl-libnet
 Requires:	apache-base >= 2.2.0
+Requires:	apache-mod_authz_host >= 2.2.0
+Requires:	apache-mod_perl >= 2.0
+Requires:	perl-Apache-DBI
 Requires:	perl-Apache-Session >= %{perl_apache_session_ver}
 Requires:	perl-CGI >= %{perl_cgi_ver}
 Requires:	perl-CSS-Squish >= %{perl_css_squish_ver}
@@ -221,12 +225,14 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir} \
 	$RPM_BUILD_ROOT%{masonstatedir} \
+	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
 	$RPM_BUILD_ROOT%{_webappsdir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-cat %{SOURCE1} %{SOURCE2} > $RPM_BUILD_ROOT%{_webappsdir}/httpd.conf
+install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install %{SOURCE3} $RPM_BUILD_ROOT%{_webappsdir}/httpd.conf
 
 # unneeded in installed copy
 rm -f $RPM_BUILD_ROOT%{_sbindir}/rt-test-dependencies
@@ -259,6 +265,7 @@
 %{_datadir}/rt3/html
 %{_libdir}/*
 %dir %attr(770,root,http) %{masonstatedir}
+%{_examplesdir}/%{name}-%{version}
 
 %files cli
 %defattr(644,root,root,755)
@@ -270,6 +277,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2009/01/20 10:22:49  paszczus
+- use working conf as default  for webapps
+- old configs back to /usr/src/examples
+- added apache modules Requires
+- rel 1.2
+
 Revision 1.70  2009/01/20 09:50:46  paszczus
 - added %dir for webapps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rt.spec?r1=1.70&r2=1.71&f=u



More information about the pld-cvs-commit mailing list