diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-oojs-oojs-ui.spec | 19 |
2 files changed, 23 insertions, 0 deletions
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 <remi@remirepo.net> - 0.11.6-1 +- backport for remirepo + * Thu Jun 25 2015 Michael Cronenworth <mike@cchtml.com> - 0.11.6-1 - Initial package |