############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = pakfire version = 0.9.17 release = 1 maintainer = Michael Tremer groups = System/Packaging url = http://www.ipfire.org/ license = GPLv3+ summary = Package installer/updater. description Pakfire optains package lists from the mirrors and can install and update packages. end source_dl = http://source.ipfire.org/releases/pakfire/ build requires gettext libcap-devel libsolv-devel python-devel end CFLAGS += -fno-strict-aliasing test # Check, if the binary module is loadable. cd %{DIR_APP}/python/src/ && python -c "import _pakfire" end end packages package %{name} groups += Base requires = pakfire-common=%{thisver} end package %{name}-common requires pyliblzma python-progressbar python-urlgrabber system-release end files /usr/lib/pakfire/pakfire-multicall.py /usr/lib*/python*/site-packages/pakfire* /usr/share/locale end end package %{name}-builder summary = The pakfire builder. description The tools that are needed to build new pakfire packages. end groups += Build requires %{name}=%{thisver} quality-agent=%{thisver} end provides = pakfire-build=%{thisver} obsoletes = pakfire-build<%{thisver} conflicts = build-essentials files /usr/bin/pakfire-builder /usr/bin/pakfire-server /usr/lib/pakfire/* !/usr/lib/pakfire/pakfire-multicall.py end end package quality-agent arch = noarch summary = The pakfire quality agent. description The quality agent tests resulting packages that come out of the build service. It is a collection of scripts that check if everything is working right. end files /usr/lib/pakfire/quality-agent* end requires = binutils file grep end end