###############################################################################
name = pakfire
-version = 0.9.13
-release = 1
+version = 0.9.20
+release = 7
maintainer = Michael Tremer <michael.tremer@ipfire.org>
groups = System/Packaging
build
requires
+ beecrypt-devel
+ elfutils-devel
gettext
+ libcap-devel
libsolv-devel
+ popt-devel
python-devel
+ xz-devel
end
+ # libgomp was broken in earlier releases.
+ requires += gcc >= 4.6.2-4
+ requires += beecrypt >= 4.2.1-2
+
CFLAGS += -fno-strict-aliasing
test
- # Check, if the binary module is loadable.
+ # Check, if the binary modules are loadable.
cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
+ cd %{DIR_APP}/python/src/ && python -c "import _lzma"
end
end
package %{name}
groups += Base
- requires = pakfire-common=%{thisver}
+ requires = pakfire-common = %{thisver}
end
package %{name}-common
requires
- pyliblzma
python-progressbar
python-urlgrabber
- pyxattr
system-release
end
files
/usr/lib/pakfire/pakfire-multicall.py
- /usr/lib*/python*/site-packages/pakfire*
+ %{libdir}/python*/site-packages/pakfire*
/usr/share/locale
end
end
- package %{name}-build
+ package %{name}-builder
summary = The pakfire builder.
description
The tools that are needed to build new pakfire packages.
groups += Build
requires
- %{name}=%{thisver}
- quality-agent=%{thisver}
+ %{name} = %{thisver}
+ quality-agent = %{thisver}
+ cpio
+ elfutils
end
+ provides = pakfire-build = %{thisver}
+ obsoletes = pakfire-build < %{thisver}
conflicts = build-essentials
files
+ %{libdir}/libpakfire_preload.so
/usr/bin/pakfire-builder
/usr/bin/pakfire-server
/usr/lib/pakfire/*
/usr/lib/pakfire/quality-agent*
end
- requires = binutils file grep
+ requires
+ gawk
+ binutils
+ coreutils
+ findutils
+ file
+ grep
+ sed
+ end
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
end
end