/[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.8 - (hide annotations) (download)
Tue Nov 25 16:20:36 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +0 -0 lines
Restore

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

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