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

Annotation of /rpms/photos/contribs7/photos.spec

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


Revision 1.1 - (hide annotations) (download)
Tue Feb 26 01:05:31 2008 UTC (16 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: photos-4_1-1_el4_sme
Remove version from spec

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

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