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