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

Contents of /rpms/wordpress/contribs7/wordpress.spec

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


Revision 1.2 - (show annotations) (download)
Sun Dec 23 20:59:36 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: wordpress-2_3_1-1_el4_sme
Changes since 1.1: +0 -2 lines
Fix spec

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

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