[mediawiki-intersection/f16] Initial import

Patrick Uiterwijk puiterwijk at fedoraproject.org
Tue Sep 4 15:36:43 UTC 2012


commit 5a6f75c3f4ca51a2543015396e96fdccce856bc6
Author: Patrick Uiterwijk <puiterwijk at gmail.com>
Date:   Tue Sep 4 17:35:56 2012 +0200

    Initial import

 .gitignore                  |    1 +
 mediawiki-intersection.spec |   46 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..24fbdb5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/intersection-MW1.13-37906.tar.gz
diff --git a/mediawiki-intersection.spec b/mediawiki-intersection.spec
new file mode 100644
index 0000000..4f1e816
--- /dev/null
+++ b/mediawiki-intersection.spec
@@ -0,0 +1,46 @@
+Name:           mediawiki-intersection
+Version:        37906
+Release:        1%{?dist}
+Summary:        Create a list of pages that are listed in a set of categories
+
+License:        GPLv2+
+URL:            http://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)
+Source0:        http://upload.wikimedia.org/ext-dist/intersection-MW1.13-37906.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+Requires:       mediawiki >= 1.5
+
+%description
+Outputs a bulleted list of most recent items
+residing in a category, or an intersection
+of several categories.
+DynamicPageList is another name for this extension.
+
+%prep
+%setup -q -n intersection
+
+%post
+echo 'To complete installation of %{name}, add the following lines to LocalSettings.php:
+
+    require_once("$IP/extensions/intersection/DynamicPageList.php");
+
+for each MediaWiki instance you wish to install %{name} on.' > README.fedora
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_datadir}/mediawiki/extensions/intersection/
+install -cpm 644 %{_builddir}/%{buildsubdir}/* %{buildroot}%{_datadir}/mediawiki/extensions/intersection/
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{_datadir}/mediawiki/extensions/intersection
+
+%changelog
+* Sat Aug 25 2012 Patrick Uiterwijk <puiterwijk at gmail.com> - 37906-1
+- First packaging effort
diff --git a/sources b/sources
index e69de29..deb9cf0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3369449aaf2f32a3418ce3d53bf948ce  intersection-MW1.13-37906.tar.gz


More information about the scm-commits mailing list