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/
30 libsolv-devel >= 0.0.0-4
38 # Generate the build system, if this was not a release
40 [ -x "configure" ] || sh ./autogen.sh
48 # Remove all example repository definitions.
49 # Those will be solely provided by system-release.
50 rm -rfv %{BUILDROOT}%{sysconfdir}/pakfire/repos/*
52 mkdir -pv %{BUILDROOT}%{datadir}/pakfire
53 for i in $(find %{datadir}/automake-* -name config.guess -or -name config.sub); do
54 cp -vf ${i} %{BUILDROOT}%{datadir}/pakfire/
64 pakfire-common = %{thisver}
67 pakfire-common < %{thisver}
78 configfiles = %{sysconfdir}/pakfire/general.conf
81 package %{name}-builder
82 summary = The Pakfire builder.
84 The tools that are needed to build new pakfire packages.
94 quality-agent = %{thisver}
98 provides = pakfire-build = %{thisver}
99 obsoletes = pakfire-build < %{thisver}
106 # Requires GCC 4.9 or later for -fstack-protector-strong
107 conflicts += gcc < 4.9
110 %{sysconfdir}/pakfire/builder.conf
111 %{sysconfdir}/pakfire/distros
115 %{sysconfdir}/pakfire/builder.conf
116 %{sysconfdir}/pakfire/distros
117 %{libdir}/libpakfire_preload.so
118 %{bindir}/pakfire-builder
120 %{prefix}/lib/pakfire
125 package %{name}-client
126 summary = The Pakfire Hub client.
128 The pakfire client has the power to create build jobs
129 and communicate with the Pakfire Build Service.
133 pakfire-common = %{thisver}
137 %{sysconfdir}/pakfire/client.conf
138 %{bindir}/pakfire-client
140 configfiles = %{sysconfdir}/pakfire/client.conf
143 package %{name}-daemon
144 summary = The Pakfire daemon.
146 The Pakfire daemon takes build jobs from the
147 Pakfire Build Service and compiles them.
151 pakfire-builder = %{thisver}
155 %{sysconfdir}/pakfire/daemon.conf
156 %{bindir}/pakfire-daemon
158 configfiles = %{sysconfdir}/pakfire/daemon.conf
161 systemctl daemon-reload >/dev/null 2>&1 || :
165 systemctl --no-reload disable pakfire-daemon.service > /dev/null 2>&1 || :
166 systemctl stop pakfire-daemon.service > /dev/null 2>&1 || :
170 systemctl daemon-reload >/dev/null 2>&1 || :
174 systemctl daemon-reload 2>&1 || :
175 systemctl reload-or-try-restart pakfire-daemon.service >/dev/null 2>&1 || :
179 package quality-agent
182 summary = The pakfire quality agent.
184 The quality agent tests resulting packages that come out
185 of the build service.
186 It is a collection of scripts that check if everything is
191 /usr/lib/pakfire/quality-agent
192 /usr/lib/quality-agent*
206 package %{name}-debuginfo