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

Contents of /rpms/sitex/contribs7/sitex.spec

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


Revision 1.5 - (show annotations) (download)
Thu Mar 4 16:11:51 2010 UTC (14 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Update headers

1 # $Id: sitex.spec,v 1.4 2009/03/04 15:11:11 slords Exp $
2 # Authority: nocvs
3 # Name: David Harper
4
5 %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 BuildRequires: e-smith-devtools >= 1.13.1-03
19 BuildRoot: /var/tmp/%{name}-%{version}
20 Requires: e-smith-release >= 7.0
21 AutoReqProv: no
22
23 %description
24 http://sitex.bjsintay.com/
25 SiteX is a flexible, easy to use content management system for small websites
26
27 %changelog
28 * Sat Dec 27 2008 David Harper <davidiwharper@hotmail.com> 0.7.4-418
29 - initial release
30 - builds from unchanged .zip
31
32 %prep
33 %setup -c -n %{name}
34 %build
35 #drop in an unchanged .tgz, if required rename directory here, eg remove version number.
36 mkdir -p root/opt/
37 mv %{name} root/opt/sitex
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/sitex/content/' 'attr(775,www,www)' \
45 --dir 'opt/sitex/content/title_pictures/' 'attr(775,www,www)' \
46 > %{name}-%{version}-filelist
47
48 %clean
49 cd ..
50 rm -rf %{name}
51
52 %pre
53 %preun
54 %post
55 chown -R www.www /opt/sitex/content
56 chmod -R 775 /opt/sitex/content
57
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