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/*
59 mkdir -pv %{BUILDROOT}%{datadir}/pakfire
60 for i in $(find %{datadir}/automake-* -name config.guess -or -name config.sub); do
61 cp -vf ${i} %{BUILDROOT}%{datadir}/pakfire/
71 pakfire-common = %{thisver}
74 pakfire-common < %{thisver}
85 configfiles = %{sysconfdir}/pakfire/general.conf
88 package %{name}-builder
89 summary = The Pakfire builder.
91 The tools that are needed to build new pakfire packages.
100 quality-agent = %{thisver}
104 provides = pakfire-build = %{thisver}
105 obsoletes = pakfire-build < %{thisver}
112 # Requires GCC 4.9 or later for -fstack-protector-strong
113 conflicts += gcc < 4.9
116 %{sysconfdir}/pakfire/builder.conf
117 %{sysconfdir}/pakfire/distros
121 %{sysconfdir}/pakfire/builder.conf
122 %{sysconfdir}/pakfire/distros
123 %{libdir}/libpakfire_preload.so
124 %{bindir}/pakfire-builder
126 %{prefix}/lib/pakfire
131 package %{name}-client
132 summary = The Pakfire Hub client.
134 The pakfire client has the power to create build jobs
135 and communicate with the Pakfire Build Service.
139 pakfire-common = %{thisver}
143 %{sysconfdir}/pakfire/client.conf
144 %{bindir}/pakfire-client
146 configfiles = %{sysconfdir}/pakfire/client.conf
149 package %{name}-daemon
150 summary = The Pakfire daemon.
152 The Pakfire daemon takes build jobs from the
153 Pakfire Build Service and compiles them.
157 pakfire-builder = %{thisver}
161 %{sysconfdir}/pakfire/daemon.conf
162 %{bindir}/pakfire-daemon
164 configfiles = %{sysconfdir}/pakfire/daemon.conf
167 systemctl daemon-reload >/dev/null 2>&1 || :
171 systemctl --no-reload disable pakfire-daemon.service > /dev/null 2>&1 || :
172 systemctl stop pakfire-daemon.service > /dev/null 2>&1 || :
176 systemctl daemon-reload >/dev/null 2>&1 || :
180 systemctl daemon-reload 2>&1 || :
181 systemctl reload-or-try-restart pakfire-daemon.service >/dev/null 2>&1 || :
185 package quality-agent
188 summary = The pakfire quality agent.
190 The quality agent tests resulting packages that come out
191 of the build service.
192 It is a collection of scripts that check if everything is
197 /usr/lib/pakfire/quality-agent
198 /usr/lib/quality-agent*
212 package %{name}-debuginfo