From 5342a852fe013ad9b8f38fb76275cb2450ab46d3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 26 Jun 2015 08:18:18 +0200 Subject: php-oojs-oojs-ui: add backport stuff --- Makefile | 4 ++++ php-oojs-oojs-ui.spec | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..91b0fd5 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../common/Makefile + diff --git a/php-oojs-oojs-ui.spec b/php-oojs-oojs-ui.spec index a31b378..3a150ab 100644 --- a/php-oojs-oojs-ui.spec +++ b/php-oojs-oojs-ui.spec @@ -1,14 +1,23 @@ +# remirepo spec file for php-oojs-oojs-ui, from: +# +# Fedora spec file for php-oojs-oojs-ui +# +# License: MIT +# http://opensource.org/licenses/MIT +# %global git_tag_rev 847c492f2ae8228a4b9ae866dc21212c60813820 Name: php-oojs-oojs-ui Version: 0.11.6 Release: 1%{?dist} Summary: Object-Oriented JavaScript – User Interface +Group: Development/Libraries License: MIT URL: http://www.mediawiki.org/wiki/OOjs_UI Source0: http://git.wikimedia.org/zip/?r=oojs/ui.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 @@ -36,6 +45,7 @@ phpab --output php/autoload.php php %install +rm -rf %{buildroot} mkdir -pm 0755 %{buildroot}%{_datadir}/php/OOUI cp -rp php/* %{buildroot}%{_datadir}/php/OOUI @@ -44,13 +54,22 @@ cp -rp php/* %{buildroot}%{_datadir}/php/OOUI phpunit -v --bootstrap php/autoload.php +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) +%{!?_licensedir:%global license %%doc} %license LICENSE-MIT %doc AUTHORS.txt composer.json History.md README.md %{_datadir}/php/OOUI %changelog +* Fri Jun 26 2015 Remi Collet - 0.11.6-1 +- backport for remirepo + * Thu Jun 25 2015 Michael Cronenworth - 0.11.6-1 - Initial package -- cgit