librepo 1.20.0
This commit is contained in:
commit
1405381903
1 changed files with 48 additions and 0 deletions
48
librepo.spec
Normal file
48
librepo.spec
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
Name: librepo
|
||||||
|
Version: 1.20.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Repodata downloading library
|
||||||
|
|
||||||
|
License: LGPL-2.1
|
||||||
|
URL: http://rpm-software-management.github.io/librepo/
|
||||||
|
Source0: https://github.com/rpm-software-management/librepo/archive/refs/tags/%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: cmake gcc glib2-devel libxml2-devel openssl-devel curl-devel rpm-devel
|
||||||
|
Requires: bash
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake \
|
||||||
|
-DENABLE_TESTS=OFF \
|
||||||
|
-DENABLE_DOCS=OFF \
|
||||||
|
-DENABLE_EXAMPLES=OFF \
|
||||||
|
-DWITH_ZCHUNK=OFF \
|
||||||
|
-DENABLE_PYTHON=OFF \
|
||||||
|
-DUSE_GPGME=OFF \
|
||||||
|
-DENABLE_SELINUX=OFF
|
||||||
|
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
|
%{?ldconfig_scriptlets}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_libdir}
|
||||||
|
%{_includedir}
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Apr 17 2026 Dmitrii Tochanskii <tochansky@tochlab.ru>
|
||||||
|
-
|
||||||
Loading…
Add table
Add a link
Reference in a new issue