# remirepo spec file for remi-release (Fedora) # # Copyright (c) 2006-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # %global pkgman dnf Name: remi-release Version: %{fedora} %if %{fedora} == 36 Release: 1%{?dist} %endif %if %{fedora} == 35 Release: 4%{?dist} %endif %if %{fedora} == 34 Release: 7%{?dist} %endif Summary: Configuration for remi repository Summary(fr): Configuration pour le dépôt remi Group: System Environment/Base License: CC-BY-SA URL: https://rpms.remirepo.net/ # Repository configuration files Source1: remi.repo Source2: remi-test.repo Source3: remi-php.repo Source4: remi-php-test.repo Source6: remi-modular.repo Source7: remi-modular-test.repo Source8: remi-debug.repo # GPG keys Source2000: RPM-GPG-KEY-remi Source2017: RPM-GPG-KEY-remi2017 Source2018: RPM-GPG-KEY-remi2018 Source2019: RPM-GPG-KEY-remi2019 Source2020: RPM-GPG-KEY-remi2020 Source2021: RPM-GPG-KEY-remi2021 Source2022: RPM-GPG-KEY-remi2022 BuildArch: noarch Requires: /etc/yum.repos.d Requires: fedora-release >= %{fedora} # For smoth upgrade %if %{fedora} >= 35 Obsoletes: icu69 < 69.2 Obsoletes: libicu69 < 69.2 Obsoletes: libicu69-devel < 69.2 Obsoletes: libicu69-doc < 69.2 %endif %description This package contains %{pkgman} configuration for the "remi" RPM Repository, as well as the public GPG keys used to sign them. The repository is not enabled after installation, so you must use the --enablerepo=remi option for %{pkgman}. For proper PHP installation, follow the wizard instructions: https://rpms.remirepo.net/wizard/ FAQ: https://blog.remirepo.net/pages/English-FAQ Forum: https://forum.remirepo.net/ Twitter: https://twitter.com/RemiRepository %description -l fr Ce paquetage contient le fichier de configuration de %{pkgman} pour utiliser les RPM du dépôt "remi" ainsi que la clé GPG utilisée pour les signer. Le dépôt n'est pas activé après l'installation, vous devez donc utiliser l'option --enablerepo=remi de %{pkgman}. Pour une bonne installation de PHP, suivre les instructions de l'assistant : https://rpms.remirepo.net/wizard/ FAQ: https://blog.remirepo.net/pages/FAQ-en-Francais Forum: https://forum.remirepo.net/ Twitter: https://twitter.com/RemiRepository %prep %setup -c -T sed -e 's/@VER@/80/;s/@DOTVER@/8.0/' %{SOURCE3} >remi-php80.repo sed -e 's/@VER@/81/;s/@DOTVER@/8.1/' %{SOURCE3} >remi-php81.repo sed -e 's/@VER@/80/;s/@DOTVER@/8.0/' %{SOURCE4} >remi-php80-test.repo sed -e 's/@VER@/81/;s/@DOTVER@/8.1/' %{SOURCE4} >remi-php81-test.repo %build echo empty build %install # PGP install -Dp -m 644 %{SOURCE2000} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi install -Dp -m 644 %{SOURCE2017} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi2017 install -Dp -m 644 %{SOURCE2018} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi2018 install -Dp -m 644 %{SOURCE2019} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi2019 install -Dp -m 644 %{SOURCE2020} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi2020 install -Dp -m 644 %{SOURCE2021} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi2021 install -Dp -m 644 %{SOURCE2022} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi2022 %if %{fedora} <= 36 ln -s RPM-GPG-KEY-remi2022 %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi-36 %endif %if %{fedora} <= 35 ln -s RPM-GPG-KEY-remi2021 %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi-35 %endif %if %{fedora} <= 34 ln -s RPM-GPG-KEY-remi2021 %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi-34 %endif # YUM install -Dp -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/yum.repos.d/remi.repo install -Dp -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-test.repo %if %{fedora} < 36 install -m 644 remi-php81.repo %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php81.repo install -m 644 remi-php81-test.repo %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php81-test.repo %endif %if %{fedora} < 35 install -m 644 remi-php80.repo %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php80.repo install -m 644 remi-php80-test.repo %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php80-test.repo %endif install -Dp -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-modular.repo install -Dp -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-modular-test.repo install -Dp -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-debuginfo.repo %files %config(noreplace) %{_sysconfdir}/yum.repos.d/remi*.repo %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi* %changelog * Thu Feb 10 2022 Remi Collet - 36-1, 35-4, 34-7 - Fedora 36 using 2022 GPG key * Tue Nov 30 2021 Remi Collet - 34-6, 35-3 - add remi-modular-debuginfo and remi-modular-test-debuginfo repository configurations * Wed Nov 3 2021 Remi Collet - 35-2 - obsoletes icu69 for smoth upgrade from F33/F34 * Fri Sep 3 2021 Remi Collet - 35-1, 34-5, 33-6 - Fedora release 35 * Thu Sep 2 2021 Remi Collet - 34-4, 33-5 - add php81 repositories * Mon May 17 2021 Remi Collet - 34-3, 33-4 - enable repo_gpgcheck for https://github.com/remicollet/remirepo/issues/175 * Fri Apr 16 2021 Remi Collet - 34-2, 33-3, 32-5 - drop glpi repository configuration files * Tue Feb 16 2021 Remi Collet - 34-1 - Fedora release 34 * Mon Jan 4 2021 Remi Collet - 33-2, 32-4 - add new 2021 GPG key * Tue Aug 18 2020 Remi Collet - 33-1, 32-3, 31-4 - Fedora release 33 * Mon Aug 17 2020 Remi Collet - 32-2, 31-3 - add php80 repositories * Mon Feb 17 2020 Remi Collet - 32-1, 31-2, 30-3 - Fedora release 32 - new GPG key * Fri Mar 1 2019 Remi Collet - 31-1, 30-2, 29-8 - add fedora 31 and php74 repositories * Fri Mar 1 2019 Remi Collet - 30-1 - Fedora release 30 * Fri Dec 21 2018 Remi Collet - 29-6 and 28-6 - add remi-glpi94 repository * Mon Dec 3 2018 Remi Collet - 29-5 - add remi-modular-test repository * Wed Nov 28 2018 Remi Collet - 29-4 - add remi-modular repository * Wed Nov 7 2018 Remi Collet - 29-3 - use expanded mirrorlist, workaround for https://bugzilla.redhat.com/1637148 * Wed Aug 22 2018 Remi Collet - 27-5, 28-4 and 29-2 - drop failovermethod which is unkown with DNF * Wed Aug 22 2018 Remi Collet - 29-1 - Fedora release 29 * Thu Jun 14 2018 Remi Collet - 27-4 and 28-3 - add php 7.3 repository - simplify sources * Tue Jun 5 2018 Remi Collet - 27-3 and 28-2 - add GLPI dedicated repostitories - add symlink to have a key per version and allow system upgrade * Mon Feb 26 2018 Remi Collet - 28-1 - Fedora release 28 - fix package License (CC-BY-SA) * Fri Jan 12 2018 Remi Collet - 27-2, 26-3 - Add the GPG Key used for Fedora 28 - switch mirrorlist to cdn.remirepo.net * Tue Aug 22 2017 Remi Collet - 27-1 - Fedora release 27 * Thu Jun 29 2017 Remi Collet - 26-2, 25-4 - add remi-php72 repository configuration * Mon Mar 6 2017 Remi Collet - 26-1, 25-3 and 24-3 - Fedora release 26 - Add the GPG Key used for Fedora 26 * Sun Sep 11 2016 Remi Collet - 25-1 - Fedora release 25 * Thu Jun 30 2016 Remi Collet - 22-4, 23-4 and 24-2 - add remi-php71 repository configuration - add debuginfo repository configuration * Fri Mar 4 2016 Remi Collet - 24-1.fc24 - Fedora release 24 * Fri Jan 15 2016 Remi Collet - %{fedora}-3.fc%{fedora}.remi - add remi-php70-test repository * Fri Aug 28 2015 Remi Collet - 23-1.fc23.remi - Fedora release 23 * Thu Jul 23 2015 Remi Collet - ##-2.fc##.remi - add php70 repository - update repository configuration for new "remirepo.net" domain * Fri Feb 27 2015 Remi Collet - 22-1.fc22.remi - Fedora release 22 * Sun Aug 31 2014 Remi Collet - 21-1.fc21.remi - Fedora release 21 - drop dependency on yum, as dnf exists * Sun Aug 31 2014 Remi Collet - 20-3.fc20.remi - split configuration, one file per repository - add failovermethod=roundrobin for yum - add fastestmirror=1 for dnf > 0.4 - drop apt configuration * Fri Feb 28 2014 Remi Collet - 19-2 and 20-2 - add php56 repository * Tue Sep 10 2013 Remi Collet - 20-1.fc20.remi - Fedora release 20 (Heisenbug) * Wed Apr 24 2013 Remi Collet - 19-1.fc19.remi - Fedora release 19 (Schrödinger's Cat) * Sun Oct 21 2012 Remi Collet - 18-1.fc18.remi - Fedora release 18 (Spherical Cow) * Tue Jun 26 2012 Remi Collet - 17-7.fc17.remi - remove post scriptlet (smart stuff) * Sat May 05 2012 Remi Collet - 17-6.fc17.remi - Fedora release 17 (Beefy Miracle) - drop Smart config * Sun Oct 02 2011 Remi Collet - 16-6.fc16.remi - F16 build - Verne * Sat Apr 16 2011 Remi Collet - 15-6.fc15.remi - F15 build - Lovelock * Wed Sep 22 2010 Remi Collet - 14-6.fc14.remi - F14 build - Laughlin * Sat May 01 2010 Remi Collet - ##-6.fc##.remi - use a mirrorlist URL * Sat Apr 17 2010 Remi Collet - 13-5.fc13.remi - F13 build - Goddard * Fri Nov 06 2009 Remi Collet - 12-5.fc12.remi - F12 build * Thu Apr 30 2009 Remi Collet - ##-5.fc##.remi - F11 build - new repo layout * Wed Nov 12 2008 Remi Collet - 10-4.fc10.remi - F10 build - remove old site (remi.collet.free.fr) * Wed May 7 2008 Remi Collet - 9-4.fc9.remi - F9 build * Sat Feb 2 2008 Remi Collet - {3-8}-4.fc{3-8}.remi - new mirror http://rpms.famillecollet.com/ * Fri Nov 02 2007 Remi Collet - 8-3.fc8.remi - F8 build * Thu Aug 23 2007 Remi Collet - {3-5}-3.fc{3-5}.remi - update smart.channel during %%post only on fc > 5 * Sun Jun 24 2007 Remi Collet - {3-7}-2.el4.remi - New key (email change, same ID) * Sun May 20 2007 Remi Collet - 7-1.fc7.remi - F-7 rebuild * Sat Mar 24 2007 Remi Collet - 6-1.fc6.remi - add remi.channel for smart - add remi.list for apt * Mon Nov 20 2006 Remi Collet - 1-2.fc6.remi - change mirror list (iut-info.ens.univ-reims.fr to iut-info.univ-reims.fr) * Tue Oct 24 2006 Remi Collet - 1-1.fc6.remi - open FC6 repo * Sun Mar 26 2006 Remi Collet - 1-1.fc5.remi - open FC5 repo * Tue Jan 03 2006 Remi Collet - 1-1.fc{3,4}.remi - initial package