1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
7 version = @PACKAGE_VERSION@
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = System/Packaging
14 summary = Package installer/updater.
17 Pakfire optains package lists from the mirrors and can install and update
21 source_dl = http://source.ipfire.org/releases/pakfire/
29 libsolv-devel >= 0.0.0-4
36 # libgomp was broken in earlier releases.
37 requires += gcc >= 4.6.2-4
38 requires += beecrypt >= 4.2.1-2
45 # Remove all example repository definitions.
46 # Those will be solely provided by system-release.
47 rm -rfv %{BUILDROOT}%{sysconfdir}/pakfire/repos/*
55 requires = pakfire-common = %{thisver}
58 package %{name}-common
68 %{sysconfdir}/pakfire/general.conf
70 %{libdir}/python*/site-packages/pakfire*
73 configfiles = %{sysconfdir}/pakfire/general.conf
76 package %{name}-builder
77 summary = The Pakfire builder.
79 The tools that are needed to build new pakfire packages.
88 quality-agent = %{thisver}
92 provides = pakfire-build = %{thisver}
93 obsoletes = pakfire-build < %{thisver}
101 /etc/pakfire/builder.conf
106 /etc/pakfire/builder.conf
108 %{libdir}/libpakfire_preload.so
109 %{bindir}/pakfire-builder
110 %{bindir}/pakfire-server
112 !/usr/lib/pakfire/pakfire-multicall.py
116 package %{name}-client
117 summary = The Pakfire Hub client.
119 The pakfire client has the power to create build jobs
120 and communicate with the Pakfire Build Service.
124 pakfire-common = %{thisver}
128 %{sysconfdir}/pakfire/client.conf
129 %{bindir}/pakfire-client
131 configfiles = %{sysconfdir}/pakfire/client.conf
134 package %{name}-daemon
135 summary = The Pakfire daemon.
137 The Pakfire daemon takes build jobs from the
138 Pakfire Build Service and compiles them.
142 pakfire-builder = %{thisver}
146 %{sysconfdir}/pakfire/daemon.conf
147 %{bindir}/pakfire-daemon
149 configfiles = %{sysconfdir}/pakfire/daemon.conf
152 systemctl daemon-reload >/dev/null 2>&1 || :
156 systemctl --no-reload disable pakfire-daemon.service > /dev/null 2>&1 || :
157 systemctl stop pakfire-daemon.service > /dev/null 2>&1 || :
161 systemctl daemon-reload >/dev/null 2>&1 || :
165 systemctl daemon-reload 2>&1 || :
166 systemctl reload-or-try-restart pakfire-daemon.service >/dev/null 2>&1 || :
170 package quality-agent
173 summary = The pakfire quality agent.
175 The quality agent tests resulting packages that come out
176 of the build service.
177 It is a collection of scripts that check if everything is
182 /usr/lib/pakfire/quality-agent
183 /usr/lib/quality-agent*
197 package %{name}-debuginfo