/[smecontribs]/rpms/photos/contribs7/photos.spec
ViewVC logotype

Contents of /rpms/photos/contribs7/photos.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Tue Nov 25 16:20:15 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
Restore

1 # $Id: photos.spec,v 1.2 2008/04/02 15:03:55 slords Exp $
2 # Authority: fetcher
3 # Name: Craig D. Jensen
4
5 Summary: Web based, local photo cataloging db installed in /opt/photos
6 %define name photos
7 Name: %{name}
8 %define version 4.1
9 %define release 1
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 URL: http://acenet-tech.org/sme
14 Group: Application/Internet
15 Source: %{name}-%{version}.tar.gz
16 BuildArchitectures: noarch
17 BuildRoot: /var/tmp/%{name}-%{version}
18 Requires: smeserver-release >= 7.0
19 BuildRequires: e-smith-devtools
20 AutoReqProv: no
21
22 %description
23 alexking.org/projects/photos
24 Photos is a web-based,local photo cataloging database.
25 Photos is NOT a web photo gallery. Photos IS an application
26 for managing (storing, cataloging, and retrieving) digital photos.
27
28 %changelog
29 * Fri Mar 02 2007 Craig D. Jensen <craig.d.jensen@gmail.com>
30 - Naming in compliance with SME rpm builds
31 - No functional changes. Added GPG signatiure
32
33 * Mon Dec 18 2006 Craig D. Jensen <craig.d.jensen@gmail.com>
34 - initial release
35 - [4.1-1]
36
37 %prep
38 %setup
39
40 %build
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
45 rm -f %{name}-%{version}-filelist
46 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
47 --dir '/opt/photos' 'attr(755,www,www)' \
48 --dir '/opt/photos/temp' 'attr(755,www,www)' \
49 --dir '/opt/photos/saved_copies' 'attr(755,www,www)' \
50 --file '/opt/photos/temp/*' 'attr(777,www,www)' \
51 > %{name}-%{version}-filelist
52 echo "%doc COPYING" >> %{name}-%{version}-filelist
53
54 %clean
55 cd ..
56 rm -rf %{name}-%{version}
57
58 %pre
59
60 %preun
61 %post
62 %postun
63
64 %files -f %{name}-%{version}-filelist
65 %defattr(-,root,root)
66

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed