Initial commit
This commit is contained in:
commit
21395cd908
1 changed files with 55 additions and 0 deletions
55
rpm.spec
Normal file
55
rpm.spec
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
Name: rpm
|
||||||
|
Version: 4.20.1
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Red Hat Package Management Utils
|
||||||
|
|
||||||
|
License: GPL-2 LGPL-2
|
||||||
|
URL: https://rpm.org
|
||||||
|
Source0: http://ftp.rpm.org/releases/rpm-4.20.x/rpm-%{version}.tar.bz2
|
||||||
|
|
||||||
|
BuildRequires: bash cmake gcc lua-devel zlib-ng-compat-devel popt-devel readline-devel libzstd-devel elfutils-libelf-devel openssl-devel
|
||||||
|
BuildRequires: libarchive-devel file-devel sqlite-devel libcap-devel libacl-devel rpm-sequoia-devel gettext
|
||||||
|
Requires: bash
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake \
|
||||||
|
-DWITH_OPENSSL=ON \
|
||||||
|
-DWITH_AUDIT=OFF \
|
||||||
|
-DWITH_DBUS=OFF \
|
||||||
|
-DWITH_SELINUX=OFF \
|
||||||
|
-DWITH_ZLIB=OFF \
|
||||||
|
-DWITH_BZIP2=OFF \
|
||||||
|
-DWITH_LIBLZMA=OFF \
|
||||||
|
-DWITH_LIBDW=OFF \
|
||||||
|
-DWITH_INTERNAL_OPENPGP=ON \
|
||||||
|
-DWITH_SEQUOIA=OFF \
|
||||||
|
-DENABLE_PYTHON=OFF
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_libdir}/*
|
||||||
|
%{_datadir}/*
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_prefix}/lib/*
|
||||||
|
|
||||||
|
#%license add-license-file-here
|
||||||
|
#%doc add-docs-here
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Sep 15 2025 Dmitrii Tochanskii <tochansky@tochlab.ru>
|
||||||
|
-
|
||||||
Loading…
Add table
Add a link
Reference in a new issue