[mediawiki-HTTP302Found] Remove dead status and update to upstream 2.0.1

Patrick Uiterwijk puiterwijk at fedoraproject.org
Sun Aug 12 19:12:41 UTC 2012


commit 92051cfa33492fd286955779415afa629ab6de37
Author: Patrick Uiterwijk <puiterwijk at gmail.com>
Date:   Sun Aug 12 21:09:15 2012 +0200

    Remove dead status and update to upstream 2.0.1

 .gitignore                  |    1 +
 dead.package                |    1 -
 mediawiki-HTTP302Found.spec |   58 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 4 files changed, 60 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6eb05d8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTTP302Found-2.0.1.tar.gz
diff --git a/mediawiki-HTTP302Found.spec b/mediawiki-HTTP302Found.spec
new file mode 100644
index 0000000..c7c5f41
--- /dev/null
+++ b/mediawiki-HTTP302Found.spec
@@ -0,0 +1,58 @@
+Name:           mediawiki-HTTP302Found
+Version:        2.0.1
+Release:        1%{?dist}
+Summary:        Forces an external HTTP 302 redirect instead of internal redirects
+
+Group:          Applications/Internet
+License:        GPLv2+
+URL:            http://www.mediawiki.org/wiki/Extension:HTTP302Found
+Source0:        http://puiterwijk.fedorapeople.org/releases/HTTP302Found-2.0.1.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+Requires:       mediawiki >= 1.7
+
+%description
+Pushes a HTTP code 302 (Found) to the browser when there is a redirect instead
+of handling it internally. The end user will not notice any difference (other
+than the address to the page having an ?rd=Redirecting_page bit at the end).
+
+
+%prep
+%setup -q -n HTTP302Found-2.0.1
+echo 'To complete installation of %{name}, add the following lines to LocalSettings.php:
+
+    require_once("$IP/extensions/HTTP302Found/HTTP302Found.php");
+
+for each MediaWiki instance you wish to install %{name} on.' > README.fedora
+
+
+%build
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_datadir}/mediawiki/extensions/HTTP302Found/
+install -cpm 644 %{_builddir}/%{buildsubdir}/*.php %{buildroot}%{_datadir}/mediawiki/extensions/HTTP302Found/
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc README.fedora COPYING
+%{_datadir}/mediawiki/extensions/HTTP302Found
+
+
+%changelog
+* Sun Aug 12 2012 Patrick Uiterwijk <puiterwijk at gmail.com> - 2.0.1-1
+- Update Required to real required version
+- Added a COPYING to the sources
+
+* Sun Aug 12 2012 Patrick Uiterwijk <puiterwijk at gmail.com> - 2.0-1
+- Complete rewrite for MediaWiki 1.19
+
+* Mon Jun 15 2009 Ian Weller <ian at ianweller.org> - 1.0-1
+- Initial package build
diff --git a/sources b/sources
new file mode 100644
index 0000000..0dd0ccc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b6b5d50ae5b5b39a5590090e5f6e0bcb  HTTP302Found-2.0.1.tar.gz


More information about the scm-commits mailing list