/[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.4 - (hide annotations) (download)
Fri Jan 18 02:51:08 2008 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: wordpress-2_3_2-1_el4_sme
Changes since 1.3: +0 -2 lines
Fix spec

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

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