]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pakfire/pakfire.nm
Merge remote-tracking branch 'stevee/unicode-ucd'
[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.22
8 release = 3
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
37 requires += beecrypt >= 4.2.1-2
38
39 CFLAGS += -fno-strict-aliasing
40
41 test
42 # Check, if the binary modules are loadable.
43 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
44 cd %{DIR_APP}/python/src/ && python -c "import _lzma"
45 end
46
47 install_cmds
48 # Remove all example repository definitions.
49 # Those will be solely provided by system-release.
50 rm -rfv %{BUILDROOT}%{sysconfdir}/pakfire/repos/*
51 end
52 end
53
54 packages
55 package %{name}
56 groups += Base
57
58 requires = pakfire-common = %{thisver}
59 end
60
61 package %{name}-common
62 requires
63 pygpgme
64 python-progressbar
65 python-urlgrabber
66 system-release
67 end
68
69 files
70 %{sysconfdir}/pakfire/general.conf
71 %{bindir}/pakfire-key
72 /usr/lib/pakfire/pakfire-multicall.py
73 %{libdir}/python*/site-packages/pakfire*
74 /usr/share/locale
75 end
76 configfiles = %{sysconfdir}/pakfire/general.conf
77 end
78
79 package %{name}-builder
80 summary = The Pakfire builder.
81 description
82 The tools that are needed to build new pakfire packages.
83 end
84 groups += Build
85
86 requires
87 # For --rpm-requires.
88 bash >= 4.2-7
89
90 %{name} = %{thisver}
91 quality-agent = %{thisver}
92 cpio
93 elfutils
94 end
95 provides = pakfire-build = %{thisver}
96 obsoletes = pakfire-build < %{thisver}
97
98 conflicts
99 build-essentials
100 systemd-devel < 38
101 end
102
103 configfiles
104 /etc/pakfire/builder.conf
105 /etc/pakfire/distros
106 end
107
108 files
109 /etc/pakfire/builder.conf
110 /etc/pakfire/distros
111 %{libdir}/libpakfire_preload.so
112 %{bindir}/pakfire-builder
113 %{bindir}/pakfire-server
114 /usr/lib/pakfire/*
115 !/usr/lib/pakfire/pakfire-multicall.py
116 end
117 end
118
119 package %{name}-client
120 summary = The Pakfire XMLRPC client.
121 description
122 The pakfire client has the power to create build jobs
123 and communicate with the Pakfire Build Service.
124 end
125
126 requires
127 pakfire-common = %{thisver}
128 end
129
130 files
131 %{sysconfdir}/pakfire/client.conf
132 %{bindir}/pakfire-client
133 end
134 configfiles = %{sysconfdir}/pakfire/client.conf
135 end
136
137 package %{name}-daemon
138 summary = The Pakfire daemon.
139 description
140 The Pakfire daemon takes build jobs from the
141 Pakfire Build Service and compiles them.
142 end
143
144 requires
145 pakfire-builder = %{thisver}
146 end
147
148 files
149 %{sysconfdir}/pakfire/daemon.conf
150 %{bindir}/pakfire-daemon
151 end
152 configfiles = %{sysconfdir}/pakfire/daemon.conf
153 end
154
155 package quality-agent
156 arch = noarch
157
158 summary = The pakfire quality agent.
159 description
160 The quality agent tests resulting packages that come out
161 of the build service.
162 It is a collection of scripts that check if everything is
163 working right.
164 end
165
166 files
167 /usr/lib/pakfire/quality-agent
168 /usr/lib/quality-agent*
169 end
170
171 requires
172 gawk
173 binutils
174 coreutils
175 findutils
176 file
177 grep
178 sed
179 end
180 end
181
182 package %{name}-debuginfo
183 template DEBUGINFO
184 end
185 end