Summary: Web based, local photo cataloging db installed in /opt/photos %define name photos Name: %{name} %define version 4.1 %define release 1 Version: %{version} Release: %{release}%{?dist} License: GPL URL: http://acenet-tech.org/sme Group: Application/Internet Source: %{name}-%{version}.tar.gz BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} Requires: smeserver-release >= 7.0 BuildRequires: e-smith-devtools AutoReqProv: no %description alexking.org/projects/photos Photos is a web-based,local photo cataloging database. Photos is NOT a web photo gallery. Photos IS an application for managing (storing, cataloging, and retrieving) digital photos. %changelog * Fri Mar 02 2007 Craig D. Jensen - Naming in compliance with SME rpm builds - No functional changes. Added GPG signatiure * Mon Dec 18 2006 Craig D. Jensen - initial release - [4.1-1] %prep %setup %build %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --dir '/opt/photos' 'attr(755,www,www)' \ --dir '/opt/photos/temp' 'attr(755,www,www)' \ --dir '/opt/photos/saved_copies' 'attr(755,www,www)' \ --file '/opt/photos/temp/*' 'attr(777,www,www)' \ > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean cd .. rm -rf %{name}-%{version} %pre %preun %post %postun %files -f %{name}-%{version}-filelist %defattr(-,root,root)