]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - libsolv/libsolv.nm
a415620a7f3a9824fb521e63f814c04bb2de4ea4
[people/arne_f/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.4.1
8 git_ver = bcedc98
9 release = 2.git%{git_ver}
10
11 maintainer = Michael Tremer <michael.tremer@ipfire.org>
12 groups = System/Libraries
13 url = https://github.com/openSUSE/libsolv
14 license = BSD
15 summary = A library for solving package dependencies.
16
17 description
18 A library for solving package dependencies by using a SAT
19 resolver written in C++.
20 end
21
22 thisapp = %{name}-%{git_ver}
23 sources = %{thisapp}.tar.xz
24
25 build
26 requires
27 gcc-c++
28 cmake >= 2.8.4-2
29 expat-devel
30 zlib-devel
31 end
32
33 DIR_APP = %{DIR_SRC}/%{name}
34
35 build
36 mkdir build
37 cd build && %{cmake} .. \
38 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
39 -DENABLE_PERL=0 \
40 -DENABLE_PYTHON=0 \
41 -DENABLE_RUBY=0 \
42 -DMULTI_SEMANTICS=1
43
44 make %{PARALLELISMFLAGS}
45 end
46
47 install
48 cd build && make install DESTDIR=%{BUILDROOT}
49 rm -vf %{BUILDROOT}%{bindir}/{,test}solv
50 end
51 end
52
53 packages
54 package %{name}
55
56 package %{name}-tools
57 summary = Tools to manipulate .solv files.
58
59 requires
60 bzip2
61 coreutils
62 gzip
63 end
64
65 files
66 %{bindir}
67 end
68 end
69
70 package %{name}-devel
71 template DEVEL
72 end
73
74 package %{name}-debuginfo
75 template DEBUGINFO
76 end
77 end