2024-01-06 04:07:28 +01:00
|
|
|
Name: libdnf
|
2024-01-06 04:07:29 +01:00
|
|
|
Version: 0.58.0
|
2024-01-06 04:07:28 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 04:07:28 +01:00
|
|
|
Summary: Software management library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/rpm-software-management/libdnf
|
|
|
|
Source: https://github.com/rpm-software-management/libdnf.git/%{version}/libdnf-%{version}.tar.bz2
|
|
|
|
Patch0: libdnf-0.33.0-gcc-8.3.0.patch
|
2024-01-06 04:07:28 +01:00
|
|
|
Patch1: libdnf-0.22.0-rpm5.patch
|
|
|
|
Patch2: libdnf-0.22.0-rpm5-2.patch
|
|
|
|
Patch3: libdnf-0.22.0-rpm5-additional.patch
|
2024-01-06 04:07:28 +01:00
|
|
|
Patch4: libdnf-0.31.0-x86_64-disable_inferior_arch_check.patch
|
2024-01-06 04:07:28 +01:00
|
|
|
Patch5: libdnf-0.55.2-openmamba-kernel-packages.patch
|
2024-01-06 04:07:28 +01:00
|
|
|
Patch6: libdnf-0.43.1-arm-detect-arch-using-uname.patch
|
2024-01-06 04:07:29 +01:00
|
|
|
Patch7: libdnf-0.58.0-i586-default-basearch.patch
|
2024-01-06 04:07:28 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: libassuan-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
BuildRequires: libgpgme-devel
|
|
|
|
BuildRequires: libjson-c-devel
|
|
|
|
BuildRequires: libmodulemd-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: libpython-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: librepo-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: librpm-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: libsmartcols-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: libsolv-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: libsqlite-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 04:07:28 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-06 04:07:28 +01:00
|
|
|
BuildRequires: libsolv >= 0.7.5
|
|
|
|
BuildRequires: libmodulemd >= 2.5.0
|
2024-01-06 04:07:28 +01:00
|
|
|
#BuildRequires: libmodulemd-devel
|
|
|
|
Provides: libhawkey
|
|
|
|
Obsoletes: libhawkey
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Software management library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
Provides: libhawkey-devel
|
|
|
|
Obsoletes: libhawkey-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 04:07:28 +01:00
|
|
|
%patch0 -p1
|
2024-01-06 04:07:28 +01:00
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
|
|
|
%ifarch x86_64
|
|
|
|
%patch4 -p1
|
|
|
|
%endif
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
2024-01-06 04:07:28 +01:00
|
|
|
%patch7 -p1
|
2024-01-06 04:07:28 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 04:07:28 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DPYTHON_DESIRED=3
|
2024-01-06 04:07:28 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libdnf.so.*
|
2024-01-06 04:07:28 +01:00
|
|
|
%dir %{_libdir}/libdnf/plugins
|
|
|
|
%{_libdir}/libdnf/plugins/README
|
2024-01-06 04:07:28 +01:00
|
|
|
%dir %{python3_sitearch}/libdnf
|
|
|
|
%{python3_sitearch}/libdnf/*
|
|
|
|
%dir %{python3_sitearch}/hawkey
|
|
|
|
%{python3_sitearch}/hawkey/*
|
2024-01-06 04:07:28 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libdnf
|
2024-01-06 04:07:28 +01:00
|
|
|
%{_includedir}/libdnf/*
|
2024-01-06 04:07:28 +01:00
|
|
|
%{_libdir}/libdnf.so
|
|
|
|
%{_libdir}/pkgconfig/libdnf.pc
|
|
|
|
%dir %{_datadir}/gtk-doc/html/libdnf
|
|
|
|
%{_datadir}/gtk-doc/html/libdnf/*
|
|
|
|
%{_mandir}/man3/hawkey.3*
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:07:29 +01:00
|
|
|
* Fri Jan 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.58.0-1mamba
|
|
|
|
- update to 0.58.0
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Sat Dec 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.55.2-1mamba
|
|
|
|
- update to 0.55.2
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Tue Nov 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.55.0-1mamba
|
|
|
|
- update to 0.55.0
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Sat Oct 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.54.2-2mamba
|
|
|
|
- arm: remove kernel-rpi* from installonly packages
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Fri Oct 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.54.2-1mamba
|
|
|
|
- update to 0.54.2
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Sat Aug 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.48.0-1mamba
|
|
|
|
- update to 0.48.0
|
|
|
|
|
|
|
|
* Fri Aug 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45.0-2mamba
|
|
|
|
- rebuilt with python3
|
|
|
|
|
|
|
|
* Thu Feb 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45.0-1mamba
|
|
|
|
- update to 0.45.0
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Thu Jan 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43.1-1mamba
|
|
|
|
- update to 0.43.1
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Fri Oct 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.33.0-1mamba
|
|
|
|
- update to 0.33.0
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Fri Aug 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31.0-3mamba
|
|
|
|
- x86: patched to set i586 instead of i386 as detected base arch
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Sun Jun 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31.0-2mamba
|
|
|
|
- added patches for x86_64 cohexistance with x86 packages and for openmamba kernel packages names
|
|
|
|
|
|
|
|
* Sat Jun 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31.0-1mamba
|
|
|
|
- update to 0.31.0
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Tue Jun 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.26.0-1mamba
|
|
|
|
- update to 0.26.0
|
|
|
|
|
|
|
|
* Tue Jun 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.4-1mamba
|
|
|
|
- update to 0.22.4
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Sat Jun 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-1mamba
|
|
|
|
- update to 0.22.0
|
|
|
|
|
2024-01-06 04:07:28 +01:00
|
|
|
* Sat Jun 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.1-1mamba
|
|
|
|
- update to 0.11.1
|
|
|
|
|
|
|
|
* Sat Jun 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
|
|
|
|
- update to 0.8.1
|
|
|
|
|
|
|
|
* Sat Jun 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.33.0-1mamba
|
|
|
|
- package created using the webbuild interface
|