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

Annotation of /rpms/smeserver-sitex/contribs7/smeserver-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
CVS Tags: smeserver-sitex-1_0-3_el4_sme
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 smeserver-sitex
6     %define version 1.0
7     %define release 3
8     Summary: SME Server integration RPM for SiteX, a content management system
9     Name: %{name}
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GNU GPL version 2
13     URL: http://www.david-harper.com/
14     Group: SMEserver/addon
15     Source: %{name}-%{version}.tar.gz
16     BuildArchitectures: noarch
17     BuildRequires: e-smith-devtools >= 1.13.1-03
18     BuildRoot: /var/tmp/%{name}-%{version}
19     Requires: e-smith-release >= 7.0
20     Requires: sitex
21     AutoReqProv: no
22    
23     %description
24     SME Server integration RPM for SiteX, a content management system
25    
26     %changelog
27     * Tue Mar 3 2009 David Harper <davidiwharper@hotmail.com> 1.0-3
28     - Fix security issues with globals.php.inc [SME: 5043]
29     * Sun Dec 28 2008 David Harper<davidiwharper@hotmail.com> 1.0-2
30     - better SME integration
31     * Sat Dec 27 2008 David Harper<davidiwharper@hotmail.com> 1.0-1
32     - initial release
33    
34     %prep
35     %setup -c -n %{name}-%{version}
36     mv %{name}-%{version} root/
37    
38     %build
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 > %{name}-%{version}-filelist
44     # echo "%doc COPYING" >> %{name}-%{version}-filelist
45    
46     %clean
47     cd ..
48     rm -rf %{name}-%{version}
49    
50     %pre
51     %preun
52     %post
53     echo ""
54     echo "see http://wiki.contribs.org/SiteX for more information"
55    
56     %postun
57     #uninstall
58     if [ $1 = 0 ] ; then
59     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
60     /usr/bin/sv h /service/httpd-e-smith
61     fi
62    
63     %files -f %{name}-%{version}-filelist
64     %defattr(-,root,root)
65    

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