Name: libsolv Version: 0.6.34 Release: 1mamba Summary: Library for solving packages and reading repositories Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://en.opensuse.org/openSUSE:Libzypp_satsolver Source: https://github.com/openSUSE/libsolv.git/%{version}/libsolv-%{version}.tar.bz2 License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRoot: %{_tmppath}/%{name}-%{version}-root %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}. %debug_package %prep %setup -q %build %cmake -d build %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.* %doc CREDITS %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* %doc BUGS NEWS README %files tools %defattr(-,root,root) %{_bindir}/dumpsolv %{_bindir}/installcheck %{_bindir}/mergesolv %{_bindir}/repo2solv.sh %{_bindir}/testsolv %{_mandir}/man1/dumpsolv.1* %{_mandir}/man1/installcheck.1* %{_mandir}/man1/mergesolv.1* %{_mandir}/man1/testsolv.1* %changelog * Thu May 17 2018 Silvan Calarco 0.6.34-1mamba - package created using the webbuild interface