John Berninger 5247492
Summary: WordPress blogging software
John Berninger 5247492
URL: http://www.wordpress.org
John Berninger 5247492
Name: wordpress
Jon Ciesla eb53a6a
Version: 3.1
John Berninger 5247492
Group: Applications/Publishing
Jon Ciesla eb53a6a
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
Jon Ciesla 32761c8
Source3: README.fedora.wordpress-mu
Jon Ciesla b11dfd9
Patch0: wordpress-debian_patches_hello.patch
John Berninger 5247492
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Jon Ciesla b11dfd9
Requires: php >= 4.1.0, webserver, php-mysql, php-gettext, php-simplepie
Jon Ciesla 32761c8
Obsoletes: wordpress-mu
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
Jon Ciesla 8ff4ce2
Jon Ciesla b11dfd9
%patch0 -p1 -b .dolly
Jon Ciesla 8ff4ce2
2abc4dc
# disable wp_version_check, updates are always installed via rpm
2abc4dc
sed -i -e "s,\(.*\)'wp_version_check'\(.*\),#\1'wp_version_check'\2,g" \
2abc4dc
	wp-includes/update.php
ce019a1
# disable update_nag() function
ce019a1
sed -i -e "s,\(.*\)'update_nag'\(.*\),#\1'update_nag'\2,g; \
ce019a1
	s,\(.*\)\$msg .=\(.*\),\1\$msg .= '';,g;" \
ce019a1
	wp-admin/includes/update.php
2abc4dc
# fix file encoding
2abc4dc
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" > \
2abc4dc
	${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
Jon Ciesla 32761c8
/bin/cp %{SOURCE3} ./README.fedora-multiuser
John Berninger 5247492
# Remove empty files to make rpmlint happy
2abc4dc
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
Jon Ciesla 04f7e0d
#Remove bundled php-gettext and link to system copy
Jon Ciesla 04f7e0d
rm -f ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/gettext.php
Jon Ciesla 04f7e0d
ln -sf /usr/share/php/php-gettext/gettext.php ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/gettext.php
Jon Ciesla 04f7e0d
Jon Ciesla 04f7e0d
#Remove bundled php-simplepie and link to system copy
Jon Ciesla 04f7e0d
rm -f ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/class-simplepie.php
Jon Ciesla 04f7e0d
ln -sf /usr/share/php/php-simplepie/simplepie.inc ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/class-simplepie.php
Jon Ciesla 04f7e0d
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
Jon Ciesla 32761c8
%doc README.fedora-multiuser
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
Jon Ciesla 04f7e0d
%{_datadir}/wordpress/wp-activate.php
Jon Ciesla 04f7e0d
%{_datadir}/wordpress/wp-signup.php
John Berninger 5247492
John Berninger 5247492
%changelog
Jon Ciesla eb53a6a
* Wed Feb 23 2011 Jon Ciesla <limb@jcomserv.net> - 3.1-1
Jon Ciesla eb53a6a
- 3.1.
Jon Ciesla eb53a6a
15dc12d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-3
15dc12d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
15dc12d
Jon Ciesla 32761c8
* Mon Jan 03 2011 Jon Ciesla <limb@jcomserv.net> - 3.0.4-2
Jon Ciesla 32761c8
- Obsoletes wordpress-mu, deprecated by upstream as of 3.0.x.
Jon Ciesla 32761c8
Jon Ciesla cf08664
* Mon Jan 03 2011 Jon Ciesla <limb@jcomserv.net> - 3.0.4-1
Jon Ciesla cf08664
- 3.0.4. Security fixes, BZ 666782.
Jon Ciesla cf08664
Jon Ciesla b11dfd9
* Thu Dec 23 2010 Jon Ciesla <limb@jcomserv.net> - 3.0.3-2
Jon Ciesla b11dfd9
- Change Requires from httpd to webserver, BZ 523480.
Jon Ciesla b11dfd9
- Patch for Hello Dolly lyrics, BZ 663966.
Jon Ciesla b11dfd9
Jon Ciesla aa3dd93
* Fri Dec 10 2010 Jon Ciesla <limb@jcomserv.net> - 3.0.3-1
Jon Ciesla aa3dd93
- 3.0.3. Security fixes, BZ 659319.
Jon Ciesla aa3dd93
Jon Ciesla c47b21a
* Fri Dec 10 2010 Jon Ciesla <limb@jcomserv.net> - 3.0.2-1
Jon Ciesla c47b21a
- 3.0.2. Security fixes, BZ 659319.
Jon Ciesla c47b21a
Jon Ciesla 04f7e0d
* Mon Aug 09 2010 Jon Ciesla <limb@jcomserv.net> - 3.0.1-1
Jon Ciesla 04f7e0d
- 3.0.1.
Jon Ciesla 04f7e0d
Jon Ciesla 04f7e0d
* Mon Jul 12 2010 Jon Ciesla <limb@jcomserv.net> - 2.8.6-3
Jon Ciesla 04f7e0d
- Remove bundled php-gettext and php-simplepie,
Jon Ciesla 04f7e0d
- require and link to system versions, BZ 544720.
Jon Ciesla 04f7e0d
5db8ab9
* Mon Nov 16 2009 Adrian Reber <adrian@lisas.de> - 2.8.6-2
5db8ab9
- updated to 2.8.6 (Security Release)
aae7ee4
88f3114
* Wed Oct 21 2009 Adrian Reber <adrian@lisas.de> - 2.8.5-1
88f3114
- updated to 2.8.5 (Hardening Release)
88f3114
ce019a1
* Sun Aug 30 2009 Adrian Reber <adrian@lisas.de> - 2.8.4-1
ce019a1
- updated to 2.8.4 (security fixes were already available with 2.8.3-2)
ce019a1
fffec47
* Tue Aug 11 2009 Adrian Reber <adrian@lisas.de> - 2.8.3-2
fffec47
- another security update to fix "Remote admin reset password":
fffec47
  http://lists.grok.org.uk/pipermail/full-disclosure/2009-August/070137.html
fffec47
8c16e2b
* Mon Aug 03 2009 Adrian Reber <adrian@lisas.de> - 2.8.3-1
8c16e2b
- updated to 2.8.3 for security fixes
8c16e2b
2abc4dc
* Tue Jul 28 2009 Adrian Reber <adrian@lisas.de> - 2.8.2-1
2abc4dc
- updated to 2.8.2 for security fixes - BZ 512900
2abc4dc
- fixed "wrong-script-end-of-line-encoding" of license.txt
2abc4dc
- correctly disable auto update check
2abc4dc
- fixed an error message from 'find' during the build
2abc4dc
2ac8cbe
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-2
2ac8cbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2ac8cbe
96d39a0
* Fri Jul 10 2009 Adrian Reber <adrian@lisas.de> - 2.8.1-1
96d39a0
- updated to 2.8.1 for security fixes - BZ 510745
96d39a0
1af12b9
* Mon Jun 22 2009 Adrian Reber <adrian@lisas.de> - 2.8-1
1af12b9
- updated to 2.8
1af12b9
502743b
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-2
502743b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
502743b
1a00825
* Wed Feb 11 2009 Adrian Reber <adrian@lisas.de> - 2.7.1-1
1a00825
- updated to 2.7.1
1a00825
3f0008f
* Wed Nov 26 2008 Adrian Reber <adrian@lisas.de> - 2.6.5-2
1064ad4
- updated to 2.6.5
1064ad4
12fed76
* Fri Oct 24 2008 Adrian Reber <adrian@lisas.de> - 2.6.3-1
12fed76
- updated to 2.6.3
12fed76
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