John Berninger 5247492
Summary: WordPress blogging software
John Berninger 5247492
URL: http://www.wordpress.org
John Berninger 5247492
Name: wordpress
a92ba45
Version: 2.6.2
John Berninger 5247492
Group: Applications/Publishing
75c09c6
Release: 1%{?dist}
John Berninger 296baad
License: GPLv2
John Berninger e57d8c9
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 66829ad
Requires: php >= 4.1.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
47b3142
# disable-wordpress-core-update, updates are always installed via rpm
9d33924
# this does not disable the wordpress-plugins-update check
9d33924
sed -i -e "s,^add_action,#add_action,g" wp-includes/update.php
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 5247492
%{_datadir}/wordpress/wp-atom.php
d80e3a3
%{_datadir}/wordpress/wp-app.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 774581d
%{_datadir}/wordpress/wp-cron.php
John Berninger 5247492
%{_datadir}/wordpress/wp-feed.php
John Berninger 5247492
%{_datadir}/wordpress/wp-links-opml.php
9d33924
%{_datadir}/wordpress/wp-load.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
a92ba45
* Tue Sep 09 2008 Adrian Reber <adrian@lisas.de> - 2.6.2-1
a92ba45
- updated to 2.6.2
a92ba45
6bfc678
* Sun Aug 24 2008 Adrian Reber <adrian@lisas.de> - 2.6.1-1
6bfc678
- updated to 2.6.1
6bfc678
9d33924
* Mon Jul 21 2008 Adrian Reber <adrian@lisas.de> - 2.6-1
9d33924
- updated to 2.6
9d33924
75c09c6
* Sat Apr 26 2008 Adrian Reber <adrian@lisas.de> - 2.5.1-1
75c09c6
- updated to 2.5.1 for security fixes - BZ 444396
75c09c6
John Berninger f8e93aa
* Fri Feb  8 2008 John Berninger <john at ncphotography dot com> - 2.3.3-0
John Berninger f8e93aa
- update to 2.3.3 for security fixes - BZ 431547
John Berninger f8e93aa
6f6689b
* Sun Dec 30 2007 Adrian Reber <adrian@lisas.de> - 2.3.2-1
6f6689b
- updated to 2.3.2 (bz 426431, Draft Information Disclosure)
6f6689b
ac881bb
* Tue Oct 30 2007 Adrian Reber <adrian@lisas.de> - 2.3.1-1
ac881bb
- updated to 2.3.1 (bz 357731, wordpress XSS issue)
ac881bb
47b3142
* Mon Oct 15 2007 Adrian Reber <adrian@lisas.de> - 2.3-1
47b3142
- updated to 2.3
47b3142
- disabled wordpress-core-update
47b3142
d80e3a3
* Tue Sep 11 2007 Adrian Reber <adrian@lisas.de> - 2.2.3-0
d80e3a3
- updated to 2.2.3 (security release)
d80e3a3
John Berninger 296baad
* Wed Aug 29 2007 John Berninger <john at ncphotography dot com> - 2.2.2-0
John Berninger 296baad
- update to upstream 2.2.2
John Berninger 296baad
- license tag update
John Berninger 296baad
John Berninger e57d8c9
* Mon Apr 16 2007 john Berninger <jwb at redhat dot com> - 2.1.3-1
John Berninger e57d8c9
- update to 2.1.3 final - bz235912
John Berninger e57d8c9
John Berninger 2180381
* Mon Mar 26 2007 John Berninger <jwb at redhat dot com> - 2.1.3-rc2
John Berninger 2180381
- update to 2.1.3rc2 for bz 233703
John Berninger 2180381
John Berninger 8260356
* Sat Mar  3 2007 John Berninger <jwb at redhat dot com> - 2.1.2-0
John Berninger 8260356
- update to 2.1.2 - backdoor exploit introduced upstream in 2.1.1 - bz 230825
John Berninger 8260356
John Berninger c858f70
* Tue Feb 27 2007 John Berninger <jwb at redhat dot com> - 2.1.1-0
John Berninger c858f70
- update to 2.1.1 to fix vuln in bz 229991
John Berninger c858f70
John Berninger 774581d
* Wed Jan 31 2007 John Berninger <jwb at redhat dot com> - 2.1-0
John Berninger 774581d
- update to v2.1 to fix multiple bz/vuln's
John Berninger 774581d
John Berninger 66829ad
* Sun Dec  3 2006 John Berninger <jwb at redhat dot com> - 2.0.5-2
John Berninger 66829ad
- Remove mysql-server dependency
John Berninger 66829ad
John Berninger 694fb7c
* Sun Dec  3 2006 John Berninger <jwb at redhat dot com> - 2.0.5-1
John Berninger 694fb7c
- Update to upstream 2.0.5 to fix vuln in bz 213985
John Berninger 694fb7c
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
ac881bb
- %%{_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