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}
108 %{sysconfdir}/pakfire/builder.conf
109 %{sysconfdir}/pakfire/distros
113 %{sysconfdir}/pakfire/builder.conf
114 %{sysconfdir}/pakfire/distros
115 %{libdir}/libpakfire_preload.so
116 %{bindir}/pakfire-builder
118 %{prefix}/lib/pakfire
123 package %{name}-client
124 summary = The Pakfire Hub client.
126 The pakfire client has the power to create build jobs
127 and communicate with the Pakfire Build Service.
131 pakfire-common = %{thisver}
135 %{sysconfdir}/pakfire/client.conf
136 %{bindir}/pakfire-client
138 configfiles = %{sysconfdir}/pakfire/client.conf
141 package %{name}-daemon
142 summary = The Pakfire daemon.
144 The Pakfire daemon takes build jobs from the
145 Pakfire Build Service and compiles them.
149 pakfire-builder = %{thisver}
153 %{sysconfdir}/pakfire/daemon.conf
154 %{bindir}/pakfire-daemon
156 configfiles = %{sysconfdir}/pakfire/daemon.conf
159 systemctl daemon-reload >/dev/null 2>&1 || :
163 systemctl --no-reload disable pakfire-daemon.service > /dev/null 2>&1 || :
164 systemctl stop pakfire-daemon.service > /dev/null 2>&1 || :
168 systemctl daemon-reload >/dev/null 2>&1 || :
172 systemctl daemon-reload 2>&1 || :
173 systemctl reload-or-try-restart pakfire-daemon.service >/dev/null 2>&1 || :
177 package quality-agent
180 summary = The pakfire quality agent.
182 The quality agent tests resulting packages that come out
183 of the build service.
184 It is a collection of scripts that check if everything is
189 /usr/lib/pakfire/quality-agent
190 /usr/lib/quality-agent*
204 package %{name}-debuginfo