summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2006-08-27 13:29:07 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitecb3ab72a1533aef8afff7c389f1f96a34c2a1dc (patch)
tree4f1c673a0da6bc5466faa37f8f0576bcad9fc9db
parent2388450639893f779c3e965480a94a4ec6f04b79 (diff)
downloadgallery-ecb3ab72a1533aef8afff7c389f1f96a34c2a1dc.zip
gallery-ecb3ab72a1533aef8afff7c389f1f96a34c2a1dc.tar.gz
- login.txt needed only by setup
Changed files: gallery.spec -> 1.46
-rw-r--r--gallery.spec16
1 files changed, 9 insertions, 7 deletions
diff --git a/gallery.spec b/gallery.spec
index 46c4b2a..95161aa 100644
--- a/gallery.spec
+++ b/gallery.spec
@@ -1,24 +1,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
@@ -64,6 +66,7 @@ pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
%prep
%setup -q -n %{name}2
+%patch0 -p1
rm -f LICENSE.txt *.bat
@@ -116,13 +119,11 @@ rm -rf $RPM_BUILD_ROOT
%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
@@ -131,6 +132,7 @@ rm -rf $RPM_BUILD_ROOT
%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