From 3fca45b81585257bcf027bde6e65efeddcf90b1c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 18 Jul 2017 07:47:27 +0200 Subject: backport --- .gitignore | 7 +++++++ Makefile | 4 ++++ composer.json | 23 +++++++++++++++++++++++ php-robrichards-xmlseclibs3.spec | 1 + 4 files changed, 35 insertions(+) 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..1ab5c4f --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +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..5a81ccd --- /dev/null +++ b/composer.json @@ -0,0 +1,23 @@ +{ + "name": "robrichards/xmlseclibs", + "description": "A PHP library for XML Security", + "license": "BSD-3-Clause", + "keywords": [ + "xml", + "xmldsig", + "signature", + "security" + ], + "homepage": "https://github.com/robrichards/xmlseclibs", + "autoload": { + "psr-4": { + "RobRichards\\XMLSecLibs\\": "src" + } + }, + "require": { + "php": ">= 5.6" + }, + "suggest": { + "ext-openssl": "OpenSSL extension" + } +} diff --git a/php-robrichards-xmlseclibs3.spec b/php-robrichards-xmlseclibs3.spec index 8d6c63a..1817e25 100644 --- a/php-robrichards-xmlseclibs3.spec +++ b/php-robrichards-xmlseclibs3.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-robrichards-xmlseclibs3, from: # # Fedora spec file for php-robrichards-xmlseclibs3 # -- cgit