summaryrefslogtreecommitdiffstats
path: root/php-mediawiki-at-ease.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-mediawiki-at-ease.spec')
-rw-r--r--php-mediawiki-at-ease.spec22
1 files changed, 22 insertions, 0 deletions
diff --git a/php-mediawiki-at-ease.spec b/php-mediawiki-at-ease.spec
index faab100..82a69cd 100644
--- a/php-mediawiki-at-ease.spec
+++ b/php-mediawiki-at-ease.spec
@@ -1,14 +1,25 @@
+# remirepo spec file for php-mediawiki-at-ease, from:
+#
+# Fedora spec file for php-mediawiki-at-ease
+#
+# License: MIT
+# http://opensource.org/licenses/MIT
+#
+# Please preserve changelog entries
+#
%global git_tag_rev 94c0b84888841d160419f915c2745d9d08fbf0c3
Name: php-mediawiki-at-ease
Version: 1.1.0
Release: 1%{?dist}
Summary: Safe replacement to @ for suppressing warnings
+Group: Development/Libraries
License: GPLv2+
URL: http://www.mediawiki.org/wiki/at-ease
Source0: http://git.wikimedia.org/zip/?r=at-ease.git&format=xz&h=%{git_tag_rev}#/%{name}-%{version}.tar.xz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-phpunit-PHPUnit
@@ -34,6 +45,8 @@ development cycle.
%install
+rm -rf %{buildroot}
+
mkdir -pm 0755 %{buildroot}%{_datadir}/php/MediaWiki/at-ease
cp -rp src/* %{buildroot}%{_datadir}/php/MediaWiki/at-ease
@@ -42,13 +55,22 @@ cp -rp src/* %{buildroot}%{_datadir}/php/MediaWiki/at-ease
phpunit -v --bootstrap %{buildroot}%{_datadir}/php/MediaWiki/at-ease/Functions.php
+%clean
+rm -rf %{buildroot}
+
+
%files
+%defattr(-,root,root,-)
+%{!?_licensedir:%global license %%doc}
%license COPYING
%doc composer.json README.md
%{_datadir}/php/MediaWiki
%changelog
+* Mon Oct 5 2015 Remi Collet <remi@remirepo.net> - 1.1.0-1
+- add backport stuff
+
* Wed Sep 30 2015 Michael Cronenworth <mike@cchtml.com> - 1.1.0-1
- Initial package