Name: hawkey Version: 0.6.4.1 Release: 1mamba Summary: Library providing simplified C and Python API to libsolv Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/rpm-software-management/hawkey.git ## GITSOURCE https://github.com/rpm-software-management/hawkey.git hawkey-0.6.4-1 Source: https://github.com/rpm-software-management/hawkey.git/hawkey-%{version}/hawkey-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libexpat-devel BuildRequires: libpython-devel BuildRequires: libpython27-devel BuildRequires: libsolv-devel BuildRequires: libz-devel BuildRequires: rpm-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Library providing simplified C and Python API to libsolv. Hawkey project is obsoleted. %package -n lib%{name} Group: System/Libraries Summary: Library providing simplified C and Python API to libsolv %description -n lib%{name} Library providing simplified C and Python API to libsolv. Hawkey project is obsoleted. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use lib%{name}. %debug_package %prep %setup -q %build %cmake -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" touch build/doc/hawkey.3 %makeinstall -C build rm -f %{buildroot}%{_mandir}/man3/hawkey.3* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libhawkey.so.* %dir %{python27_sitearch}/hawkey %{python27_sitearch}/hawkey/* %doc AUTHORS COPYING %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/hawkey %{_includedir}/hawkey/*.h %{_libdir}/libhawkey.so %{_libdir}/pkgconfig/hawkey.pc %doc README.rst %changelog * Sat Jun 01 2019 Silvan Calarco 0.6.4.1-1mamba - package created using the webbuild interface