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