]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - pakfire/pakfire.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / pakfire / pakfire.nm
CommitLineData
e5192f6a 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
e5192f6a
MT
4###############################################################################
5
802ea3af 6name = pakfire
45bffdae 7version = 0.9.18
73fef615 8release = 1
e5192f6a 9
802ea3af
MT
10maintainer = Michael Tremer <michael.tremer@ipfire.org>
11groups = System/Packaging
12url = http://www.ipfire.org/
13license = GPLv3+
14summary = Package installer/updater.
e5192f6a 15
802ea3af
MT
16description
17 Pakfire optains package lists from the mirrors and can install and update
f5b41606 18 packages.
802ea3af
MT
19end
20
0d37182c 21source_dl = http://source.ipfire.org/releases/pakfire/
e5192f6a 22
802ea3af
MT
23build
24 requires
de9c6811 25 gettext
533ad168 26 libcap-devel
802ea3af
MT
27 libsolv-devel
28 python-devel
802ea3af 29 end
e5192f6a 30
802ea3af 31 CFLAGS += -fno-strict-aliasing
706e01d9 32
802ea3af
MT
33 test
34 # Check, if the binary module is loadable.
0d37182c 35 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
802ea3af
MT
36 end
37end
fd79f072 38
802ea3af
MT
39packages
40 package %{name}
41 groups += Base
7afde232 42
0d37182c
MT
43 requires = pakfire-common=%{thisver}
44 end
45
46 package %{name}-common
802ea3af
MT
47 requires
48 pyliblzma
49 python-progressbar
50 python-urlgrabber
802ea3af
MT
51 system-release
52 end
0d37182c
MT
53
54 files
55 /usr/lib/pakfire/pakfire-multicall.py
56 /usr/lib*/python*/site-packages/pakfire*
57 /usr/share/locale
58 end
802ea3af
MT
59 end
60
16f3dc5d 61 package %{name}-builder
802ea3af
MT
62 summary = The pakfire builder.
63 description
64 The tools that are needed to build new pakfire packages.
65 end
66 groups += Build
0d37182c 67
802ea3af
MT
68 requires
69 %{name}=%{thisver}
0d37182c
MT
70 quality-agent=%{thisver}
71 end
16f3dc5d
MT
72 provides = pakfire-build=%{thisver}
73 obsoletes = pakfire-build<%{thisver}
0d37182c
MT
74 conflicts = build-essentials
75
76 files
77 /usr/bin/pakfire-builder
78 /usr/bin/pakfire-server
79 /usr/lib/pakfire/*
80 !/usr/lib/pakfire/pakfire-multicall.py
81 end
82 end
83
84 package quality-agent
85 arch = noarch
86
87 summary = The pakfire quality agent.
88 description
89 The quality agent tests resulting packages that come out
90 of the build service.
91 It is a collection of scripts that check if everything is
92 working right.
802ea3af 93 end
7afde232 94
802ea3af 95 files
0d37182c 96 /usr/lib/pakfire/quality-agent*
802ea3af 97 end
0d37182c
MT
98
99 requires = binutils file grep
802ea3af 100 end
1f9bc2f0
MT
101
102 package %{name}-debuginfo
103 template DEBUGINFO
104 end
802ea3af 105end