]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libsolv/libsolv.nm
iso-codes: New package.
[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
MT
6name = libsolv
7version = 0.0.0
74318610
MT
8git_ver = f663ca2
9release = 7.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 \
42 -DENABLE_RUBY=0
1429c856 43 make %{PARALLELISMFLAGS}
802ea3af 44 end
1fc81377 45
802ea3af
MT
46 install
47 cd build && make install DESTDIR=%{BUILDROOT}
38d5b746 48 rm -vf %{BUILDROOT}%{bindir}/{,test}solv
802ea3af
MT
49 end
50end
1fc81377 51
802ea3af
MT
52packages
53 package %{name}
1f9bc2f0 54
38d5b746
MT
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
802ea3af
MT
69 package %{name}-devel
70 template DEVEL
71 end
1f9bc2f0
MT
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
802ea3af 76end