libdnf/libdnf.spec

219 lines
6.9 KiB
RPMSpec

Name: libdnf
Version: 0.72.0
Release: 1mamba
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
Patch1: libdnf-0.22.0-rpm5.patch
Patch2: libdnf-0.22.0-rpm5-2.patch
Patch3: libdnf-0.22.0-rpm5-additional.patch
Patch4: libdnf-0.31.0-x86_64-disable_inferior_arch_check.patch
Patch5: libdnf-0.60.0-openmamba-kernel-packages.patch
Patch6: libdnf-0.43.1-arm-detect-arch-using-uname.patch
Patch7: libdnf-0.58.0-i586-default-basearch.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libjson-c-devel
BuildRequires: libmodulemd-devel
BuildRequires: libpopt-devel
BuildRequires: libpython310-devel
BuildRequires: librepo-devel
BuildRequires: librpm-devel
BuildRequires: libsmartcols-devel
BuildRequires: libsolv-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: librpm-devel >= 4.16.1.2-1mamba
BuildRequires: libmodulemd-devel >= 2.13.0
BuildRequires: libsolv >= 0.7.5
BuildRequires: cmake
Requires: libmodulemd >= 2.13.0
Provides: libhawkey
Obsoletes: libhawkey < 0.65.0
%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 < 0.65.0
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%patch 0 -p1
#%patch1 -p1
#%patch2 -p1
#%patch3 -p1
%ifarch x86_64
%patch 4 -p1
%endif
%patch 5 -p1
%patch 6 -p1
%patch 7 -p1
%build
%cmake -d build \
-DPYTHON_DESIRED=%{__python310}
%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.*
%dir %{_libdir}/libdnf/plugins
%{_libdir}/libdnf/plugins/README
%dir %{python310_sitearch}/libdnf-%{version}.dist-info
%{python310_sitearch}/libdnf-%{version}.dist-info/*
%dir %{python310_sitearch}/libdnf
%{python310_sitearch}/libdnf/*
%dir %{python310_sitearch}/hawkey
%{python310_sitearch}/hawkey/*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libdnf
%{_includedir}/libdnf/*
%{_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
* Sat Oct 21 2023 Automatic Build System <autodist@mambasoft.it> 0.72.0-1mamba
- automatic version update by autodist
* Sat Sep 09 2023 Automatic Build System <autodist@mambasoft.it> 0.71.0-1mamba
- automatic version update by autodist
* Sun Jul 30 2023 Automatic Build System <autodist@mambasoft.it> 0.70.2-1mamba
- automatic version update by autodist
* Wed May 17 2023 Automatic Build System <autodist@mambasoft.it> 0.70.1-1mamba
- automatic version update by autodist
* Thu Mar 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.70.0-2mamba
- rebuilt with python 3.10
* Fri Feb 24 2023 Automatic Build System <autodist@mambasoft.it> 0.70.0-1mamba
- automatic version update by autodist
* Sat Sep 10 2022 Automatic Build System <autodist@mambasoft.it> 0.69.0-1mamba
- automatic version update by autodist
* Wed Aug 17 2022 Automatic Build System <autodist@mambasoft.it> 0.68.0-1mamba
- automatic version update by autodist
* Wed May 04 2022 Automatic Build System <autodist@mambasoft.it> 0.67.0-1mamba
- automatic version update by autodist
* Tue Mar 15 2022 Automatic Build System <autodist@mambasoft.it> 0.66.0-1mamba
- automatic version update by autodist
* Sun Oct 24 2021 Automatic Build System <autodist@mambasoft.it> 0.65.0-1mamba
- automatic version update by autodist
* Tue Jun 15 2021 Automatic Build System <autodist@mambasoft.it> 0.63.1-1mamba
- automatic version update by autodist
* Sun Jun 13 2021 Automatic Build System <autodist@mambasoft.it> 0.63.0-1mamba
- automatic version update by autodist
* Wed Apr 14 2021 Automatic Build System <autodist@mambasoft.it> 0.62.0-1mamba
- automatic version update by autodist
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.60.0-2mamba
- rebuilt by autoport with build requirements: librpm-devel>=4.16.1.2-1mamba
* Thu Mar 04 2021 Automatic Build System <autodist@mambasoft.it> 0.60.0-1mamba
- automatic version update by autodist
* Fri Jan 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.58.0-1mamba
- update to 0.58.0
* Sat Dec 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.55.2-1mamba
- update to 0.55.2
* Tue Nov 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.55.0-1mamba
- update to 0.55.0
* Sat Oct 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.54.2-2mamba
- arm: remove kernel-rpi* from installonly packages
* Fri Oct 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.54.2-1mamba
- update to 0.54.2
* 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
* Thu Jan 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43.1-1mamba
- update to 0.43.1
* Fri Oct 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.33.0-1mamba
- update to 0.33.0
* 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
* 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
* 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
* Sat Jun 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-1mamba
- update to 0.22.0
* 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