summaryrefslogtreecommitdiffstats
path: root/php-mediawiki-at-ease.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-05 18:14:01 +0200
committerRemi Collet <fedora@famillecollet.com>2015-10-05 18:14:01 +0200
commit193a9ab58b152acd1864a469b89895051152974c (patch)
tree1fe07b56b463607e79f0abf73ef8c40ae940c917 /php-mediawiki-at-ease.spec
parentfd8bef6bbcfb4f7aff3a7338dfa152a6c4af4afe (diff)
php-mediawiki-at-ease: add backport for remirepoHEADmaster
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