]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pakfire/pakfire.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / pakfire / pakfire.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pakfire
7 version = 0.9.18
8 release = 1
9
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = System/Packaging
12 url = http://www.ipfire.org/
13 license = GPLv3+
14 summary = Package installer/updater.
15
16 description
17 Pakfire optains package lists from the mirrors and can install and update
18 packages.
19 end
20
21 source_dl = http://source.ipfire.org/releases/pakfire/
22
23 build
24 requires
25 gettext
26 libcap-devel
27 libsolv-devel
28 python-devel
29 end
30
31 CFLAGS += -fno-strict-aliasing
32
33 test
34 # Check, if the binary module is loadable.
35 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
36 end
37 end
38
39 packages
40 package %{name}
41 groups += Base
42
43 requires = pakfire-common=%{thisver}
44 end
45
46 package %{name}-common
47 requires
48 pyliblzma
49 python-progressbar
50 python-urlgrabber
51 system-release
52 end
53
54 files
55 /usr/lib/pakfire/pakfire-multicall.py
56 /usr/lib*/python*/site-packages/pakfire*
57 /usr/share/locale
58 end
59 end
60
61 package %{name}-builder
62 summary = The pakfire builder.
63 description
64 The tools that are needed to build new pakfire packages.
65 end
66 groups += Build
67
68 requires
69 %{name}=%{thisver}
70 quality-agent=%{thisver}
71 end
72 provides = pakfire-build=%{thisver}
73 obsoletes = pakfire-build<%{thisver}
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.
93 end
94
95 files
96 /usr/lib/pakfire/quality-agent*
97 end
98
99 requires = binutils file grep
100 end
101
102 package %{name}-debuginfo
103 template DEBUGINFO
104 end
105 end