SPECS: bugzilla.spec - 2.22

glen glen at pld-linux.org
Sun Apr 23 12:05:37 CEST 2006


Author: glen                         Date: Sun Apr 23 10:05:37 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 2.22

---- Files affected:
SPECS:
   bugzilla.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/bugzilla.spec
diff -u SPECS/bugzilla.spec:1.21 SPECS/bugzilla.spec:1.22
--- SPECS/bugzilla.spec:1.21	Mon Apr 17 20:39:40 2006
+++ SPECS/bugzilla.spec	Sun Apr 23 12:05:32 2006
@@ -6,12 +6,12 @@
 Summary:	Bug tracking system
 Summary(pl):	System śledzenia błędów
 Name:		bugzilla
-Version:	2.20.1
+Version:	2.22
 Release:	0.1
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://ftp.mozilla.org/pub/mozilla.org/webtools/%{name}-%{version}.tar.gz
-# Source0-md5:	b9c74195ce0f446be40b3e81104b934d
+# Source0-md5:	bbf2f1ec5607978d39855df104231973
 Source1:	%{name}.conf
 Patch0:		%{name}-httpd_user.patch
 Patch1:		%{name}-chdir.patch
@@ -28,8 +28,8 @@
 %define		_webapp		%{name}
 %define		_sysconfdir	%{_webapps}/%{_webapp}
 %define		_appdir		%{_datadir}/%{_webapp}
-# see TODO
-%define		_noautoreq		'perl(DBD::Pg)'
+# Don't enforce DBD driver and exclude optional packages according to release notes
+%define		_noautoreq		'perl(DBD::*)' perl(Chart::Base) perl(GD) perl(GD::Graph) perl(GD::Text::Align) perl(Net::LDAP) perl(PatchReader) perl(XML::Twig) perl(Image::Magick)
 
 %description
 Bugzilla is the Bug-Tracking System from the Mozilla project.
@@ -49,12 +49,14 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}/Bugzilla,/var/lib/%{name}/{data,graphs}}
 
-install *.{cgi,html,jpg,js,pl,pm,txt,dtd,xul} $RPM_BUILD_ROOT%{_appdir}
+install *.{cgi,js,pl,pm,txt,dtd,xul} $RPM_BUILD_ROOT%{_appdir}
 cp -a Bugzilla $RPM_BUILD_ROOT%{_appdir}
 cp -a images js skins template $RPM_BUILD_ROOT%{_appdir}
 
 ln -s /var/lib/%{name}/data $RPM_BUILD_ROOT%{_appdir}
 ln -s /var/lib/%{name}/graphs $RPM_BUILD_ROOT%{_appdir}
+mv $RPM_BUILD_ROOT%{_appdir}/globals.pl $RPM_BUILD_ROOT%{_sysconfdir}
+ln -s %{_sysconfdir}/globals.pl $RPM_BUILD_ROOT%{_appdir}/globals.pl
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
@@ -76,11 +78,12 @@
 
 %files
 %defattr(644,root,root,755)
-%doc QUICKSTART README UPGRADING UPGRADING-pre-2.8 docs/rel_notes.txt docs/txt/Bugzilla-Guide.txt
+%doc QUICKSTART README UPGRADING* docs/rel_notes.txt docs/txt/Bugzilla-Guide.txt
 %doc contrib docs/html
 %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
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.pl
 
 %dir %{_appdir}
 %{_appdir}/Bugzilla
@@ -90,16 +93,13 @@
 %{_appdir}/js
 %{_appdir}/skins
 %{_appdir}/template
-%attr(755,root,root) %{_appdir}/*.cgi
-%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_appdir}/globals.pl
-%{_appdir}/[!g]*.pl
+%{_appdir}/*.pl
 %{_appdir}/*.dtd
-%{_appdir}/*.html
 %{_appdir}/*.js
-%{_appdir}/*.jpg
 %{_appdir}/*.pm
 %{_appdir}/*.txt
 %{_appdir}/*.xul
+%attr(755,root,root) %{_appdir}/*.cgi
 %dir /var/lib/%{name}
 %attr(770,root,http) /var/lib/%{name}/data
 %attr(775,root,http) /var/lib/%{name}/graphs
@@ -110,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2006/04/23 10:05:32  glen
+- 2.22
+
 Revision 1.21  2006/04/17 18:39:40  glen
 - 2.20.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bugzilla.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list