]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pakfire/pakfire.nm
ed34cde00ceab2334cf67ce8f4cb626f8a182dd7
[people/ms/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.10
8 release = 2
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 libsolv-devel
27 python-devel
28 end
29
30 CFLAGS += -fno-strict-aliasing
31
32 test
33 # Check, if the binary module is loadable.
34 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
35 end
36 end
37
38 packages
39 package %{name}
40 groups += Base
41
42 requires = pakfire-common=%{thisver}
43 end
44
45 package %{name}-common
46 requires
47 pyliblzma
48 python-progressbar
49 python-urlgrabber
50 pyxattr
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}-build
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 conflicts = build-essentials
73
74 files
75 /usr/bin/pakfire-builder
76 /usr/bin/pakfire-server
77 /usr/lib/pakfire/*
78 !/usr/lib/pakfire/pakfire-multicall.py
79 end
80 end
81
82 package quality-agent
83 arch = noarch
84
85 summary = The pakfire quality agent.
86 description
87 The quality agent tests resulting packages that come out
88 of the build service.
89 It is a collection of scripts that check if everything is
90 working right.
91 end
92
93 files
94 /usr/lib/pakfire/quality-agent*
95 end
96
97 requires = binutils file grep
98 end
99 end