From d2508be1862a9acc2dceea1c06bf875b69a48a6e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 May 2018 13:10:37 +0200 Subject: backport + fix provides --- .gitignore | 8 +++++++ Makefile | 4 ++++ composer.json | 47 ++++++++++++++++++++++++++++++++++++++++++ php-deepdiver-zipstreamer.spec | 4 +++- 4 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 composer.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc9aa8c --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +clog +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm 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..85992b9 --- /dev/null +++ b/composer.json @@ -0,0 +1,47 @@ +{ + "name": "deepdiver/zipstreamer", + "type": "library", + "description": "Stream zip files without i/o overhead", + "keywords": ["zip", "stream"], + "homepage": "https://github.com/DeepDiver1975/PHPZipStreamer", + "license": "GPL-3.0+", + "version": "1.1.1", + "authors": [ { + "name": "Nicolai Ehemann", + "email": "en@enlightened.de", + "role": "Author/Maintainer" + },{ + "name": "André Rothe", + "email": "arothe@zks.uni-leipzig.de", + "role": "Contributor" + },{ + "name": "Lukas Reschke", + "email": "lukas@owncloud.com", + "role": "Contributor" + },{ + "name": "Thomas Müller", + "email": "thomas.mueller@tmit.eu", + "role": "Contributor" + },{ + "name": "Roeland Jago Douma", + "email": "roeland@famdouma.nl", + "role": "Contributor" + } + ], + "repositories": [ { + "type": "vcs", + "url": "https://github.com/DeepDiver1975/PHPZipStreamer" + } + ], + "require": { + "php": ">=5.6.0" + }, + "autoload": { + "psr-4": { + "ZipStreamer\\": "src/" + } + }, + "require-dev": { + "phpunit/phpunit": "^5.7" + } +} diff --git a/php-deepdiver-zipstreamer.spec b/php-deepdiver-zipstreamer.spec index e16c683..8c83c37 100644 --- a/php-deepdiver-zipstreamer.spec +++ b/php-deepdiver-zipstreamer.spec @@ -1,3 +1,5 @@ +# remirepo php-deepdiver-zipstreamer spec file, from +# # php-deepdiver-zipstreamer spec file # forked from remirepo/fedora/php-mcnetic-zipstreamer # @@ -54,7 +56,7 @@ Requires: php-pecl(pecl_http) %endif Obsoletes: php-mcnetic-zipstreamer < 1:1.0-4 -Provides: php-composer(mcnetic/zipstreamer) = 1:%{version} +Provides: php-composer(mcnetic/zipstreamer) = %{version} Provides: php-composer(deepdiver/zipstreamer) = %{version} %description -- cgit