John Berninger 5247492
Summary: WordPress blogging software
John Berninger 5247492
URL: http://www.wordpress.org
John Berninger 5247492
Name: wordpress
0b2cb20
Version: 2.8.3
John Berninger 5247492
Group: Applications/Publishing
d822cd3
Release: 2%{?dist}
John Berninger 933c83d
License: GPLv2
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)
7384731
Requires: php >= 4.1.0, httpd, php-mysql
John Berninger 5247492
BuildArch: noarch
d822cd3
Patch0: changeset_r11798.diff
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
d822cd3
%patch0 -p3
d699cda
# disable wp_version_check, updates are always installed via rpm
d699cda
sed -i -e "s,\(.*\)'wp_version_check'\(.*\),#\1'wp_version_check'\2,g" \
d699cda
	wp-includes/update.php
d699cda
# fix file encoding
d699cda
sed -i -e 's/\r//' license.txt
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" > \
d699cda
	${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
d699cda
find ${RPM_BUILD_ROOT} -type f -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
7384731
%{_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 17871ed
%{_datadir}/wordpress/wp-cron.php
John Berninger 5247492
%{_datadir}/wordpress/wp-feed.php
John Berninger 5247492
%{_datadir}/wordpress/wp-links-opml.php
2ae509c
%{_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
d822cd3
* Tue Aug 11 2009 Adrian Reber <adrian@lisas.de> - 2.8.3-2
d822cd3
- another security update to fix "Remote admin reset password":
d822cd3
  http://lists.grok.org.uk/pipermail/full-disclosure/2009-August/070137.html
d822cd3
0b2cb20
* Mon Aug 03 2009 Adrian Reber <adrian@lisas.de> - 2.8.3-1
0b2cb20
- updated to 2.8.3 for security fixes
0b2cb20
d699cda
* Tue Jul 28 2009 Adrian Reber <adrian@lisas.de> - 2.8.2-1
d699cda
- updated to 2.8.2 for security fixes - BZ 512900
d699cda
- fixed "wrong-script-end-of-line-encoding" of license.txt
d699cda
- correctly disable auto update check
d699cda
- fixed an error message from 'find' during the build
d699cda
d699cda
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-2
d699cda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d699cda
33d1baf
* Fri Jul 10 2009 Adrian Reber <adrian@lisas.de> - 2.8.1-1
33d1baf
- updated to 2.8.1 for security fixes - BZ 510745
33d1baf
33d1baf
* Mon Jun 22 2009 Adrian Reber <adrian@lisas.de> - 2.8-1
33d1baf
- updated to 2.8
33d1baf
a1112b9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-2
a1112b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a1112b9
a1112b9
* Wed Feb 11 2009 Adrian Reber <adrian@lisas.de> - 2.7.1-1
a1112b9
- updated to 2.7.1
a1112b9
0958094
* Wed Nov 26 2008 Adrian Reber <adrian@lisas.de> - 2.6.5-2
0958094
- updated to 2.6.5
0958094
2d973d0
* Fri Oct 24 2008 Adrian Reber <adrian@lisas.de> - 2.6.3-1
2d973d0
- updated to 2.6.3
2d973d0
fa8feb3
* Tue Sep 09 2008 Adrian Reber <adrian@lisas.de> - 2.6.2-1
fa8feb3
- updated to 2.6.2
fa8feb3
2ae509c
* Sun Aug 24 2008 Adrian Reber <adrian@lisas.de> - 2.6.1-1
2ae509c
- updated to 2.6.1
2ae509c
2ae509c
* Mon Jul 21 2008 Adrian Reber <adrian@lisas.de> - 2.6-1
2ae509c
- updated to 2.6
2ae509c
d68bba2
* Sat Apr 26 2008 Adrian Reber <adrian@lisas.de> - 2.5.1-1
d68bba2
- updated to 2.5.1 for security fixes - BZ 444396
d68bba2
a94de7d
* Fri Feb  8 2008 John Berninger <john at ncphotography dot com> - 2.3.3-0
a94de7d
- update to 2.3.3 for security fixes - BZ 431547
a94de7d
2e7ede6
* Sun Dec 30 2007 Adrian Reber <adrian@lisas.de> - 2.3.2-1
2e7ede6
- updated to 2.3.2 (bz 426431, Draft Information Disclosure)
2e7ede6
7384731
* Tue Oct 30 2007 Adrian Reber <adrian@lisas.de> - 2.3.1-1
7384731
- updated to 2.3.1 (bz 357731, wordpress XSS issue)
7384731
7384731
* Mon Oct 15 2007 Adrian Reber <adrian@lisas.de> - 2.3-1
7384731
- updated to 2.3
7384731
- disabled wordpress-core-update
7384731
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
7384731
* 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
7384731
- update to 2.1.1 to fix vuln in bz 229991
John Berninger 6237923
John Berninger 17871ed
* Wed Jan 31 2007 John Berninger <jwb at redhat dot com> - 2.1-0
7384731
- update to v2.1 to fix multiple bz/vuln's
John Berninger 53afb9d
7384731
* Sun Dec  3 2006 John Berninger <jwb at redhat dot com> - 2.0.5-2
John Berninger c5e495b
- Remove mysql-server dependency
John Berninger c5e495b
7384731
* Sun Dec  3 2006 John Berninger <jwb at redhat dot com> - 2.0.5-1
7384731
- Update to upstream 2.0.5 to fix 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
7384731
- %%{_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