]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - pakfire/pakfire.nm
pakfire: Update to 0.9.21.
[people/arne_f/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
3bbe332e
MT
7version = 0.9.21
8release = 1
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 35 # libgomp was broken in earlier releases.
938865ae
MT
36 requires += gcc >= 4.6.2-4
37 requires += beecrypt >= 4.2.1-2
f0216cd6 38
802ea3af 39 CFLAGS += -fno-strict-aliasing
706e01d9 40
802ea3af 41 test
f0216cd6 42 # Check, if the binary modules are loadable.
0d37182c 43 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
f0216cd6 44 cd %{DIR_APP}/python/src/ && python -c "import _lzma"
802ea3af
MT
45 end
46end
fd79f072 47
802ea3af
MT
48packages
49 package %{name}
50 groups += Base
7afde232 51
938865ae 52 requires = pakfire-common = %{thisver}
0d37182c
MT
53 end
54
55 package %{name}-common
802ea3af 56 requires
802ea3af
MT
57 python-progressbar
58 python-urlgrabber
802ea3af
MT
59 system-release
60 end
0d37182c
MT
61
62 files
63 /usr/lib/pakfire/pakfire-multicall.py
640a1a65 64 %{libdir}/python*/site-packages/pakfire*
0d37182c
MT
65 /usr/share/locale
66 end
802ea3af
MT
67 end
68
16f3dc5d 69 package %{name}-builder
802ea3af
MT
70 summary = The pakfire builder.
71 description
72 The tools that are needed to build new pakfire packages.
73 end
74 groups += Build
0d37182c 75
802ea3af 76 requires
938865ae
MT
77 %{name} = %{thisver}
78 quality-agent = %{thisver}
f0216cd6
MT
79 cpio
80 elfutils
0d37182c 81 end
938865ae
MT
82 provides = pakfire-build = %{thisver}
83 obsoletes = pakfire-build < %{thisver}
0d37182c
MT
84 conflicts = build-essentials
85
86 files
640a1a65 87 %{libdir}/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 109
640a1a65 110 requires
938865ae 111 gawk
640a1a65 112 binutils
938865ae
MT
113 coreutils
114 findutils
640a1a65
MT
115 file
116 grep
938865ae 117 sed
640a1a65 118 end
802ea3af 119 end
1f9bc2f0
MT
120
121 package %{name}-debuginfo
122 template DEBUGINFO
123 end
802ea3af 124end