Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alvistack
composer-composer-2.7.5
composer_2.7.5-1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File composer_2.7.5-1.spec of Package composer-composer-2.7.5
# Copyright 2024 Wong Hoi Sing Edison <hswong3i@pantarei-design.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. %global debug_package %{nil} %global source_date_epoch_from_changelog 0 Name: composer Epoch: 100 Version: 2.7.5 Release: 1%{?dist} BuildArch: noarch Summary: Dependency Manager for PHP License: MIT URL: https://github.com/composer/composer/tags Source0: %{name}_%{version}.orig.tar.gz BuildRequires: fdupes %description Composer helps you declare, manage and install dependencies of PHP projects, ensuring you have the right stack everywhere. %prep %autosetup -T -c -n %{name}_%{version}-%{release} tar -zx -f %{S:0} --strip-components=1 -C . %install install -Dpm755 -d %{buildroot}%{_bindir} install -Dpm755 -d %{buildroot}%{_sysconfdir}/profile.d install -Dpm755 -d %{buildroot}%{_datadir}/php/vendor install -Dpm755 -t %{buildroot}%{_sysconfdir}/profile.d etc/profile.d/composer.sh cp -rfT vendor %{buildroot}%{_datadir}/php/vendor pushd %{buildroot}%{_bindir} && \ ln -fs %{_datadir}/php/vendor/composer/bin/composer composer && \ popd chmod a+x %{buildroot}%{_datadir}/php/vendor/composer/bin/composer fdupes -qnrps %{buildroot}%{_datadir}/php/vendor %check %files %license LICENSE %dir %{_datadir}/php %dir %{_datadir}/php/vendor %{_bindir}/* %{_datadir}/php/vendor/* %{_sysconfdir}/profile.d/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor