141 lines
4.7 KiB
RPMSpec
141 lines
4.7 KiB
RPMSpec
%define gitver %(echo %version | tr _ -)
|
|
Name: php-composer
|
|
Version: 2.6.3
|
|
Release: 1mamba
|
|
Summary: Dependency Manager for PHP
|
|
Group: Development/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://getcomposer.org
|
|
## GITSOURCE https://github.com/composer/composer.git master
|
|
Source: https://github.com/composer/composer.git/%{gitver}/composer-%{version}.tar.bz2
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: php
|
|
Requires: php-openssl
|
|
|
|
%description
|
|
Dependency Manager for PHP.
|
|
|
|
%prep
|
|
%setup -q -n composer-%{version}
|
|
# FIXME: UGLY; needs git repository to build
|
|
git clone https://github.com/composer/composer.git
|
|
cd composer
|
|
wget https://getcomposer.org/download/%{gitver}/composer.phar
|
|
php composer.phar -n install --no-dev
|
|
|
|
%build
|
|
cd composer
|
|
php -d phar.readonly=Off bin/compile
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
cd composer
|
|
install -D -m755 composer.phar %{buildroot}%{_bindir}/composer
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/composer
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Fri Sep 15 2023 Automatic Build System <autodist@mambasoft.it> 2.6.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Sep 04 2023 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 02 2023 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 02 2023 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jun 11 2023 Automatic Build System <autodist@mambasoft.it> 2.5.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu May 25 2023 Automatic Build System <autodist@mambasoft.it> 2.5.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 21 2023 Automatic Build System <autodist@mambasoft.it> 2.5.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Feb 16 2023 Automatic Build System <autodist@mambasoft.it> 2.5.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 11 2023 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Feb 06 2023 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Dec 23 2022 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 21 2022 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Oct 29 2022 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Oct 15 2022 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Sep 15 2022 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 21 2022 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 17 2022 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 14 2022 Automatic Build System <autodist@mambasoft.it> 2.3.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 07 2022 Automatic Build System <autodist@mambasoft.it> 2.3.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jul 01 2022 Automatic Build System <autodist@mambasoft.it> 2.3.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jun 07 2022 Automatic Build System <autodist@mambasoft.it> 2.3.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jun 03 2022 Automatic Build System <autodist@mambasoft.it> 2.3.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 10 2022 Automatic Build System <autodist@mambasoft.it> 2.3.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.9-1mamba
|
|
- update to 2.0.9
|
|
|
|
* Fri Apr 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.5-1mamba
|
|
- update to 1.8.5
|
|
- require php-openssl
|
|
|
|
* Wed Feb 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.4-1mamba
|
|
- update to 1.8.4
|
|
|
|
* Tue Jul 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
- update to 1.2.0
|
|
|
|
* Sun May 01 2016 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 23 2016 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0_beta1-1mamba
|
|
- update to 1.0.0_beta1
|
|
|
|
* Sat Jan 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0_alpha11-1mamba
|
|
- package created using the webbuild interface
|