############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = libsolv version = 0.4.1 git_ver = bcedc98 release = 1.git%{git_ver} maintainer = Michael Tremer groups = System/Libraries url = https://github.com/openSUSE/libsolv license = BSD summary = A library for solving package dependencies. description A library for solving package dependencies by using a SAT resolver written in C++. end thisapp = %{name}-%{git_ver} sources = %{thisapp}.tar.xz build requires gcc-c++ cmake >= 2.8.4-2 db4-devel expat-devel zlib-devel end DIR_APP = %{DIR_SRC}/%{name} build mkdir build cd build && %{cmake} .. \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DENABLE_PERL=0 \ -DENABLE_PYTHON=0 \ -DENABLE_RUBY=0 \ -DMULTI_SEMANTICS=1 make %{PARALLELISMFLAGS} end install cd build && make install DESTDIR=%{BUILDROOT} rm -vf %{BUILDROOT}%{bindir}/{,test}solv end end packages package %{name} package %{name}-tools summary = Tools to manipulate .solv files. requires bzip2 coreutils gzip end files %{bindir} end end package %{name}-devel template DEVEL end package %{name}-debuginfo template DEBUGINFO end end