]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - libsolv/libsolv.nm
iperf3: update to 3.7
[ipfire-3.x.git] / libsolv / libsolv.nm
index e1c8d1d6312b2464d492fcd79b3a60a11669a1ef..1841203ac2e1cf3fb5f0aad23bdc8ca5255a82df 100644 (file)
@@ -4,48 +4,42 @@
 ###############################################################################
 
 name       = libsolv
-version    = 0.0.0
-git_ver    = c02d759
-release    = 6.git%{git_ver}
+version    = 0.6.24
+release    = 1
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = System/Libraries
 url        = https://github.com/openSUSE/libsolv
 license    = BSD
-summary    = A library for solving package dependencies.
+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}-%{version}-%{git_ver}
-
-source_dl  =
+source_dl  = https://github.com/openSUSE/libsolv/archive/%{version}.tar.gz#/
 
 build
        requires
                gcc-c++
                cmake >= 2.8.4-2
-               db4-devel
                expat-devel
+               gettext-devel
+               xz-devel
                zlib-devel
        end
 
-       prepare_cmds
-               # Make sure that libsatsolverext is linked properly to all needed
-               # libraries.
-               echo "TARGET_LINK_LIBRARIES(libsolvext libsolv \${EXPAT_LIBRARY} \${ZLIB_LIBRARY})" \
-                       >> ext/CMakeLists.txt
-       end
-
        build
                mkdir build
                cd build && %{cmake} .. \
                        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+                       -DENABLE_LZMA_COMPRESSION=1 \
                        -DENABLE_PERL=0 \
                        -DENABLE_PYTHON=0 \
-                       -DENABLE_RUBY=0
+                       -DENABLE_RUBY=0 \
+                       -DMULTI_SEMANTICS=1
+
                make %{PARALLELISMFLAGS}
        end