## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # We ship a .pc file but don't want to have a dep on pkg-config. We # strip the automatically generated dep here and instead co-own the # directory. %global __requires_exclude pkg-config %global libmajor 13 %global libminor 0 # Use the same directory of the main package for subpackage licence and docs %global _docdir_fmt %{name} Name: pacman Version: 6.0.2 Release: %autorelease Source0: https://gitlab.archlinux.org/pacman/pacman/-/archive/v%{version}/pacman-v%{version}.tar.gz Source1: https://www.archlinux.org/mirrorlist/all URL: https://gitlab.archlinux.org/pacman/pacman License: GPLv2+ Summary: Package manager for the Arch distribution BuildRequires: gcc BuildRequires: meson BuildRequires: m4 BuildRequires: bsdtar BuildRequires: gettext-devel BuildRequires: asciidoc BuildRequires: doxygen BuildRequires: libarchive-devel BuildRequires: gpgme-devel BuildRequires: openssl-devel BuildRequires: libcurl-devel BuildRequires: perl-generators Requires: %{name}-filesystem = %{version}-%{release} Requires: bsdtar Recommends: arch-install-scripts %description Pacman is the package manager used by the Arch distribution. It can be used to install Arch into a container or to recover an Arch installation from a Fedora system (see arch-install-scripts package for instructions). Pacman is a frontend for the ALPM (Arch Linux Package Management) library Pacman does not strive to "do everything." It will add, remove and upgrade packages in the system, and it will allow you to query the package database for installed packages, files and owners. It also attempts to handle dependencies automatically and can download packages from a remote server. Arch packages are simple archives, with .pkg.tar.gz extension for binary packages and .src.tar.gz for source packages. %package -n libalpm Summary: Arch Linux Package Management library %description -n libalpm This library is the backend behind Pacman — the package manager used by the Arch distribution. It uses simple compressed files as a package format, and maintains a text-based package database. %package -n libalpm-devel Summary: Development headers for libalpm Requires: libalpm%{_isa} = %{version}-%{release} %description -n libalpm-devel This package contains the public headers necessary to use libalpm. %package filesystem Summary: Pacman filesystem layout License: Public Domain BuildArch: noarch %description filesystem This package provides some directories used by pacman and related packages. %prep %autosetup -p1 -n pacman-v%{version} # Enable some servers by default. rackspace.com is in the "worldwide" section, # and "kernel.org" seems to be a good default too. sed -r 's+^#(Server = https://(mirrors.kernel.org|mirror.rackspace.com)/)+\1+' <%{SOURCE1} >mirrorlist %build CONFIGURE_OPTS=( -Ddoxygen=enabled ) %meson "${CONFIGURE_OPTS[@]}" %meson_build %install %meson_install %find_lang pacman %find_lang pacman-scripts %find_lang libalpm cat pacman-scripts.lang >>pacman.lang install -Dm0644 mirrorlist %{buildroot}%{_sysconfdir}/pacman.d/mirrorlist cat >>%{buildroot}%{_sysconfdir}/pacman.conf < - 6.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Feb 21 2023 Zbigniew Jędrzejewski-Szmek - 6.0.2-1 - Version 6.0.2 (rhbz#2131645) - Update mirror list - Update URL, since the original one is now 404 * Thu Jan 19 2023 Fedora Release Engineering - 6.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 6.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 6.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jan 20 2022 Zbigniew Jędrzejewski-Szmek - 6.0.1-3 - Add community repo (fixes #2031003) * Tue Sep 14 2021 Sahana Prasad - 6.0.1-2 - Rebuilt with OpenSSL 3.0.0 * Sat Sep 04 2021 Zbigniew Jędrzejewski-Szmek - 6.0.1-1 - Version 6.0.1 (#2001210) * Thu Jul 22 2021 Fedora Release Engineering - 6.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 15 2021 Zbigniew Jędrzejewski-Szmek - 6.0.0-1 - Latest version (#1851336) * Sun Mar 28 2021 David Ward - 5.2.2-1 - Version 5.2.2 (#1851336) * Tue Jan 26 2021 Fedora Release Engineering - 5.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 5.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 5 2020 Zbigniew Jędrzejewski-Szmek - 5.2.1-4 - Also include [extra] section in the default configuration * Tue May 5 2020 Zbigniew Jędrzejewski-Szmek - 5.2.1-3 - Update server list and make sure at least one server is uncommented * Wed Apr 1 2020 Zbigniew Jędrzejewski-Szmek - 5.2.1-2 - Remove makepkg bash completion script to fix file conflict * Tue Mar 31 2020 Zbigniew Jędrzejewski-Szmek - 5.2.1-1 - Update to latest upstream version (#1582967) - Fix arbitrary command injection in download URLs (#1809299, #1809301) * Wed Jan 29 2020 Fedora Release Engineering - 5.0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 5.0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 5.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 5.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Igor Gnatenko - 5.0.2-5 - Escape macros in %%changelog * Thu Feb 08 2018 Fedora Release Engineering - 5.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 5.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 5.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 6 2017 Zbigniew Jędrzejewski-Szmek - 5.0.2-1 - Update to latest upstream version (#1458966) * Sat Feb 11 2017 Fedora Release Engineering - 5.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Dec 10 2016 Igor Gnatenko - 5.0.1-2 - Rebuild for gpgme 1.18 * Thu Mar 31 2016 Zbigniew Jędrzejewski-Szmek - 5.0.1-1 - Update to latest upstream version (#1311111) * Wed Feb 3 2016 Zbigniew Jędrzejewski-Szmek - 5.0.0-1 - Update to latest upstream version - libalpm is bumped to version 10.0 - Upstream is in the process of splitting out makepkg, it is now installed in /usr/share/makepkg. * Sat Jun 20 2015 Zbigniew Jędrzejewski-Szmek - 4.2.1-1 - Update to version 4.2.1 - libalpm is bumped to version 9.0 * Thu Jun 18 2015 Fedora Release Engineering - 4.1.2-5.20130626git28cb22e - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jan 07 2015 Zbigniew Jędrzejewski-Szmek - 4.1.2-4.20130626git28cb22e - Require bsdtar (#1176244) - Use %%license and a single directory for documentation * Sun Aug 17 2014 Fedora Release Engineering - 4.1.2-3.20130626git28cb22e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 4.1.2-2.20130626git28cb22e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Aug 22 2013 Zbigniew Jędrzejewski-Szmek - 4.1.2-1.20130626git28cb22e - Build from git snapshot. - Include /etc/pacman.d/mirrorlist. - Add pacman-filesystem package. - Add missing build dependencies and fix other packaging issues. - Package accepted (#998127). * Fri Aug 16 2013 Zbigniew Jędrzejewski-Szmek - 4.1.2-1 - Initial packaging.