summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-07 18:21:04 +0200
committerRemi Collet <fedora@famillecollet.com>2015-10-07 18:21:04 +0200
commit32deecdc517d5e973921b97fa0e492c38c6ce77c (patch)
tree8453db23d7a285c871695952113a0adc100a1750
parentd4bcc046993e1aae6107296823e4f1544f54a70f (diff)
php-wikimedia-avro: backportHEADmaster
-rw-r--r--Makefile4
-rw-r--r--php-wikimedia-avro.spec20
2 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..13af741
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+SRCDIR := $(shell pwd)
+NAME := $(shell basename $(SRCDIR))
+include ../../../common/Makefile
+
diff --git a/php-wikimedia-avro.spec b/php-wikimedia-avro.spec
index f57fa6c..95af777 100644
--- a/php-wikimedia-avro.spec
+++ b/php-wikimedia-avro.spec
@@ -1,14 +1,23 @@
+# remirepo spec file for php-wikimedia-utfnormal, from Fedora
+#
+# License: MIT
+# http://opensource.org/licenses/MIT
+#
+# Please preserve changelog entries
+#
%global git_tag_rev c8c12cb47e4ad9a534926d2ace5d8f64b319fa26
Name: php-wikimedia-avro
Version: 1.7.7
Release: 1%{?dist}
Summary: A library for using Avro with PHP
+Group: Development/Libraries
License: ASL 2.0
URL: https://avro.apache.org/
Source0: http://git.wikimedia.org/zip/?r=avro-php.git&format=xz&h=%{git_tag_rev}#/%{name}-%{version}.tar.xz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-theseer-autoload
@@ -36,17 +45,28 @@ phpab --output lib/autoload.php lib
%install
+rm -rf %{buildroot}
+
mkdir -pm 0755 %{buildroot}%{_datadir}/php/avro
cp -rp lib/* %{buildroot}%{_datadir}/php/avro
+%clean
+rm -rf %{buildroot}
+
+
%files
+%defattr(-,root,root,-)
+%{!?_licensedir:%global license %%doc}
%license LICENSE.txt
%doc composer.json README.md NOTICE.txt
%{_datadir}/php/avro
%changelog
+* Wed Oct 7 2015 Remi Collet <remi@remirepo.net> - 1.7.7-1
+- add backport stuff for remirepo
+
* Thu Sep 17 2015 Michael Cronenworth <mike@cchtml.com> - 1.7.7-1
- Initial package