+ # For --rpm-requires.
+ bash >= 4.2-7
+ debugedit
+
+ %{name} = %{thisver}
+ quality-agent = %{thisver}
+ cpio
+ elfutils
+ end
+ provides = pakfire-build = %{thisver}
+ obsoletes = pakfire-build < %{thisver}
+
+ conflicts
+ build-essentials
+ systemd-devel < 38
+ end
+
+ # Requires GCC 4.9 or later for -fstack-protector-strong
+ conflicts += gcc < 4.9
+
+ configfiles
+ %{sysconfdir}/pakfire/builder.conf
+ %{sysconfdir}/pakfire/distros
+ end
+
+ files
+ %{sysconfdir}/pakfire/builder.conf
+ %{sysconfdir}/pakfire/distros
+ %{libdir}/libpakfire_preload.so
+ %{bindir}/pakfire-builder
+
+ %{prefix}/lib/pakfire
+ %{libdir}/pakfire
+ end
+ end
+
+ package %{name}-client
+ summary = The Pakfire Hub client.
+ description
+ The pakfire client has the power to create build jobs
+ and communicate with the Pakfire Build Service.
+ end
+
+ requires
+ pakfire-common = %{thisver}
+ end
+
+ files
+ %{sysconfdir}/pakfire/client.conf
+ %{bindir}/pakfire-client
+ end
+ configfiles = %{sysconfdir}/pakfire/client.conf
+ end
+
+ package %{name}-daemon
+ summary = The Pakfire daemon.
+ description
+ The Pakfire daemon takes build jobs from the
+ Pakfire Build Service and compiles them.
+ end
+
+ requires
+ pakfire-builder = %{thisver}