John Berninger 5247492
Summary: WordPress blogging software
John Berninger 5247492
URL: http://www.wordpress.org
John Berninger 5247492
Name: wordpress
1d94be1
Version: 2.2.3
John Berninger 5247492
Group: Applications/Publishing
John Berninger 933c83d
Release: 0%{?dist}
John Berninger 933c83d
License: GPLv2
John Berninger 5247492
# Source0 with name-version does not work for web retrieval, 
John Berninger 5247492
# latest.tar.gz does not work for build
John Berninger 5247492
# Source0: http://wordpress.org/latest.tar.gz
John Berninger 7008296
Source0: http://wordpress.org/%{name}-%{version}.tar.gz
John Berninger 5247492
Source1: wordpress-httpd-conf
John Berninger ab62f59
Source2: README.fedora.wordpress
John Berninger 5247492
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
John Berninger bb1dfc5
Requires: php >= 4.2.0, httpd, php-mysql
John Berninger 5247492
BuildArch: noarch
John Berninger 5247492
John Berninger 5247492
%description
John Berninger 5247492
Wordpress is an online publishing / weblog package that makes it very easy,
John Berninger 5247492
almost trivial, to get information out to people on the web.
John Berninger 5247492
John Berninger 5247492
%prep
John Berninger 5247492
%setup -q -n wordpress
John Berninger 5247492
John Berninger 5247492
%install
John Berninger 5247492
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/wordpress
John Berninger 5247492
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress
John Berninger 5247492
install -m 0644 -D -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/wordpress.conf
John Berninger 5247492
cp -pr * ${RPM_BUILD_ROOT}%{_datadir}/wordpress
John Berninger 5247492
cat wp-config-sample.php | sed -e "s|dirname(__FILE__).'/'|'/usr/share/wordpress/'|g" > \
John Berninger 5247492
    ${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress/wp-config.php
John Berninger 5247492
/bin/ln -sf ../../../etc/wordpress/wp-config.php ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-config.php
John Berninger ab62f59
/bin/cp %{SOURCE2} ./README.fedora
John Berninger 5247492
# Remove empty files to make rpmlint happy
John Berninger 5247492
find ${RPM_BUILD_ROOT} -empty -exec rm -f {} \;
John Berninger 5247492
# These are docs, remove them from here, docify them later
John Berninger 5247492
rm -f ${RPM_BUILD_ROOT}%{_datadir}/wordpress/{license.txt,readme.html}
John Berninger 5247492
John Berninger 5247492
%clean
John Berninger 5247492
rm -rf ${RPM_BUILD_ROOT}
John Berninger 5247492
John Berninger 5247492
%files
John Berninger 5247492
%defattr(-,root,root,-)
John Berninger 5247492
%config(noreplace) %{_sysconfdir}/httpd/conf.d/wordpress.conf
John Berninger 5247492
%dir %{_datadir}/wordpress
John Berninger 5247492
%{_datadir}/wordpress/wp-admin
John Berninger 5247492
%{_datadir}/wordpress/wp-content
John Berninger 5247492
%{_datadir}/wordpress/wp-includes
John Berninger 5247492
%{_datadir}/wordpress/index.php
John Berninger 5247492
%doc license.txt
John Berninger 5247492
%doc readme.html
John Berninger ab62f59
%doc README.fedora
John Berninger bb1dfc5
%{_datadir}/wordpress/wp-app.php
John Berninger 5247492
%{_datadir}/wordpress/wp-atom.php
John Berninger 5247492
%{_datadir}/wordpress/wp-blog-header.php
John Berninger 5247492
%{_datadir}/wordpress/wp-comments-post.php
John Berninger 5247492
%{_datadir}/wordpress/wp-commentsrss2.php
John Berninger 5247492
%{_datadir}/wordpress/wp-config-sample.php
John Berninger 5247492
%{_datadir}/wordpress/wp-config.php
John Berninger 5247492
%config(noreplace) %{_sysconfdir}/wordpress/wp-config.php
John Berninger 17871ed
%{_datadir}/wordpress/wp-cron.php
John Berninger 5247492
%{_datadir}/wordpress/wp-feed.php
John Berninger 5247492
%{_datadir}/wordpress/wp-links-opml.php
John Berninger 5247492
%{_datadir}/wordpress/wp-login.php
John Berninger 5247492
%{_datadir}/wordpress/wp-mail.php
John Berninger 5247492
%{_datadir}/wordpress/wp-pass.php
John Berninger 5247492
%{_datadir}/wordpress/wp-rdf.php
John Berninger 5247492
%{_datadir}/wordpress/wp-register.php
John Berninger 5247492
%{_datadir}/wordpress/wp-rss.php
John Berninger 5247492
%{_datadir}/wordpress/wp-rss2.php
John Berninger 5247492
%{_datadir}/wordpress/wp-settings.php
John Berninger 5247492
%{_datadir}/wordpress/wp-trackback.php
John Berninger 5247492
%{_datadir}/wordpress/xmlrpc.php
John Berninger 5247492
%dir %{_sysconfdir}/wordpress
John Berninger 5247492
John Berninger 5247492
%changelog
1d94be1
* Tue Sep 11 2007 Adrian Reber <adrian@lisas.de> - 2.2.3-0
1d94be1
- updated to 2.2.3 (security release)
1d94be1
1d94be1
* Wed Aug 29 2007 John Berninger <john at ncphotography dot com> - 2.2.2-0
John Berninger 933c83d
- update to upstream 2.2.2
John Berninger 933c83d
- license tag update
John Berninger 933c83d
John Berninger bb1dfc5
* Wed Jul  4 2007 John Berninger <john at ncphotography dot com> - 2.2.1-1
John Berninger bb1dfc5
- update to upstream 2.2.1 to fix various vulnerabilities
John Berninger bb1dfc5
John Berninger 7008296
* Mon Apr 16 2007 John Berninger <jwb at redhat dot com> - 2.1.3-1
John Berninger 7008296
- update to 2.1.3 final - bz235912
John Berninger 7008296
John Berninger 9247f27
* Mon Mar 26 2007 John Berninger <jwb at redhat dot com> - 2.1.3-rc2
John Berninger 9247f27
- update to 2.1.3rc2 for bz 233703
John Berninger 9247f27
John Berninger 92da5c1
* Sat Mar  3 2007 John Berninger <jwb at redhat dot com> - 2.1.2-0
John Berninger 92da5c1
- update to 2.1.2 - backdoor exploit introduced upstream in 2.1.1 - bz 230825
John Berninger 92da5c1
John Berninger 6237923
* Tue Feb 27 2007 John Berninger <jwb at redhat dot com> - 2.1.1-0
John Berninger 6237923
- update to 2.1.1 for vuln fix - bz 229991
John Berninger 6237923
John Berninger 17871ed
* Wed Jan 31 2007 John Berninger <jwb at redhat dot com> - 2.1-0
John Berninger 17871ed
- update to v 2.1 to fix multiple bz/vuln's
John Berninger 17871ed
John Berninger f38988b
* Wed Dec 27 2006 John Berninger <jwb at redhat dot com> - 2.0.5-1
John Berninger f38988b
- ver 2.0.5 to fix bz 220818
John Berninger f38988b
John Berninger 53afb9d
* Sun Dec  3 2006 John Berninger <jwb at redhat dot com> - 2.0.4-4
John Berninger 53afb9d
- Remove mysql-server dependency for real this time.
John Berninger 53afb9d
John Berninger c5e495b
* Sun Dec  3 2006 John Berninger <jwb at redhat dot com> - 2.0.4-3
John Berninger c5e495b
- Remove mysql-server dependency
John Berninger c5e495b
John Berninger f8e88b0
* Sun Dec  3 2006 John Berninger <jwb at redhat dot com> - 2.0.4-2
John Berninger f8e88b0
- Fix wp-db-backup.php vuln in BZ 213985
John Berninger f8e88b0
John Berninger 63cf95b
* Thu Oct 26 2006 John Berninger <jwb at redhat dot com> - 2.0.4-1
John Berninger 63cf95b
- Doc fix for BZ 207822
John Berninger 63cf95b
John Berninger c7ecefd
* Sat Aug 12 2006 John Berninger <jwb at redhat dot com> - 2.0.4-0
John Berninger c7ecefd
- Upstream security vulns - bz 201989
John Berninger c7ecefd
John Berninger 7170750
* Sun Jul 23 2006 John Berninger <jwb at redhat dot com> - 2.0.3-4
John Berninger 7170750
- Fix broken upgrade path from FE4
John Berninger 7170750
John Berninger efd2813
* Tue Jul  4 2006 John Berninger <jwb at redhat dot com> - 2.0.3-3
John Berninger ab62f59
- Add a README.fedora file
John Berninger ab62f59
- Add php-mysql requires
John Berninger ab62f59
John Berninger 5247492
* Tue Jun 20 2006 John Berninger <jwb at redhat dot com> - 2.0.3-2
John Berninger 5247492
- Remove use of installprefix macro
John Berninger 5247492
- %{_datadir}/wordpress/wp-config.php is not a config file
John Berninger 5247492
- Symlink is relative
John Berninger 5247492
John Berninger 5247492
* Mon Jun 19 2006 John Berninger <jwb at redhat dot com> - 2.0.3-1
John Berninger 5247492
- Changes from Jarod Wilson as below
John Berninger 5247492
- Update to 2.0.3
John Berninger 5247492
- Rearrange to use /usr/share/wordpress and /etc/wordpress
John Berninger 5247492
- Remove patch (included upstream)
John Berninger 5247492
- Remove empty files to make rpmlint happy
John Berninger 5247492
John Berninger 5247492
* Tue May 30 2006 John Berninger <jwb at redhat dot com> - 2.0.2-1
John Berninger 5247492
- Added patch for \n cache injection - upstream changeset #3797
John Berninger 5247492
John Berninger 5247492
* Sat May 27 2006 John Berninger <jwb at redhat dot com> - 2.0.2-0
John Berninger 5247492
- Initial build