]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - libsolv/libsolv.nm
glib2: Update to 2.39.4.
[people/ms/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.0.0
8 git_ver = f663ca2
9 release = 7.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 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