]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pakfire/pakfire.nm
libsepol: Make package work on x86_64.
[people/ms/ipfire-3.x.git] / pakfire / pakfire.nm
CommitLineData
e5192f6a 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
e5192f6a
MT
4###############################################################################
5
802ea3af 6name = pakfire
f0216cd6
MT
7version = 0.9.19
8release = 2
e5192f6a 9
802ea3af
MT
10maintainer = Michael Tremer <michael.tremer@ipfire.org>
11groups = System/Packaging
12url = http://www.ipfire.org/
13license = GPLv3+
14summary = Package installer/updater.
e5192f6a 15
802ea3af
MT
16description
17 Pakfire optains package lists from the mirrors and can install and update
f5b41606 18 packages.
802ea3af
MT
19end
20
0d37182c 21source_dl = http://source.ipfire.org/releases/pakfire/
e5192f6a 22
802ea3af
MT
23build
24 requires
f0216cd6
MT
25 beecrypt-devel
26 elfutils-devel
de9c6811 27 gettext
533ad168 28 libcap-devel
802ea3af 29 libsolv-devel
f0216cd6 30 popt-devel
802ea3af 31 python-devel
f0216cd6 32 xz-devel
802ea3af 33 end
e5192f6a 34
f0216cd6
MT
35 # libgomp was broken in earlier releases.
36 requires += gcc>=4.6.2-4 beecrypt>=4.2.1-2
37
802ea3af 38 CFLAGS += -fno-strict-aliasing
706e01d9 39
802ea3af 40 test
f0216cd6 41 # Check, if the binary modules are loadable.
0d37182c 42 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
f0216cd6 43 cd %{DIR_APP}/python/src/ && python -c "import _lzma"
802ea3af
MT
44 end
45end
fd79f072 46
802ea3af
MT
47packages
48 package %{name}
49 groups += Base
7afde232 50
0d37182c
MT
51 requires = pakfire-common=%{thisver}
52 end
53
54 package %{name}-common
802ea3af 55 requires
802ea3af
MT
56 python-progressbar
57 python-urlgrabber
802ea3af
MT
58 system-release
59 end
0d37182c
MT
60
61 files
62 /usr/lib/pakfire/pakfire-multicall.py
63 /usr/lib*/python*/site-packages/pakfire*
64 /usr/share/locale
65 end
802ea3af
MT
66 end
67
16f3dc5d 68 package %{name}-builder
802ea3af
MT
69 summary = The pakfire builder.
70 description
71 The tools that are needed to build new pakfire packages.
72 end
73 groups += Build
0d37182c 74
802ea3af
MT
75 requires
76 %{name}=%{thisver}
0d37182c 77 quality-agent=%{thisver}
f0216cd6
MT
78
79 cpio
80 elfutils
0d37182c 81 end
16f3dc5d
MT
82 provides = pakfire-build=%{thisver}
83 obsoletes = pakfire-build<%{thisver}
0d37182c
MT
84 conflicts = build-essentials
85
86 files
f0216cd6 87 /usr/lib/libpakfire_preload.so
0d37182c
MT
88 /usr/bin/pakfire-builder
89 /usr/bin/pakfire-server
90 /usr/lib/pakfire/*
91 !/usr/lib/pakfire/pakfire-multicall.py
92 end
93 end
94
95 package quality-agent
96 arch = noarch
97
98 summary = The pakfire quality agent.
99 description
100 The quality agent tests resulting packages that come out
101 of the build service.
102 It is a collection of scripts that check if everything is
103 working right.
802ea3af 104 end
7afde232 105
802ea3af 106 files
0d37182c 107 /usr/lib/pakfire/quality-agent*
802ea3af 108 end
0d37182c
MT
109
110 requires = binutils file grep
802ea3af 111 end
1f9bc2f0
MT
112
113 package %{name}-debuginfo
114 template DEBUGINFO
115 end
802ea3af 116end