]> git.ipfire.org Git - ipfire-3.x.git/blame - libsolv/libsolv.nm
ccache: Update to 3.7.1
[ipfire-3.x.git] / libsolv / libsolv.nm
CommitLineData
1fc81377 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
1fc81377
MT
4###############################################################################
5
802ea3af 6name = libsolv
bddb443a
MT
7version = 0.6.24
8release = 1
1fc81377 9
802ea3af
MT
10maintainer = Michael Tremer <michael.tremer@ipfire.org>
11groups = System/Libraries
12url = https://github.com/openSUSE/libsolv
13license = BSD
bddb443a 14summary = A library for solving package dependencies
1fc81377 15
802ea3af 16description
1fc81377
MT
17 A library for solving package dependencies by using a SAT
18 resolver written in C++.
802ea3af
MT
19end
20
bddb443a 21source_dl = https://github.com/openSUSE/libsolv/archive/%{version}.tar.gz#/
1fc81377 22
802ea3af
MT
23build
24 requires
25 gcc-c++
bc83f180 26 cmake >= 2.8.4-2
802ea3af 27 expat-devel
bddb443a
MT
28 gettext-devel
29 xz-devel
802ea3af
MT
30 zlib-devel
31 end
1fc81377 32
802ea3af
MT
33 build
34 mkdir build
bc83f180 35 cd build && %{cmake} .. \
38d5b746 36 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
bddb443a 37 -DENABLE_LZMA_COMPRESSION=1 \
38d5b746
MT
38 -DENABLE_PERL=0 \
39 -DENABLE_PYTHON=0 \
2e358974
MT
40 -DENABLE_RUBY=0 \
41 -DMULTI_SEMANTICS=1
42
1429c856 43 make %{PARALLELISMFLAGS}
802ea3af 44 end
1fc81377 45
802ea3af
MT
46 install
47 cd build && make install DESTDIR=%{BUILDROOT}
38d5b746 48 rm -vf %{BUILDROOT}%{bindir}/{,test}solv
802ea3af
MT
49 end
50end
1fc81377 51
802ea3af
MT
52packages
53 package %{name}
1f9bc2f0 54
38d5b746
MT
55 package %{name}-tools
56 summary = Tools to manipulate .solv files.
57
58 requires
59 bzip2
60 coreutils
61 gzip
62 end
63
64 files
65 %{bindir}
66 end
67 end
68
802ea3af
MT
69 package %{name}-devel
70 template DEVEL
71 end
1f9bc2f0
MT
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
802ea3af 76end