]> git.ipfire.org Git - ipfire-3.x.git/blob - pakfire/pakfire.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[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.19
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 beecrypt-devel
26 elfutils-devel
27 gettext
28 libcap-devel
29 libsolv-devel
30 popt-devel
31 python-devel
32 xz-devel
33 end
34
35 # libgomp was broken in earlier releases.
36 requires += gcc>=4.6.2-4 beecrypt>=4.2.1-2
37
38 CFLAGS += -fno-strict-aliasing
39
40 test
41 # Check, if the binary modules are loadable.
42 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
43 cd %{DIR_APP}/python/src/ && python -c "import _lzma"
44 end
45 end
46
47 packages
48 package %{name}
49 groups += Base
50
51 requires = pakfire-common=%{thisver}
52 end
53
54 package %{name}-common
55 requires
56 python-progressbar
57 python-urlgrabber
58 system-release
59 end
60
61 files
62 /usr/lib/pakfire/pakfire-multicall.py
63 /usr/lib*/python*/site-packages/pakfire*
64 /usr/share/locale
65 end
66 end
67
68 package %{name}-builder
69 summary = The pakfire builder.
70 description
71 The tools that are needed to build new pakfire packages.
72 end
73 groups += Build
74
75 requires
76 %{name}=%{thisver}
77 quality-agent=%{thisver}
78
79 cpio
80 elfutils
81 end
82 provides = pakfire-build=%{thisver}
83 obsoletes = pakfire-build<%{thisver}
84 conflicts = build-essentials
85
86 files
87 /usr/lib/libpakfire_preload.so
88 /usr/bin/pakfire-builder
89 /usr/bin/pakfire-server
90 /usr/lib/pakfire/*
91 !/usr/lib/pakfire/pakfire-multicall.py
92 end
93 end
94
95 package quality-agent
96 arch = noarch
97
98 summary = The pakfire quality agent.
99 description
100 The quality agent tests resulting packages that come out
101 of the build service.
102 It is a collection of scripts that check if everything is
103 working right.
104 end
105
106 files
107 /usr/lib/pakfire/quality-agent*
108 end
109
110 requires = binutils file grep
111 end
112
113 package %{name}-debuginfo
114 template DEBUGINFO
115 end
116 end