From 3fb22c74382ad2bf322f6525fc50a4c2f3649a2e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Mar 2017 09:15:41 +0100 Subject: php-mikealmond-musicbrainz: import from Fedora --- php-mikealmond-musicbrainz.spec | 69 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 php-mikealmond-musicbrainz.spec diff --git a/php-mikealmond-musicbrainz.spec b/php-mikealmond-musicbrainz.spec new file mode 100644 index 0000000..f562405 --- /dev/null +++ b/php-mikealmond-musicbrainz.spec @@ -0,0 +1,69 @@ +Name: php-mikealmond-musicbrainz +Version: 0.2.2 +Release: 1%{?dist} +BuildArch: noarch + +License: MIT +Summary: A PHP library to access MusicBrainz's Web Service v2 +URL: https://github.com/mikealmond/MusicBrainz +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: php-composer(fedora/autoloader) +BuildRequires: php-fedora-autoloader-devel +BuildRequires: phpunit + +Requires: php(language) >= 5.3.8 +Requires: php-composer(fedora/autoloader) +Requires: php-curl +Requires: php-date +Requires: php-filter +Requires: php-json +Requires: php-pcre +Requires: php-spl + +Provides: php-composer(mikealmond/musicbrainz) = %{version} + + +%description +This PHP library that allows you to easily access the MusicBrainz Web +Service V2 API. Visit the MusicBrainz development page for more +information. + +This project is a fork of https://github.com/chrisdawson/MusicBrainz and +takes some inspiration from the Python bindings. + + +%prep +%autosetup -n MusicBrainz-%{version} + + +%build +cat <<'AUTOLOAD' | tee src/MusicBrainz/autoload.php + - 0.2.2-1 +- Initial release. -- cgit