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 = https://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
21 source_dl = https://source.ipfire.org/releases/pakfire/
36 libarchive-devel >= 3.4.0
42 libsolv-devel >= 0.7.5
44 openssl-devel >= 1.1.1
60 # Generate the build system, if this was not a release
62 [ -x "configure" ] || sh ./autogen.sh
65 configure_options += \
69 LD_LIBRARY_PATH=%{DIR_APP}/src/.libs make check || true
73 # Remove all example repository definitions.
74 # Those will be solely provided by system-release.
75 rm -rfv %{BUILDROOT}%{sysconfdir}/pakfire/repos/*
92 # Install this package into the build environment by default
97 configfiles = %{sysconfdir}/pakfire/general.conf
100 package %{name}-builder
101 summary = The Pakfire builder
103 The tools that are needed to build new pakfire packages.
111 %{sysconfdir}/pakfire/builder.conf
112 %{sysconfdir}/pakfire/distros
116 %{sysconfdir}/pakfire/builder.conf
117 %{sysconfdir}/pakfire/distros
118 %{bindir}/pakfire-builder
119 %{mandir}/man*/pakfire-builder*
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.
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 %{name}-debuginfo