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

Annotation of /rpms/wordpress/contribs7/wordpress.spec

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


Revision 1.5 - (hide annotations) (download)
Wed Apr 2 15:04:00 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.4: +4 -0 lines
Add Id, Authority, Name

1 slords 1.5 # $Id$
2     # Authority: dungog
3     # Name: Stephen Noble
4    
5 slords 1.1 %define name wordpress
6 slords 1.3 %define version 2.3.2
7 slords 1.1 %define release 1
8     Summary: wordpress installed in /opt/wordpress
9     Name: %{name}
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GNU GPL version 2
13     URL: http://www.wordpress.org
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     AutoReqProv: no
21    
22     %description
23     wordpress installed in /opt/wordpress
24    
25     %changelog
26 slords 1.3 * Thu Jan 17 2008 Stephen Noble <support@dungog.net> 2.3.2-1
27     - upstream release
28    
29 slords 1.1 * Sun Dec 09 2007 Stephen Noble <support@dungog.net> 2.3.1-1
30     - upstream release
31    
32     * Fri Jul 06 2007 Stephen Noble <support@dungog.net> 2.2.1-1
33     - upstream release
34     - builds from unchanged .tar.gz
35    
36     * Thu May 4 2006 Stephen Noble <support@dungog.net>
37     - ./wp-admin/setup-config.php edit to chmod 0660
38     - permissions set
39     - [2.0.2-3]
40    
41     * Sun Apr 23 2006 Stephen Noble <support@dungog.net>
42     - some themes and plugins added
43     - [2.0.2-2]
44    
45     * Sat Apr 22 2006 Stephen Noble <support@dungog.net>
46     - initial release
47     - [2.0.2-1]
48    
49     %prep
50     %setup -c -n %{name}
51    
52     %build
53     #this lets you drop a .tar.gz in with the root of wordpress and it builds ok
54     mkdir -p root/opt
55     mv %{name} root/opt/
56     touch root/opt/wordpress/.htaccess
57    
58     %install
59     rm -rf $RPM_BUILD_ROOT
60     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
61     rm -f %{name}-%{version}-filelist
62     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
63     --dir '/opt/wordpress/wp-content' 'attr(755,www,www)' \
64     --file '/opt/wordpress/index.php' 'attr(660,www,www)' \
65     --file '/opt/wordpress/.htaccess' 'attr(660,www,www)' \
66     > %{name}-%{version}-filelist
67     #echo "%doc COPYING" >> %{name}-%{version}-filelist
68    
69     %clean
70     cd ..
71     rm -rf %{name}
72    
73     %pre
74     %preun
75     %post
76    
77     #this should be something else, just some, none ?
78     /bin/chown -R www.www /opt/wordpress/wp-content
79    
80     %postun
81    
82     %files -f %{name}-%{version}-filelist
83     %defattr(-,root,root)
84    
85    

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