]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - libsolv/libsolv.nm
libsolv: Update to 0.4.1 (bcedc98).
[people/stevee/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 = 1.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 db4-devel
30 expat-devel
31 zlib-devel
32 end
33
34 DIR_APP = %{DIR_SRC}/%{name}
35
36 build
37 mkdir build
38 cd build && %{cmake} .. \
39 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
40 -DENABLE_PERL=0 \
41 -DENABLE_PYTHON=0 \
42 -DENABLE_RUBY=0 \
43 -DMULTI_SEMANTICS=1
44
45 make %{PARALLELISMFLAGS}
46 end
47
48 install
49 cd build && make install DESTDIR=%{BUILDROOT}
50 rm -vf %{BUILDROOT}%{bindir}/{,test}solv
51 end
52 end
53
54 packages
55 package %{name}
56
57 package %{name}-tools
58 summary = Tools to manipulate .solv files.
59
60 requires
61 bzip2
62 coreutils
63 gzip
64 end
65
66 files
67 %{bindir}
68 end
69 end
70
71 package %{name}-devel
72 template DEVEL
73 end
74
75 package %{name}-debuginfo
76 template DEBUGINFO
77 end
78 end