From 6a0be7a4761e60b718a8776009b6a2a9b87a283b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 11 Oct 2024 10:05:12 +0200 Subject: new project --- composer-generators.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 composer-generators.spec (limited to 'composer-generators.spec') diff --git a/composer-generators.spec b/composer-generators.spec new file mode 100644 index 0000000..65e3eb0 --- /dev/null +++ b/composer-generators.spec @@ -0,0 +1,58 @@ +# remirepo/fedora spec file for composer-generators +# +# Copyright (c) 2024 Remi Collet +# License: GPL-2.0-or-later +# https://www.gnu.org/licenses/gpl-2.0.en.html +# +# Please, preserve the changelog entries +# + +Name: composer-generators +Version: 0.1.0 +Release: 1%{?dist} +# Use same license than RPM +License: GPL-2.0-or-later +URL: https://git.remirepo.net/cgit/rpms/composer-generators.git/ +Summary: Tools for composer enabled applications packager + +# tar czv composer-generators-0.1.0.tgz LICENSE NEWS composer.prov composer.attr +Source0: %{name}-%{version}.tgz + +BuildArch: noarch +BuildRequires: php-cli + +Requires: php-cli + + +%description +This package provides RPM generators which are used for +getting provides from composer enabled applications. + +* find main project name and provide it +* find bundled libraries and provide them + + +%prep +%setup -q -c + + +%install +install -Dpm 755 composer.prov %{buildroot}%{_rpmconfigdir}/composer.prov +install -Dpm 644 composer.attr %{buildroot}%{_fileattrsdir}/composer.attr + + +%check +: Syntax check only +%{_bindir}/php -l %{buildroot}%{_rpmconfigdir}/composer.prov + + +%files +%license LICENSE +%doc NEWS +%{_rpmconfigdir}/composer.prov +%{_fileattrsdir}/composer.attr + + +%changelog +* Fri Oct 11 2024 Remi Collet - 0.1.0-1 +- Initial package -- cgit