auto-import wordpress-2.0.3-2 on branch devel from
wordpress-2.0.3-2.src.rpm
This commit is contained in:
parent
ceaea118ad
commit
41d26ae636
4 changed files with 95 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
wordpress-2.0.3.tar.gz
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
0ad0696351cba9ef9b4a3dd97b1f327b wordpress-2.0.3.tar.gz
|
||||
5
wordpress-httpd-conf
Normal file
5
wordpress-httpd-conf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Alias /wordpress /usr/share/wordpress
|
||||
|
||||
<Directory /usr/share/wordpress>
|
||||
AllowOverride Options
|
||||
</Directory>
|
||||
88
wordpress.spec
Normal file
88
wordpress.spec
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
Summary: WordPress blogging software
|
||||
URL: http://www.wordpress.org
|
||||
Name: wordpress
|
||||
Version: 2.0.3
|
||||
Group: Applications/Publishing
|
||||
Release: 2%{?dist}
|
||||
License: GPL
|
||||
# Source0 with name-version does not work for web retrieval,
|
||||
# latest.tar.gz does not work for build
|
||||
# Source0: http://wordpress.org/latest.tar.gz
|
||||
Source0: http://wordpress.org/%{name}-%{version}.tar.gz
|
||||
Source1: wordpress-httpd-conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: php >= 4.1.0, httpd, mysql-server
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Wordpress is an online publishing / weblog package that makes it very easy,
|
||||
almost trivial, to get information out to people on the web.
|
||||
|
||||
%prep
|
||||
%setup -q -n wordpress
|
||||
|
||||
%install
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/wordpress
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress
|
||||
install -m 0644 -D -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/wordpress.conf
|
||||
cp -pr * ${RPM_BUILD_ROOT}%{_datadir}/wordpress
|
||||
cat wp-config-sample.php | sed -e "s|dirname(__FILE__).'/'|'/usr/share/wordpress/'|g" > \
|
||||
${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress/wp-config.php
|
||||
/bin/ln -sf ../../../etc/wordpress/wp-config.php ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-config.php
|
||||
# Remove empty files to make rpmlint happy
|
||||
find ${RPM_BUILD_ROOT} -empty -exec rm -f {} \;
|
||||
# These are docs, remove them from here, docify them later
|
||||
rm -f ${RPM_BUILD_ROOT}%{_datadir}/wordpress/{license.txt,readme.html}
|
||||
|
||||
%clean
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/wordpress.conf
|
||||
%dir %{_datadir}/wordpress
|
||||
%{_datadir}/wordpress/wp-admin
|
||||
%{_datadir}/wordpress/wp-content
|
||||
%{_datadir}/wordpress/wp-includes
|
||||
%{_datadir}/wordpress/index.php
|
||||
%doc license.txt
|
||||
%doc readme.html
|
||||
%{_datadir}/wordpress/wp-atom.php
|
||||
%{_datadir}/wordpress/wp-blog-header.php
|
||||
%{_datadir}/wordpress/wp-comments-post.php
|
||||
%{_datadir}/wordpress/wp-commentsrss2.php
|
||||
%{_datadir}/wordpress/wp-config-sample.php
|
||||
%{_datadir}/wordpress/wp-config.php
|
||||
%config(noreplace) %{_sysconfdir}/wordpress/wp-config.php
|
||||
%{_datadir}/wordpress/wp-feed.php
|
||||
%{_datadir}/wordpress/wp-links-opml.php
|
||||
%{_datadir}/wordpress/wp-login.php
|
||||
%{_datadir}/wordpress/wp-mail.php
|
||||
%{_datadir}/wordpress/wp-pass.php
|
||||
%{_datadir}/wordpress/wp-rdf.php
|
||||
%{_datadir}/wordpress/wp-register.php
|
||||
%{_datadir}/wordpress/wp-rss.php
|
||||
%{_datadir}/wordpress/wp-rss2.php
|
||||
%{_datadir}/wordpress/wp-settings.php
|
||||
%{_datadir}/wordpress/wp-trackback.php
|
||||
%{_datadir}/wordpress/xmlrpc.php
|
||||
%dir %{_sysconfdir}/wordpress
|
||||
|
||||
%changelog
|
||||
* Tue Jun 20 2006 John Berninger <jwb at redhat dot com> - 2.0.3-2
|
||||
- Remove use of installprefix macro
|
||||
- %{_datadir}/wordpress/wp-config.php is not a config file
|
||||
- Symlink is relative
|
||||
|
||||
* Mon Jun 19 2006 John Berninger <jwb at redhat dot com> - 2.0.3-1
|
||||
- Changes from Jarod Wilson as below
|
||||
- Update to 2.0.3
|
||||
- Rearrange to use /usr/share/wordpress and /etc/wordpress
|
||||
- Remove patch (included upstream)
|
||||
- Remove empty files to make rpmlint happy
|
||||
|
||||
* Tue May 30 2006 John Berninger <jwb at redhat dot com> - 2.0.2-1
|
||||
- Added patch for \n cache injection - upstream changeset #3797
|
||||
|
||||
* Sat May 27 2006 John Berninger <jwb at redhat dot com> - 2.0.2-0
|
||||
- Initial build
|
||||
Loading…
Add table
Add a link
Reference in a new issue