From 67fef88946cf27907c9e7e8bbe90c66da4905443 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Mar 2017 09:18:44 +0100 Subject: php-mikealmond-musicbrainz: backport --- Makefile | 4 ++++ composer.json | 37 +++++++++++++++++++++++++++++++++++++ php-mikealmond-musicbrainz.spec | 13 +++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 Makefile create mode 100644 composer.json 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/composer.json b/composer.json new file mode 100644 index 0000000..d49f792 --- /dev/null +++ b/composer.json @@ -0,0 +1,37 @@ +{ + "name": "mikealmond/musicbrainz", + "type": "library", + "description": "A PHP library for accessing the MusicBrainz API", + "keywords": ["musicbrainz", "library", "php", "api"], + "homepage": "https://github.com/mikealmond/musicbrainz", + "license": "MIT", + "authors": [ + { + "name": "Mike Almond", + "email": "mike.almond@gmail.com", + "homepage": "http://mikealmond.com", + "role": "Developer" + } + ], + "require": { + "php": ">=5.3.8" + }, + "require-dev": { + "guzzle/guzzle": "~3.8.0", + "phpunit/phpunit": "3.7.*" + }, + "suggest": { + "guzzle/guzzle": "Allows you to use the GuzzleHttpAdapter. You must install one of the supported adapters.", + "rmccue/requests": "Allows you to use the RequestsHttpAdapter. You must install one of the supported adapters." + }, + "autoload": { + "psr-0": { + "MusicBrainz": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "0.2.x-dev" + } + } +} diff --git a/php-mikealmond-musicbrainz.spec b/php-mikealmond-musicbrainz.spec index f562405..d43b1d2 100644 --- a/php-mikealmond-musicbrainz.spec +++ b/php-mikealmond-musicbrainz.spec @@ -1,3 +1,12 @@ +# remirepo spec file for php-mikealmond-musicbrainz +# +# Fedora spec file for php-mikealmond-musicbrainz +# +# License: MIT +# http://opensource.org/licenses/MIT +# +# Please preserve changelog entries +# Name: php-mikealmond-musicbrainz Version: 0.2.2 Release: 1%{?dist} @@ -58,6 +67,7 @@ phpunit --no-coverage --bootstrap %{buildroot}/%{_datadir}/php/MusicBrainz/autol %files +%{!?_licensedir:%global license %%doc} %license LICENSE.md %doc composer.json %doc README.md @@ -65,5 +75,8 @@ phpunit --no-coverage --bootstrap %{buildroot}/%{_datadir}/php/MusicBrainz/autol %changelog +* Thu Mar 9 2017 Remi Collet - 0.2.2-1 +- backport for #remirepo + * Sat Mar 04 2017 Randy Barlow - 0.2.2-1 - Initial release. -- cgit