2024-01-06 05:42:22 +01:00
|
|
|
Name: librepo
|
2024-01-06 05:42:22 +01:00
|
|
|
Version: 1.14.0
|
2024-01-06 05:42:22 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library providing C and Python API for downloading packages and linux repository metadata in rpm-md format
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:42:22 +01:00
|
|
|
URL: https://rpm-software-management.github.io/librepo/
|
2024-01-06 05:42:22 +01:00
|
|
|
## GITSOURCE https://github.com/rpm-software-management/librepo.git 1.8.1
|
|
|
|
Source: https://github.com/rpm-software-management/librepo.git/%{version}/librepo-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:42:22 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 05:42:22 +01:00
|
|
|
BuildRequires: libassuan-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
BuildRequires: libgpgme-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libpython-devel
|
2024-01-06 05:42:22 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 05:42:22 +01:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libzck-devel
|
2024-01-06 05:42:22 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%description
|
|
|
|
A library providing C and Python (libcURL like) API for downloading packages and linux repository metadata in rpm-md format.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 05:42:22 +01:00
|
|
|
%package -n python-librepo-py3
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python 3 bindings for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-librepo-py3
|
|
|
|
This package contains the Python 3 bindings for %{name}.
|
|
|
|
|
2024-01-06 05:42:22 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 05:42:22 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DPYTHON_DESIRED=3
|
|
|
|
|
2024-01-06 05:42:22 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/librepo.so.*
|
|
|
|
%doc AUTHORS COPYING
|
2024-01-06 05:42:22 +01:00
|
|
|
|
|
|
|
%files -n python-librepo-py3
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python3_sitearch}/librepo
|
|
|
|
%{python3_sitearch}/librepo/*
|
2024-01-06 05:42:22 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/librepo
|
|
|
|
%{_includedir}/librepo/*.h
|
|
|
|
%{_libdir}/librepo.so
|
|
|
|
%{_libdir}/pkgconfig/librepo.pc
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:42:22 +01:00
|
|
|
* Wed Apr 14 2021 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:42:22 +01:00
|
|
|
* Sun Feb 07 2021 Automatic Build System <autodist@mambasoft.it> 1.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:42:22 +01:00
|
|
|
* Sat Aug 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
|
|
|
|
- update to 1.12.0
|
|
|
|
|
2024-01-06 05:42:22 +01:00
|
|
|
* Thu Feb 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.2-1mamba
|
|
|
|
- update to 1.11.2
|
|
|
|
|
2024-01-06 05:42:22 +01:00
|
|
|
* Thu Jan 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.0-1mamba
|
|
|
|
- update to 1.11.0
|
|
|
|
|
2024-01-06 05:42:22 +01:00
|
|
|
* Tue Jun 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.3-1mamba
|
|
|
|
- update to 1.10.3
|
|
|
|
|
|
|
|
* Sat Jun 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- update to 1.9.0
|
|
|
|
|
2024-01-06 05:42:22 +01:00
|
|
|
* Thu May 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- package created using the webbuild interface
|