1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = System/Packaging
12 url = http://git.ipfire.org/?p=pakfire.git;a=summary
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/
32 libsolv-devel >= 0.0.0-4
40 # libgomp was broken in earlier releases.
41 requires += gcc >= 4.6.2-4
42 requires += beecrypt >= 4.2.1-2
45 # Generate the build system, if this was not a release
47 [ -x "configure" ] || sh ./autogen.sh
55 # Remove all example repository definitions.
56 # Those will be solely provided by system-release.
57 rm -rfv %{BUILDROOT}%{sysconfdir}/pakfire/repos/*
66 pakfire-common = %{thisver}
69 pakfire-common < %{thisver}
80 configfiles = %{sysconfdir}/pakfire/general.conf
83 package %{name}-builder
84 summary = The Pakfire builder.
86 The tools that are needed to build new pakfire packages.
95 quality-agent = %{thisver}
99 provides = pakfire-build = %{thisver}
100 obsoletes = pakfire-build < %{thisver}
107 # Requires GCC 4.9 or later for -fstack-protector-strong
108 conflicts += gcc < 4.9
111 %{sysconfdir}/pakfire/builder.conf
112 %{sysconfdir}/pakfire/distros
116 %{sysconfdir}/pakfire/builder.conf
117 %{sysconfdir}/pakfire/distros
118 %{libdir}/libpakfire_preload.so
119 %{bindir}/pakfire-builder
121 %{prefix}/lib/pakfire
126 package %{name}-client
127 summary = The Pakfire Hub client.
129 The pakfire client has the power to create build jobs
130 and communicate with the Pakfire Build Service.
134 pakfire-common = %{thisver}
138 %{sysconfdir}/pakfire/client.conf
139 %{bindir}/pakfire-client
141 configfiles = %{sysconfdir}/pakfire/client.conf
144 package %{name}-daemon
145 summary = The Pakfire daemon.
147 The Pakfire daemon takes build jobs from the
148 Pakfire Build Service and compiles them.
152 pakfire-builder = %{thisver}
156 %{sysconfdir}/pakfire/daemon.conf
157 %{bindir}/pakfire-daemon
159 configfiles = %{sysconfdir}/pakfire/daemon.conf
162 systemctl daemon-reload >/dev/null 2>&1 || :
166 systemctl --no-reload disable pakfire-daemon.service > /dev/null 2>&1 || :
167 systemctl stop pakfire-daemon.service > /dev/null 2>&1 || :
171 systemctl daemon-reload >/dev/null 2>&1 || :
175 systemctl daemon-reload 2>&1 || :
176 systemctl reload-or-try-restart pakfire-daemon.service >/dev/null 2>&1 || :
180 package quality-agent
183 summary = The pakfire quality agent.
185 The quality agent tests resulting packages that come out
186 of the build service.
187 It is a collection of scripts that check if everything is
192 /usr/lib/pakfire/quality-agent
193 /usr/lib/quality-agent*
207 package %{name}-debuginfo