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://www.ipfire.org/
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
40 CFLAGS += -fno-strict-aliasing
43 # Check, if the binary modules are loadable.
44 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
45 cd %{DIR_APP}/python/src/ && python -c "import _lzma"
49 # Remove all example repository definitions.
50 # Those will be solely provided by system-release.
51 rm -rfv %{BUILDROOT}%{sysconfdir}/pakfire/repos/*
59 requires = pakfire-common = %{thisver}
62 package %{name}-common
72 %{sysconfdir}/pakfire/general.conf
74 /usr/lib/pakfire/pakfire-multicall.py
75 %{libdir}/python*/site-packages/pakfire*
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.
93 quality-agent = %{thisver}
97 provides = pakfire-build = %{thisver}
98 obsoletes = pakfire-build < %{thisver}
106 /etc/pakfire/builder.conf
111 /etc/pakfire/builder.conf
113 %{libdir}/libpakfire_preload.so
114 %{bindir}/pakfire-builder
115 %{bindir}/pakfire-server
117 !/usr/lib/pakfire/pakfire-multicall.py
121 package %{name}-client
122 summary = The Pakfire Hub client.
124 The pakfire client has the power to create build jobs
125 and communicate with the Pakfire Build Service.
129 pakfire-common = %{thisver}
133 %{sysconfdir}/pakfire/client.conf
134 %{bindir}/pakfire-client
136 configfiles = %{sysconfdir}/pakfire/client.conf
139 package %{name}-daemon
140 summary = The Pakfire daemon.
142 The Pakfire daemon takes build jobs from the
143 Pakfire Build Service and compiles them.
147 pakfire-builder = %{thisver}
151 %{sysconfdir}/pakfire/daemon.conf
152 %{bindir}/pakfire-daemon
154 configfiles = %{sysconfdir}/pakfire/daemon.conf
157 systemctl daemon-reload >/dev/null 2>&1 || :
161 systemctl --no-reload disable pakfire-daemon.service > /dev/null 2>&1 || :
162 systemctl stop pakfire-daemon.service > /dev/null 2>&1 || :
166 systemctl daemon-reload >/dev/null 2>&1 || :
170 systemctl daemon-reload 2>&1 || :
171 systemctl reload-or-try-restart pakfire-daemon.service >/dev/null 2>&1 || :
175 package quality-agent
178 summary = The pakfire quality agent.
180 The quality agent tests resulting packages that come out
181 of the build service.
182 It is a collection of scripts that check if everything is
187 /usr/lib/pakfire/quality-agent
188 /usr/lib/quality-agent*
202 package %{name}-debuginfo