Name: libcomps Version: 0.1.15 Release: 1mamba Summary: Alternative for yum.comps library written in pure C with Python bindings Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/rpm-software-management/libcomps Source: https://github.com/rpm-software-management/libcomps.git/libcomps-%{version}/libcomps-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libexpat-devel BuildRequires: libpython-devel BuildRequires: libpython3-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %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}. %package -n python-libcomps-py3 Group: System/Libraries/Python Summary: Python 3 bindings to %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python-libcomps-py3 This package contains the python 3 bindings to %{name}. %debug_package %prep %setup -q %build cd libcomps %cmake -d build \ -DPYTHON_DESIRED=3 %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 %files -n python-libcomps-py3 %defattr(-,root,root) %{python3_sitearch}/libcomps-*.egg-info %dir %{python3_sitearch}/libcomps %{python3_sitearch}/libcomps/* %files devel %defattr(-,root,root) %dir %{_includedir}/libcomps %{_includedir}/libcomps/* %{_libdir}/libcomps.so %{_libdir}/pkgconfig/libcomps.pc %doc README.md %changelog * Sat Aug 15 2020 Silvan Calarco 0.1.15-1mamba - update to 0.1.15 * Thu May 17 2018 Silvan Calarco 0.1.8-1mamba - package created using the webbuild interface