/[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.1 - (hide annotations) (download)
Wed Mar 4 14:54:39 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
Initial import of smeserver-sitex

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

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