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