summaryrefslogtreecommitdiffstats
path: root/php-wikimedia-avro.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-wikimedia-avro.spec')
-rw-r--r--php-wikimedia-avro.spec20
1 files changed, 20 insertions, 0 deletions
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