diff options
author | Remi Collet <remi@remirepo.net> | 2024-10-11 10:05:12 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-10-11 10:05:12 +0200 |
commit | 6a0be7a4761e60b718a8776009b6a2a9b87a283b (patch) | |
tree | 778ae5427bb1c1d6cc8767dabda603b0968be59d /composer-generators.spec |
new projectv0.1.0
Diffstat (limited to 'composer-generators.spec')
-rw-r--r-- | composer-generators.spec | 58 |
1 files changed, 58 insertions, 0 deletions
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 <remi@remirepo.net> - 0.1.0-1 +- Initial package |