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