Package composer: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | Name: composer Version: 2.0.11 Release: alt1 Summary: Composer helps you declare, manage and install dependencies of PHP projects, ensuring you have the right stack everywhere License: MIT Group: System/Configuration/Packaging Url: https://getcomposer.org/ Packager: Vitaly Lipatov <lav@altlinux.ru> # Source-url: https://github.com/composer/composer/archive/%version.tar.gz Source: %name-%version.tar Source1: composer.sh Source2: composer.sysconfig Source3: compile Source4: README.ALT Source10: %name-production-%version.tar Patch1: composer-compiler.patch BuildArch: noarch BuildRequires: php7 Requires: %_bindir/php Requires: php7-openssl %description Composer helps you declare, manage and install dependencies of PHP projects, ensuring you have the right stack everywhere. %prep %setup -a 10 %patch1 -p2 install %SOURCE3 -D ./compile cp %SOURCE4 . %__subst "s|src/Composer/Composer.php|disable-date-changing|" src/Composer/Composer.php %build # unused date # Note! stat -c%%y output is incompatible with date in python! export RELDATE="$(stat -c '%%y' CHANGELOG.md | sed -e 's|\.[0-9]* | |')" #build composer.phar php -d phar.readonly=off -d date.timezone='Europe/Moscow' ./compile %version "$RELDATE" %install install -m 0755 -D composer.phar %buildroot/%_datadir/composer.phar install -m 0755 -D %SOURCE1 %buildroot/%_bindir/%name install -m 0644 -D %SOURCE2 %buildroot%_sysconfdir/sysconfig/%name %files %doc README.ALT %attr(755,root,root) %_bindir/%name %attr(755,root,root) %_datadir/%name.phar %config(noreplace) %_sysconfdir/sysconfig/%name %changelog * Thu Mar 11 2021 Vitaly Lipatov <lav@altlinux.ru> 2.0.11-alt1 - new version 2.0.11 (with rpmrb script) * Wed Feb 03 2021 Vitaly Lipatov <lav@altlinux.ru> 2.0.9-alt1 - new version 2.0.9 (with rpmrb script) * Wed Oct 14 2020 Vitaly Lipatov <lav@altlinux.ru> 1.10.15-alt2 - switch to build from tarball * Tue Oct 13 2020 Vitaly Lipatov <lav@altlinux.ru> 1.10.15-alt1 - new version * Wed Apr 01 2020 Vitaly Lipatov <lav@altlinux.ru> 1.10.1-alt1 - new version - set default memory limit to 512MB * Fri Jan 31 2020 Vitaly Lipatov <lav@altlinux.ru> 1.9.2-alt1 - new version 1.9.2 (with rpmrb script) * Sat Nov 09 2019 Vitaly Lipatov <lav@altlinux.ru> 1.9.1-alt1 - new version 1.9.1 * Fri Jun 07 2019 Vitaly Lipatov <lav@altlinux.ru> 1.8.5-alt1 - new version 1.8.5 (with rpmrb script) - improve autoupdate with rpmrb NEWVERSION * Fri Aug 17 2018 Nikolay A. Fetisov <naf@altlinux.org> 1.7.2-alt1 - new version - configurable memory_limit PHP setting (Closes: 33520) - remove PHP7 requirements - composer can be used with PHP5 too * Fri May 18 2018 Vitaly Lipatov <lav@altlinux.ru> 1.6.5-alt1 - build new version - switch to php7 * Tue Jan 23 2018 Vitaly Lipatov <lav@altlinux.ru> 1.6.2-alt1 - build new version * Tue Oct 17 2017 Vitaly Lipatov <lav@altlinux.ru> 1.5.2-alt1 - build new version * Thu Jul 13 2017 Vitaly Lipatov <lav@altlinux.ru> 1.4.2-alt1 - build new version * Mon Mar 27 2017 Vitaly Lipatov <lav@altlinux.ru> 1.4.1-alt1 - build new version * Sat Jul 16 2016 Vitaly Lipatov <lav@altlinux.ru> 1.1.3-alt1 - build new version 1.1.3 - set memory_limit 256M * Wed Nov 25 2015 Danil Mikhailov <danil@altlinux.org> 1.0.0-alt4 - Added php5 req * Fri May 29 2015 Danil Mikhailov <danil@altlinux.org> 1.0.0-alt3 - Remove install section, added vendor cache * Fri May 29 2015 Danil Mikhailov <danil@altlinux.org> 1.0.0-alt2 - Change libdir to datadir, add commets * Thu May 28 2015 Danil Mikhailov <danil@altlinux.org> 1.0.0-alt1 - initial build for ALT Linux Sisyphus |