SPECS: gallery-module-exif.spec (NEW), gallery.spec - exif module
blues
blues at pld-linux.org
Fri Jul 28 15:48:43 CEST 2006
Author: blues Date: Fri Jul 28 13:48:43 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- exif module
---- Files affected:
SPECS:
gallery-module-exif.spec (NONE -> 1.1) (NEW), gallery.spec (1.44 -> 1.45)
---- Diffs:
================================================================
Index: SPECS/gallery-module-exif.spec
diff -u /dev/null SPECS/gallery-module-exif.spec:1.1
--- /dev/null Fri Jul 28 15:48:43 2006
+++ SPECS/gallery-module-exif.spec Fri Jul 28 15:48:38 2006
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+%define _module exif
+Summary: EXIF/IPTC module for Gallery
+Summary(pl): Moduł do odczytu EXIF/IPTC dla Gallery
+Name: gallery-module-%{_module}
+Version: 1.0.6
+Release: 0.1
+License: GPL
+Group: Applications/Publishing
+Source0: http://dl.sourceforge.net/gallery/g2-module-%{_module}-%{version}.tar.gz
+# Source0-md5: 94c70c26238b9812c7df7083159c53b8
+URL: http://codex.gallery2.org/index.php/Gallery2:Modules:exif
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires: gallery >= 2.1.0
+Requires: php-exif
+Requires: webapps
+Provides: external-gallery-module
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _appdir %{_datadir}/gallery/modules/%{_module}
+
+%description
+Makes block available to themes for display of EXIF/IPTC metadata from image files. Configure fields to display in site admin. Site admin can also configure whether EXIF description or IPTC keywords are imported into Gallery fields for newly added items.
+
+%prep
+%setup -q -n modules
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+
+cd %{_module}
+cp -R * $RPM_BUILD_ROOT%{_appdir}
+
+# Cleanups:
+rm -rf $RPM_BUILD_ROOT%{_appdir}/{MANIFEST,test/}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{_module}/test
+%{_appdir}
+
+%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.1 2006/07/28 13:48:38 blues
+- exif module
+
================================================================
Index: SPECS/gallery.spec
diff -u SPECS/gallery.spec:1.44 SPECS/gallery.spec:1.45
--- SPECS/gallery.spec:1.44 Fri Jul 28 15:33:34 2006
+++ SPECS/gallery.spec Fri Jul 28 15:48:38 2006
@@ -86,6 +86,11 @@
ln -s %{_sysconfdir}/config.php $RPM_BUILD_ROOT%{_appdir}/config.php
ln -s %{_sysconfdir}/login.txt $RPM_BUILD_ROOT%{_appdir}/login.txt
+## Cleanup modules that are avaible in separate packages:
+for module in exif; do
+ rm -rf $RPM_BUILD_ROOT%{_appdir}/modules/$module
+done
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -137,6 +142,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.45 2006/07/28 13:48:38 blues
+- exif module
+
Revision 1.44 2006/07/28 13:33:34 blues
- Provides/Conflicts external-gallery-module. Some modules should not be
present from initial instalation procedure. The procedure will fail with
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gallery.spec?r1=1.44&r2=1.45&f=u
More information about the pld-cvs-commit
mailing list