diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-16 13:27:00 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-16 13:27:00 +0200 |
commit | 92666e19dd14f67a8699edeb623774d46da8321a (patch) | |
tree | fa8dfaaa9bb0d54b64631912f0ed3a0f73d00d12 | |
parent | f9af6e5abc384928fce5f1d8c3253030281431ee (diff) |
php-liuggio-statsd-php-client: add backport stuff for remirepo
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-liuggio-statsd-php-client.spec | 20 |
2 files changed, 24 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-liuggio-statsd-php-client.spec b/php-liuggio-statsd-php-client.spec index 847b7e4..afa0127 100644 --- a/php-liuggio-statsd-php-client.spec +++ b/php-liuggio-statsd-php-client.spec @@ -1,13 +1,22 @@ +# remirepo spec file for php-liuggio-statsd-php-client, from Fedora +# +# License: MIT +# http://opensource.org/licenses/MIT +# +# Please preserve changelog entries +# Name: php-liuggio-statsd-php-client Version: 1.0.16 Release: 1%{?dist} Summary: Object Oriented Client for etsy/statsd written in php +Group: Development/Libraries License: MIT URL: https://github.com/liuggio/statsd-php-client Source0: https://github.com/liuggio/statsd-php-client/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Buildarch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: php(language) >= 5.3.2 @@ -27,17 +36,28 @@ written in php. %install +rm -rf %{buildroot} + mkdir -pm 0755 %{buildroot}%{_datadir}/php/Liuggio/StatsdClient cp -rp src/Liuggio/StatsdClient/* %{buildroot}%{_datadir}/php/Liuggio/StatsdClient +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) +%{!?_licensedir:%global license %%doc} %license LICENSE %doc CHANGELOG.md composer.json README.md %{_datadir}/php/Liuggio %changelog +* Tue Jun 16 2015 Remi Collet <remi@remirepo.net> - 1.0.16-1 +- add backport stuff for remirepo + * Mon Jun 15 2015 Michael Cronenworth <mike@cchtml.com> - 1.0.16-1 - Initial package |