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

Annotation of /rpms/sitex/contribs7/sitex.spec

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


Revision 1.3 - (hide annotations) (download)
Wed Mar 4 15:04:57 2009 UTC (15 years, 9 months ago) by slords
Branch: MAIN
Changes since 1.2: +0 -2 lines
Remove fields set by buildsys

1 slords 1.2 # $Id$
2     # Authority: ????
3     # Name: David Harper
4    
5 slords 1.1 %define name sitex
6     %define version 0.7.4
7     %define release 418
8     Summary: SiteX is a flexible, easy to use content management system for small websites
9     Name: %{name}
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GNU GPL version 2
13     URL: http://sitex.bjsintay.com
14     Group: SMEserver/addon
15     #wget http://downloads.sourceforge.net/sitex/SiteX_074_build_418.zip
16     Source: SiteX_074_build_418.zip
17     BuildArchitectures: noarch
18     BuildRoot: /var/tmp/%{name}-%{version}
19     Requires: e-smith-release >= 7.0
20     AutoReqProv: no
21    
22     %description
23     http://sitex.bjsintay.com/
24     SiteX is a flexible, easy to use content management system for small websites
25    
26     %changelog
27     * Sat Dec 27 2008 David Harper <davidiwharper@hotmail.com> 0.7.4-418
28     - initial release
29     - builds from unchanged .zip
30    
31     %prep
32     %setup -c -n %{name}
33     %build
34     #drop in an unchanged .tgz, if required rename directory here, eg remove version number.
35     mkdir -p root/opt/
36     mv %{name} root/opt/sitex
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/sitex/content/' 'attr(775,www,www)' \
44     --dir 'opt/sitex/content/title_pictures/' 'attr(775,www,www)' \
45     > %{name}-%{version}-filelist
46    
47     %clean
48     cd ..
49     rm -rf %{name}
50    
51     %pre
52     %preun
53     %post
54     chown -R www.www /opt/sitex/content
55     chmod -R 775 /opt/sitex/content
56    
57     %postun
58    
59     %files -f %{name}-%{version}-filelist
60     %defattr(-,root,root)
61    

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