]> git.ipfire.org Git - ipfire-3.x.git/blob - pakfire/pakfire.nm
Merge remote-tracking branch 'stevee/krb5-update'
[ipfire-3.x.git] / pakfire / pakfire.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pakfire
7 version = 0.9.24
8 release = 3
9
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = System/Packaging
12 url = http://www.ipfire.org/
13 license = GPLv3+
14 summary = Package installer/updater.
15
16 description
17 Pakfire optains package lists from the mirrors and can install and update
18 packages.
19 end
20
21 source_dl = http://source.ipfire.org/releases/pakfire/
22
23 build
24 requires
25 beecrypt-devel
26 elfutils-devel
27 gettext
28 libcap-devel
29 libsolv-devel >= 0.0.0-4
30 popt-devel
31 python-devel
32 xz-devel
33 end
34
35 # libgomp was broken in earlier releases.
36 requires += gcc >= 4.6.2-4
37 requires += beecrypt >= 4.2.1-2
38
39 CFLAGS += -fno-strict-aliasing
40
41 test
42 # Check, if the binary modules are loadable.
43 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
44 cd %{DIR_APP}/python/src/ && python -c "import _lzma"
45 end
46
47 install_cmds
48 # Remove all example repository definitions.
49 # Those will be solely provided by system-release.
50 rm -rfv %{BUILDROOT}%{sysconfdir}/pakfire/repos/*
51 end
52 end
53
54 packages
55 package %{name}
56 groups += Base
57
58 requires = pakfire-common = %{thisver}
59 end
60
61 package %{name}-common
62 requires
63 libsolv >= 0.0.0-4
64 pygpgme
65 python-progressbar
66 python-urlgrabber
67 system-release
68 end
69
70 files
71 %{sysconfdir}/pakfire/general.conf
72 %{bindir}/pakfire-key
73 /usr/lib/pakfire/pakfire-multicall.py
74 %{libdir}/python*/site-packages/pakfire*
75 /usr/share/locale
76 end
77 configfiles = %{sysconfdir}/pakfire/general.conf
78 end
79
80 package %{name}-builder
81 summary = The Pakfire builder.
82 description
83 The tools that are needed to build new pakfire packages.
84 end
85 groups += Build
86
87 requires
88 # For --rpm-requires.
89 bash >= 4.2-7
90
91 %{name} = %{thisver}
92 quality-agent = %{thisver}
93 cpio
94 elfutils
95 end
96 provides = pakfire-build = %{thisver}
97 obsoletes = pakfire-build < %{thisver}
98
99 conflicts
100 build-essentials
101 systemd-devel < 38
102 end
103
104 configfiles
105 /etc/pakfire/builder.conf
106 /etc/pakfire/distros
107 end
108
109 files
110 /etc/pakfire/builder.conf
111 /etc/pakfire/distros
112 %{libdir}/libpakfire_preload.so
113 %{bindir}/pakfire-builder
114 %{bindir}/pakfire-server
115 /usr/lib/pakfire/*
116 !/usr/lib/pakfire/pakfire-multicall.py
117 end
118 end
119
120 package %{name}-client
121 summary = The Pakfire XMLRPC client.
122 description
123 The pakfire client has the power to create build jobs
124 and communicate with the Pakfire Build Service.
125 end
126
127 requires
128 pakfire-common = %{thisver}
129 end
130
131 files
132 %{sysconfdir}/pakfire/client.conf
133 %{bindir}/pakfire-client
134 end
135 configfiles = %{sysconfdir}/pakfire/client.conf
136 end
137
138 package %{name}-daemon
139 summary = The Pakfire daemon.
140 description
141 The Pakfire daemon takes build jobs from the
142 Pakfire Build Service and compiles them.
143 end
144
145 requires
146 pakfire-builder = %{thisver}
147 end
148
149 files
150 %{sysconfdir}/pakfire/daemon.conf
151 %{bindir}/pakfire-daemon
152 end
153 configfiles = %{sysconfdir}/pakfire/daemon.conf
154 end
155
156 package quality-agent
157 arch = noarch
158
159 summary = The pakfire quality agent.
160 description
161 The quality agent tests resulting packages that come out
162 of the build service.
163 It is a collection of scripts that check if everything is
164 working right.
165 end
166
167 files
168 /usr/lib/pakfire/quality-agent
169 /usr/lib/quality-agent*
170 end
171
172 requires
173 gawk
174 binutils
175 coreutils
176 findutils
177 file
178 grep
179 sed
180 end
181 end
182
183 package %{name}-debuginfo
184 template DEBUGINFO
185 end
186 end