From ff0433adafc14c6cc1e0172adb6a2b5c67b4938b Mon Sep 17 00:00:00 2001 From: James Laska Date: Mar 18 2009 11:51:45 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..c655ef8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +semediawiki-1.4.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..6ec98ce --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +mediawiki-semantic-1_4_2-1_fc11:HEAD:mediawiki-semantic-1.4.2-1.fc11.src.rpm:1237377070 diff --git a/mediawiki-semantic.spec b/mediawiki-semantic.spec new file mode 100644 index 0000000..6e4d5df --- /dev/null +++ b/mediawiki-semantic.spec @@ -0,0 +1,63 @@ +Name: mediawiki-semantic +Version: 1.4.2 +Release: 1%{?dist} +Summary: An extension of MediaWiki that improves content organization +Group: Applications/Internet +License: GPLv2 +URL: http://semantic-mediawiki.org +Source0: http://downloads.sourceforge.net/semediawiki/semediawiki-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +Requires: mediawiki, mediawiki-nomath +%define UpstreamName SemanticMediaWiki + + +%description +Semantic MediaWiki (SMW) is a free extension of MediaWiki – the wiki-system +powering Wikipedia – that helps to search, organise, tag, browse, evaluate, and +share the wiki's content. + +While traditional wikis contain only texts which computers can neither +understand nor evaluate, SMW adds semantic annotations that bring the power of +the Semantic Web to the wiki. + + +%prep +%setup -q -n %{UpstreamName} + + +%build + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_datadir}/mediawiki/extensions/%{UpstreamName} +cat <README.fedora +To complete installation of %{name}: add the following two lines to +LocalSettings.php: + + include_once("\$IP/extensions/SemanticMediaWiki/includes/SMW_Settings.php"); + enableSemantics('example.org'); + +for each MediaWiki instance you wish to install %{name} on. Note that +example.org should be replaced by your server's name (or IP address). + +Additional database changes are detailed in the online installation +instructions available at http://semantic-mediawiki.org/wiki/Help:Installation. +EOF +cp -pa includes languages maintenance skins specials $RPM_BUILD_ROOT%{_datadir}/mediawiki/extensions/%{UpstreamName}/ + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_datadir}/mediawiki/extensions/%{UpstreamName} +%doc COPYING INSTALL README README.fedora RELEASE-NOTES + + +%changelog +* Wed Mar 11 2009 James Laska 1.4.2-1 +- Initial packaging of 1.4.2 diff --git a/sources b/sources index e69de29..9fdbd44 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +58449c292fb9d6814e22562e58eae10c semediawiki-1.4.2.tar.gz