Projects
Eulaceura:Factory
librepo
_service:obs_scm:librepo.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:librepo.spec of Package librepo
%global libcurl_version 7.52.0 %global dnf_conflict 2.8.8 %bcond_without pythontests %bcond_with zchunk Name: librepo Version: 1.18.1 Release: 2 Summary: Repodata downloading library License: LGPL-2.0-or-later URL: https://github.com/rpm-software-management/librepo Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # https://github.com/rpm-software-management/librepo/issues/269 Patch0: librepo-gpgme-config.patch BuildRequires: gcc cmake BuildRequires: pkgconfig(check) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.66 BuildRequires: pkgconfig(gpgme) BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libcurl) >= %{libcurl_version} BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(openssl) BuildRequires: doxygen %if %{with zchunk} BuildRequires: pkgconfig(zck) >= 0.9.11 %endif Requires: libcurl >= %{libcurl_version} %description A library providing C and Python (libcURL like) API to downloading repository metadata. %package devel Summary: Repodata downloading library Requires: %{name} = %{version}-%{release} %description devel Development files for librepo. %package -n python3-librepo Summary: Python 3 bindings for the librepo library %{?python_provide:%python_provide python3-%{name}} BuildRequires: python3-devel python3-gpg python3-flask BuildRequires: python3-pyxattr python3-requests python3-sphinx Requires: %{name} = %{version}-%{release} Obsoletes: platform-python-%{name} < %{version}-%{release} Conflicts: python3-dnf < %{dnf_conflict} %description -n python3-%{name} Python 3 bindings for the librepo library. %prep %autosetup -p1 %build %cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} -DENABLE_PYTHON_TESTS=%{?with_pythontests:ON}%{!?with_pythontests:OFF} %cmake_build %check %ctest %install %cmake_install %files %license COPYING %doc README.md %{_libdir}/%{name}.so.* %files devel %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_includedir}/%{name}/ %files -n python3-%{name} %{python3_sitearch}/%{name}/ %changelog * Thu Nov 07 2024 Funda Wang <fundawang@yeah.net> - 1.18.1-2 - adopt to new cmake macro * Sat Aug 17 2024 Funda Wang <fundawang@yeah.net> - 1.18.1-1 - update to 1.18.1 * Tue Jul 30 2024 dillon chen <dillon.chen@gmail.com> - 1.18.0-1 - update to 1.18.0 * Thu Aug 3 2023 dillon chen <dillon.chen@gmail.com> - 1.15.2-1 - update to 1.15.2 * Thu Feb 02 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.15.1-1 - update to 1.15.1 * Mon Oct 10 2022 dillon chen <dillon.chen@gmail.com> - 1.14.3-1 - update to 1.14.5 * Mon Jun 27 2022 dillon chen <dillon.chen@gmail.com> - 1.14.3-1 - update to 1.14.3 * Tue Nov 30 2021 fuanan <fuanan3@huawei.com> - 1.14.2-1 - update version to 1.14.2 * Sat May 29 2021 fuanan <fuanan3@huawei.com> - 1.12.0-2 - Type:bugfix - ID:NA - SUG:NA - DESC:[add] backport patches from upstream Fix:memory leaks Fix:lr_fastestmirror_prepare:Resource leaks Fix:lr_get_curl_handle:Check curl_easy handle before use lr_get_curl_handle:Strict check of curl_easy_setopt return code Remove "may be used uninitialized" compiler warnings * Wed Jan 27 2021 wangchen <wangchen137@huawei.com> - 1.12.1-1 - update to 1.12.1 * Mon Jan 25 2021 fuanan <fuanan3@huawei.com> - 1.12.0-2 - fix CVE-2020-14352 * Tue Apr 28 2020 zhouyihang <zhouyihang3@huawei.com> - 1.12.0-1 - Type:requirement - ID:NA - SUG:NA - DESC:update librepo version to 1.12.0 * Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.11.0-2 - Pakcage init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2