]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - libsolv/libsolv.nm
flex: Update to 2.6.4
[people/pmueller/ipfire-3.x.git] / libsolv / libsolv.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libsolv
7 version = 0.6.24
8 release = 1
9
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = System/Libraries
12 url = https://github.com/openSUSE/libsolv
13 license = BSD
14 summary = A library for solving package dependencies
15
16 description
17 A library for solving package dependencies by using a SAT
18 resolver written in C++.
19 end
20
21 source_dl = https://github.com/openSUSE/libsolv/archive/%{version}.tar.gz#/
22
23 build
24 requires
25 gcc-c++
26 cmake >= 2.8.4-2
27 expat-devel
28 gettext-devel
29 xz-devel
30 zlib-devel
31 end
32
33 build
34 mkdir build
35 cd build && %{cmake} .. \
36 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
37 -DENABLE_LZMA_COMPRESSION=1 \
38 -DENABLE_PERL=0 \
39 -DENABLE_PYTHON=0 \
40 -DENABLE_RUBY=0 \
41 -DMULTI_SEMANTICS=1
42
43 make %{PARALLELISMFLAGS}
44 end
45
46 install
47 cd build && make install DESTDIR=%{BUILDROOT}
48 rm -vf %{BUILDROOT}%{bindir}/{,test}solv
49 end
50 end
51
52 packages
53 package %{name}
54
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
69 package %{name}-devel
70 template DEVEL
71 end
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
76 end