SPECS: gallery.spec - login.txt needed only by setup
glen
glen at pld-linux.org
Sun Aug 27 15:29:12 CEST 2006
Author: glen Date: Sun Aug 27 13:29:12 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- login.txt needed only by setup
---- Files affected:
SPECS:
gallery.spec (1.45 -> 1.46)
---- Diffs:
================================================================
Index: SPECS/gallery.spec
diff -u SPECS/gallery.spec:1.45 SPECS/gallery.spec:1.46
--- SPECS/gallery.spec:1.45 Fri Jul 28 15:48:38 2006
+++ SPECS/gallery.spec Sun Aug 27 15:29:07 2006
@@ -2,24 +2,26 @@
# TODO:
# - use external libs, not the included ones: pear, smarty, adodb
# - move to separate packages each: theme, module.
+%define _snap 20060728
+%define _rel 0.3
Summary: Web based photo album viewer and creator
Summary(pl): Przeglądarka i generator albumów zdjęć w postaci stron WWW
Name: gallery
Version: 2.1.1a
-%define _snap 20060728
-Release: 1.%{_snap}.0.1
+Release: 1.%{_snap}.%{_rel}
License: GPL
Group: Applications/Publishing
#Source0: http://dl.sourceforge.net/gallery/%{name}-%{version}-full.tar.gz
Source0: http://galleryupdates.jpmullan.com/G2/%{name}-nightly.tar.gz
# Source0-md5: 6d609d4bbce81c7719799ad953a8b7d1
Source1: %{name}-apache.conf
+Patch0: %{name}-setup.patch
URL: http://gallery.sourceforge.net/
BuildRequires: rpmbuild(macros) >= 1.268
-Requires: webapps
+Requires: php >= 3:4.1.0
Requires: php-gettext
Requires: php-pcre
-Requires: php >= 3:4.1.0
+Requires: webapps
#Suggests: apache(mod_rewrite)
#Suggests: jhead
#Suggests: jpegtran
@@ -65,6 +67,7 @@
%prep
%setup -q -n %{name}2
+%patch0 -p1
rm -f LICENSE.txt *.bat
@@ -117,13 +120,11 @@
%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}/config.php
-%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/login.txt
%dir %{_appdir}
%dir /var/lib/gallery
%dir %attr(770,root,http) /var/lib/gallery/albums
%{_appdir}/*.php
%{_appdir}/*.inc
-%{_appdir}/login.txt
%{_appdir}/images
%{_appdir}/lib
%{_appdir}/modules
@@ -132,9 +133,10 @@
%files setup
%defattr(644,root,root,755)
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/login.txt
%{_appdir}/config.php
%{_appdir}/install
-#/var/lib/gallery/setup
+%{_appdir}/login.txt
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -142,6 +144,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.46 2006/08/27 13:29:07 glen
+- login.txt needed only by setup
+
Revision 1.45 2006/07/28 13:48:38 blues
- exif module
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gallery.spec?r1=1.45&r2=1.46&f=u
More information about the pld-cvs-commit
mailing list