2024-01-06 05:48:46 +01:00
|
|
|
Name: libsolv
|
2024-01-06 05:48:52 +01:00
|
|
|
Version: 0.7.26
|
2024-01-06 05:48:49 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:48:46 +01:00
|
|
|
Summary: Library for solving packages and reading repositories
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:48:48 +01:00
|
|
|
URL: https://en.opensuse.org/openSUSE:Libzypp_satsolver
|
2024-01-06 05:48:46 +01:00
|
|
|
Source: https://github.com/openSUSE/libsolv.git/%{version}/libsolv-%{version}.tar.bz2
|
2024-01-06 05:48:47 +01:00
|
|
|
Patch0: libsolv-0.6.35-rpm-5.patch
|
2024-01-06 05:48:47 +01:00
|
|
|
Patch1: libsolv-0.6.34-rpm-5.2.patch
|
|
|
|
Patch2: libsolv-0.6.34-python.patch
|
|
|
|
Patch3: libsolv-0.6.34-swig-4.0.0.patch
|
2024-01-06 05:48:47 +01:00
|
|
|
Patch4: libsolv-0.7.4-rpm5-5.2-endianess-fix.patch
|
|
|
|
Patch5: libsolv-0.7.4-rpm5.2-still-has-array-index.patch
|
2024-01-06 05:48:47 +01:00
|
|
|
Patch6: libsolv-0.7.15-x86_64-multiarch-coexistence.patch
|
2024-01-06 05:48:46 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:48:47 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: libperl
|
2024-01-06 05:48:50 +01:00
|
|
|
BuildRequires: libpython310-devel
|
2024-01-06 05:48:48 +01:00
|
|
|
BuildRequires: librpm-devel
|
2024-01-06 05:48:47 +01:00
|
|
|
BuildRequires: libtcl-devel
|
2024-01-06 05:48:47 +01:00
|
|
|
BuildRequires: libxml2-devel
|
2024-01-06 05:48:46 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 05:48:48 +01:00
|
|
|
BuildRequires: libzck-devel
|
2024-01-06 05:48:47 +01:00
|
|
|
BuildRequires: libzstd-devel
|
2024-01-06 05:48:47 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 05:48:46 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 05:48:48 +01:00
|
|
|
BuildRequires: librpm-devel >= 4.16.1.2-1mamba
|
2024-01-06 05:48:46 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%description
|
|
|
|
Library for solving packages and reading repositories.
|
|
|
|
|
|
|
|
%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}.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Applications/Development
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
2024-01-06 05:48:47 +01:00
|
|
|
%package -n python-libsolv-py3
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-libsolv-py3
|
|
|
|
This package contains the Python bindings for %{name}.
|
|
|
|
|
2024-01-06 05:48:46 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 05:48:47 +01:00
|
|
|
#%patch2 -p1
|
2024-01-06 05:48:49 +01:00
|
|
|
#%ifarch x86_64
|
|
|
|
#%patch6 -p1
|
|
|
|
#%endif
|
2024-01-06 05:48:46 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:48:47 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DENABLE_APPDATA=ON \
|
|
|
|
-DENABLE_BZIP2_COMPRESSION=ON \
|
|
|
|
-DENABLE_COMPLEX_DEPS=ON \
|
|
|
|
-DENABLE_LZMA_COMPRESSION=ON \
|
2024-01-06 05:48:47 +01:00
|
|
|
-DENABLE_ZCHUNK_COMPRESSION=ON \
|
2024-01-06 05:48:47 +01:00
|
|
|
-DENABLE_RPMDB=ON \
|
2024-01-06 05:48:47 +01:00
|
|
|
-DENABLE_RPMDB_BYRPMHEADER=ON \
|
|
|
|
-DENABLE_RPMDB_LIBRPM=ON \
|
|
|
|
-DENABLE_RPMPKG_LIBRPM=ON \
|
2024-01-06 05:48:47 +01:00
|
|
|
-DENABLE_RPMMD=ON \
|
2024-01-06 05:48:47 +01:00
|
|
|
-DWITH_LIBXML2=ON \
|
2024-01-06 05:48:47 +01:00
|
|
|
-DENABLE_PERL=ON \
|
|
|
|
-DENABLE_PYTHON=ON \
|
|
|
|
-DENABLE_RUBY=ON \
|
|
|
|
-DENABLE_TCL=ON \
|
2024-01-06 05:48:47 +01:00
|
|
|
-DENABLE_LZMA_COMPRESSION=ON \
|
|
|
|
-DENABLE_BZIP2_COMPRESSION=ON \
|
|
|
|
-DENABLE_ZCHUNK_COMPRESSIO=ON \
|
|
|
|
-DWITH_SYSTEM_ZCHUNK=ON \
|
2024-01-06 05:48:47 +01:00
|
|
|
-DENABLE_PYTHON=OFF \
|
2024-01-06 05:48:47 +01:00
|
|
|
-DENABLE_PYTHON3=ON \
|
2024-01-06 05:48:50 +01:00
|
|
|
-DPYTHON3_EXECUTABLE=%{__python310} \
|
2024-01-06 05:48:49 +01:00
|
|
|
-DUSE_VENDORDIRS=ON \
|
|
|
|
-DFEDORA=ON
|
2024-01-06 05:48:47 +01:00
|
|
|
|
2024-01-06 05:48:47 +01:00
|
|
|
# -DPYTHON_EXECUTABLE=%{__python27} \
|
2024-01-06 05:48:47 +01:00
|
|
|
|
2024-01-06 05:48:46 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
cp ext/*.h %{buildroot}%{_includedir}/solv/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libsolv.so.*
|
|
|
|
%{_libdir}/libsolvext.so.*
|
2024-01-06 05:48:47 +01:00
|
|
|
%{perl_vendorarch}/solv.*
|
2024-01-06 05:48:47 +01:00
|
|
|
%{_libdir}/ruby/vendor_ruby/*/*/solv.so
|
2024-01-06 05:48:47 +01:00
|
|
|
%{_prefix}/lib/tcl8/*/solv-%{version}.*
|
2024-01-06 05:48:47 +01:00
|
|
|
%doc LICENSE.BSD CREDITS
|
2024-01-06 05:48:46 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/solv
|
|
|
|
%{_includedir}/solv/*
|
|
|
|
%{_libdir}/libsolv.so
|
|
|
|
%{_libdir}/libsolvext.so
|
|
|
|
%{_libdir}/pkgconfig/libsolv.pc
|
|
|
|
%{_libdir}/pkgconfig/libsolvext.pc
|
|
|
|
%{_datadir}/cmake/Modules/FindLibSolv.cmake
|
|
|
|
%{_mandir}/man3/libsolv-bindings.3*
|
|
|
|
%{_mandir}/man3/libsolv-constantids.3*
|
|
|
|
%{_mandir}/man3/libsolv-history.3*
|
|
|
|
%{_mandir}/man3/libsolv-pool.3*
|
|
|
|
%{_mandir}/man3/libsolv.3*
|
2024-01-06 05:48:47 +01:00
|
|
|
%doc NEWS README
|
2024-01-06 05:48:46 +01:00
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:48:49 +01:00
|
|
|
%{_bindir}/solv
|
2024-01-06 05:48:47 +01:00
|
|
|
%{_bindir}/appdata2solv
|
|
|
|
%{_bindir}/deltainfoxml2solv
|
2024-01-06 05:48:46 +01:00
|
|
|
%{_bindir}/dumpsolv
|
|
|
|
%{_bindir}/installcheck
|
|
|
|
%{_bindir}/mergesolv
|
2024-01-06 05:48:47 +01:00
|
|
|
%{_bindir}/repo2solv
|
2024-01-06 05:48:46 +01:00
|
|
|
%{_bindir}/testsolv
|
2024-01-06 05:48:47 +01:00
|
|
|
%{_bindir}/repomdxml2solv
|
|
|
|
%{_bindir}/rpmdb2solv
|
|
|
|
%{_bindir}/rpmmd2solv
|
|
|
|
%{_bindir}/rpms2solv
|
|
|
|
%{_bindir}/updateinfoxml2solv
|
|
|
|
%{_mandir}/man1/appdata2solv.1*
|
|
|
|
%{_mandir}/man1/deltainfoxml2solv.1*
|
2024-01-06 05:48:46 +01:00
|
|
|
%{_mandir}/man1/dumpsolv.1*
|
|
|
|
%{_mandir}/man1/installcheck.1*
|
|
|
|
%{_mandir}/man1/mergesolv.1*
|
2024-01-06 05:48:47 +01:00
|
|
|
%{_mandir}/man1/repo2solv.1*
|
|
|
|
%{_mandir}/man1/solv.1*
|
2024-01-06 05:48:46 +01:00
|
|
|
%{_mandir}/man1/testsolv.1*
|
2024-01-06 05:48:47 +01:00
|
|
|
%{_mandir}/man1/repomdxml2solv.1*
|
|
|
|
%{_mandir}/man1/rpmdb2solv.1*
|
|
|
|
%{_mandir}/man1/rpmmd2solv.1*
|
|
|
|
%{_mandir}/man1/rpms2solv.1*
|
|
|
|
%{_mandir}/man1/updateinfoxml2solv.1*
|
2024-01-06 05:48:46 +01:00
|
|
|
|
2024-01-06 05:48:47 +01:00
|
|
|
%files -n python-libsolv-py3
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:48:50 +01:00
|
|
|
%{python310_sitearch}/_solv.so
|
|
|
|
%{python310_sitearch}/solv.py
|
2024-01-06 05:48:47 +01:00
|
|
|
|
2024-01-06 05:48:46 +01:00
|
|
|
%changelog
|
2024-01-06 05:48:52 +01:00
|
|
|
* Wed Nov 08 2023 Automatic Build System <autodist@mambasoft.it> 0.7.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:51 +01:00
|
|
|
* Fri Sep 15 2023 Automatic Build System <autodist@mambasoft.it> 0.7.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:50 +01:00
|
|
|
* Sun Apr 16 2023 Automatic Build System <autodist@mambasoft.it> 0.7.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:49 +01:00
|
|
|
* Sat Dec 17 2022 Automatic Build System <autodist@mambasoft.it> 0.7.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:49 +01:00
|
|
|
* Sat Apr 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.22-2mamba
|
|
|
|
- remove multiarch cohexistence patch, build with -DFEDORA to fix multilib support
|
|
|
|
|
2024-01-06 05:48:49 +01:00
|
|
|
* Tue Mar 29 2022 Automatic Build System <autodist@mambasoft.it> 0.7.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:49 +01:00
|
|
|
* Fri Mar 04 2022 Automatic Build System <autodist@mambasoft.it> 0.7.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:48 +01:00
|
|
|
* Tue Sep 28 2021 Automatic Build System <autodist@mambasoft.it> 0.7.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:48 +01:00
|
|
|
* Thu Apr 08 2021 Automatic Build System <autodist@mambasoft.it> 0.7.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:48 +01:00
|
|
|
* Sat Mar 27 2021 Automatic Build System <autodist@mambasoft.it> 0.7.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:48 +01:00
|
|
|
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.17-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: librpm-devel>=4.16.1.2-1mamba
|
|
|
|
|
2024-01-06 05:48:48 +01:00
|
|
|
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 0.7.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:47 +01:00
|
|
|
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.16-1mamba
|
|
|
|
- update to 0.7.16
|
|
|
|
- python bindings only for python3 and packaged apart
|
|
|
|
|
2024-01-06 05:48:47 +01:00
|
|
|
* Sun Sep 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.15-1mamba
|
|
|
|
- update to 0.7.15
|
|
|
|
- update x86_64-multiarch-coexistence patch to only resolve supplements of the main arch
|
|
|
|
|
2024-01-06 05:48:47 +01:00
|
|
|
* Thu Jan 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.10-1mamba
|
|
|
|
- update to 0.7.10
|
|
|
|
|
2024-01-06 05:48:47 +01:00
|
|
|
* Sun Jun 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.5-2mamba
|
|
|
|
- x86_64: added patch to allow cohexistance of packages with same name if from different archs (x86)
|
|
|
|
|
|
|
|
* Sat Jun 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.5-1mamba
|
|
|
|
- update to 0.7.5
|
|
|
|
- rebuilt with rpm 4, removed rpm 5 patches
|
|
|
|
|
2024-01-06 05:48:47 +01:00
|
|
|
* Wed Jun 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.4-3mamba
|
|
|
|
- added upstream patch to fix endianess with rpm 5.2
|
|
|
|
|
|
|
|
* Tue Jun 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.4-2mamba
|
|
|
|
- rebuilt with ENABLE_RPMMD=ON for fedora like repository (yum)
|
|
|
|
|
|
|
|
* Tue Jun 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.4-1mamba
|
|
|
|
- update to 0.7.4
|
|
|
|
|
|
|
|
* Tue Jun 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.35-1mamba
|
|
|
|
- update to 0.6.35
|
|
|
|
|
2024-01-06 05:48:47 +01:00
|
|
|
* Sat Jun 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.34-2mamba
|
|
|
|
- rebuilt with rpm5 patch and build options from pld
|
|
|
|
|
2024-01-06 05:48:46 +01:00
|
|
|
* Thu May 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.34-1mamba
|
|
|
|
- package created using the webbuild interface
|