2024-01-06 04:01:28 +01:00
|
|
|
Name: libcomps
|
2024-03-13 19:16:09 +01:00
|
|
|
Version: 0.1.21
|
|
|
|
Release: 1mamba
|
2024-01-06 04:01:28 +01:00
|
|
|
Summary: Alternative for yum.comps library written in pure C with Python bindings
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/rpm-software-management/libcomps
|
2024-01-06 04:01:28 +01:00
|
|
|
Source: https://github.com/rpm-software-management/libcomps.git/%{version}/libcomps-%{version}.tar.bz2
|
2024-01-06 04:01:28 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libexpat-devel
|
2024-01-14 10:35:58 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 04:01:28 +01:00
|
|
|
BuildRequires: libxml2-devel
|
2024-01-06 04:01:28 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 04:01:28 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-14 10:35:58 +01:00
|
|
|
%package -n python-libcomps-py3
|
2024-01-06 04:01:28 +01:00
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python 3 bindings to %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-14 10:35:58 +01:00
|
|
|
Obsoletes: python-libcomps-py310 <= 0.1.20-1mamba
|
2024-01-06 04:01:28 +01:00
|
|
|
|
2024-01-14 10:35:58 +01:00
|
|
|
%description -n python-libcomps-py3
|
2024-01-06 04:01:28 +01:00
|
|
|
This package contains the python 3 bindings to %{name}.
|
|
|
|
|
2024-01-06 04:01:28 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
cd libcomps
|
|
|
|
%cmake -d build \
|
2024-01-14 10:35:58 +01:00
|
|
|
-DPYTHON_EXECUTABLE=%{__python3}
|
2024-01-06 04:01:28 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C libcomps/build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libcomps.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
2024-01-14 10:35:58 +01:00
|
|
|
%files -n python-libcomps-py3
|
2024-01-06 04:01:28 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-14 10:35:58 +01:00
|
|
|
%{python3_sitearch}/libcomps-*.egg-info
|
|
|
|
%dir %{python3_sitearch}/libcomps
|
|
|
|
%{python3_sitearch}/libcomps/*
|
2024-01-06 04:01:28 +01:00
|
|
|
|
2024-01-06 04:01:28 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libcomps
|
|
|
|
%{_includedir}/libcomps/*
|
|
|
|
%{_libdir}/libcomps.so
|
2024-01-06 04:01:28 +01:00
|
|
|
%{_libdir}/pkgconfig/libcomps.pc
|
2024-01-06 04:01:28 +01:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-03-13 19:16:09 +01:00
|
|
|
* Wed Mar 13 2024 Automatic Build System <autodist@openmamba.org> 0.1.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-14 10:35:58 +01:00
|
|
|
* Thu Jan 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.20-2mamba
|
|
|
|
- rebuilt with python3; obsolete python-libcomps-py310
|
|
|
|
|
2024-01-06 04:01:30 +01:00
|
|
|
* Fri Oct 06 2023 Automatic Build System <autodist@mambasoft.it> 0.1.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:29 +01:00
|
|
|
* Thu Mar 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.19-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 04:01:28 +01:00
|
|
|
* Sat Sep 10 2022 Automatic Build System <autodist@mambasoft.it> 0.1.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:28 +01:00
|
|
|
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.18-1mamba
|
|
|
|
- update to 0.1.18
|
|
|
|
|
2024-01-06 04:01:28 +01:00
|
|
|
* Sat Aug 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.15-1mamba
|
|
|
|
- update to 0.1.15
|
|
|
|
|
2024-01-06 04:01:28 +01:00
|
|
|
* Thu May 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.8-1mamba
|
|
|
|
- package created using the webbuild interface
|