]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = libsolv |
bddb443a MT |
7 | version = 0.6.24 |
8 | release = 1 | |
1fc81377 | 9 | |
802ea3af MT |
10 | maintainer = Michael Tremer <michael.tremer@ipfire.org> |
11 | groups = System/Libraries | |
12 | url = https://github.com/openSUSE/libsolv | |
13 | license = BSD | |
bddb443a | 14 | summary = A library for solving package dependencies |
1fc81377 | 15 | |
802ea3af | 16 | description |
1fc81377 MT |
17 | A library for solving package dependencies by using a SAT |
18 | resolver written in C++. | |
802ea3af MT |
19 | end |
20 | ||
bddb443a | 21 | source_dl = https://github.com/openSUSE/libsolv/archive/%{version}.tar.gz#/ |
1fc81377 | 22 | |
802ea3af MT |
23 | build |
24 | requires | |
25 | gcc-c++ | |
bc83f180 | 26 | cmake >= 2.8.4-2 |
802ea3af | 27 | expat-devel |
bddb443a MT |
28 | gettext-devel |
29 | xz-devel | |
802ea3af MT |
30 | zlib-devel |
31 | end | |
1fc81377 | 32 | |
802ea3af MT |
33 | build |
34 | mkdir build | |
bc83f180 | 35 | cd build && %{cmake} .. \ |
38d5b746 | 36 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
bddb443a | 37 | -DENABLE_LZMA_COMPRESSION=1 \ |
38d5b746 MT |
38 | -DENABLE_PERL=0 \ |
39 | -DENABLE_PYTHON=0 \ | |
2e358974 MT |
40 | -DENABLE_RUBY=0 \ |
41 | -DMULTI_SEMANTICS=1 | |
42 | ||
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 |
50 | end | |
1fc81377 | 51 | |
802ea3af MT |
52 | packages |
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 | 76 | end |