|
James Laska |
00a48f4 |
%define UpstreamName SemanticMediaWiki
|
|
James Laska |
00a48f4 |
|
|
|
ff0433a |
Name: mediawiki-semantic
|
|
James Laska |
00a48f4 |
Version: 1.5.6
|
|
James Laska |
00a48f4 |
Release: 1%{?dist}
|
|
|
ff0433a |
Summary: An extension of MediaWiki that improves content organization
|
|
|
ff0433a |
Group: Applications/Internet
|
|
|
ff0433a |
License: GPLv2
|
|
|
ff0433a |
URL: http://semantic-mediawiki.org
|
|
James Laska |
00a48f4 |
Source0: http://downloads.sourceforge.net/semediawiki/%{UpstreamName}%{version}.tgz
|
|
|
ff0433a |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ff0433a |
BuildArch: noarch
|
|
|
ff0433a |
Requires: mediawiki, mediawiki-nomath
|
|
|
ff0433a |
|
|
|
ff0433a |
|
|
|
ff0433a |
%description
|
|
James Laska |
00a48f4 |
Semantic MediaWiki (SMW) is a free, open-source extension to MediaWiki – the
|
|
James Laska |
00a48f4 |
wiki software that powers Wikipedia – that lets you store and query data within
|
|
James Laska |
00a48f4 |
the wiki's pages.
|
|
|
ff0433a |
|
|
James Laska |
00a48f4 |
Semantic MediaWiki is also a full-fledged framework, in conjunction with many
|
|
James Laska |
00a48f4 |
spinoff extensions, that can turn a wiki into a powerful and flexible
|
|
James Laska |
00a48f4 |
“collaborative database”. All data created within SMW can easily be published
|
|
James Laska |
00a48f4 |
via the Semantic Web, allowing other systems to use this data seamlessly.
|
|
|
ff0433a |
|
|
|
ff0433a |
|
|
|
ff0433a |
%prep
|
|
|
ff0433a |
%setup -q -n %{UpstreamName}
|
|
|
ff0433a |
|
|
|
ff0433a |
|
|
|
ff0433a |
%build
|
|
|
ff0433a |
|
|
|
ff0433a |
|
|
|
ff0433a |
%install
|
|
|
ff0433a |
rm -rf $RPM_BUILD_ROOT
|
|
|
ff0433a |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mediawiki/extensions/%{UpstreamName}
|
|
|
ff0433a |
cat <<EOF>README.fedora
|
|
|
ff0433a |
To complete installation of %{name}: add the following two lines to
|
|
|
ff0433a |
LocalSettings.php:
|
|
|
ff0433a |
|
|
|
ff0433a |
include_once("\$IP/extensions/SemanticMediaWiki/includes/SMW_Settings.php");
|
|
|
ff0433a |
enableSemantics('example.org');
|
|
|
ff0433a |
|
|
|
ff0433a |
for each MediaWiki instance you wish to install %{name} on. Note that
|
|
|
ff0433a |
example.org should be replaced by your server's name (or IP address).
|
|
|
ff0433a |
|
|
|
ff0433a |
Additional database changes are detailed in the online installation
|
|
|
ff0433a |
instructions available at http://semantic-mediawiki.org/wiki/Help:Installation.
|
|
|
ff0433a |
EOF
|
|
|
ff0433a |
cp -pa includes languages maintenance skins specials $RPM_BUILD_ROOT%{_datadir}/mediawiki/extensions/%{UpstreamName}/
|
|
|
ff0433a |
|
|
|
ff0433a |
|
|
|
ff0433a |
%clean
|
|
|
ff0433a |
rm -rf $RPM_BUILD_ROOT
|
|
|
ff0433a |
|
|
|
ff0433a |
|
|
|
ff0433a |
%files
|
|
|
ff0433a |
%defattr(-,root,root,-)
|
|
|
ff0433a |
%{_datadir}/mediawiki/extensions/%{UpstreamName}
|
|
|
ff0433a |
%doc COPYING INSTALL README README.fedora RELEASE-NOTES
|
|
|
ff0433a |
|
|
|
ff0433a |
|
|
|
ff0433a |
%changelog
|
|
James Laska |
00a48f4 |
* Thu Jun 16 2011 James Laska <jlaska@redhat.com> 1.5.6-1
|
|
James Laska |
00a48f4 |
- Update to 1.5.6
|
|
James Laska |
00a48f4 |
|
|
|
0b36fcb |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-3
|
|
|
0b36fcb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
0b36fcb |
|
|
|
1142ab4 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-2
|
|
|
1142ab4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
1142ab4 |
|
|
|
ff0433a |
* Wed Mar 11 2009 James Laska <jlaska@redhat.com> 1.4.2-1
|
|
|
ff0433a |
- Initial packaging of 1.4.2
|