]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pakfire/pakfire.nm
tree: New package.
[people/ms/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
da24a140 7version = 0.9.25
0e7e5f64 8release = 2
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
f0216cd6
MT
25 beecrypt-devel
26 elfutils-devel
de9c6811 27 gettext
533ad168 28 libcap-devel
d72d822f 29 libsolv-devel >= 0.0.0-4
f0216cd6 30 popt-devel
802ea3af 31 python-devel
f0216cd6 32 xz-devel
802ea3af 33 end
e5192f6a 34
f0216cd6 35 # libgomp was broken in earlier releases.
938865ae
MT
36 requires += gcc >= 4.6.2-4
37 requires += beecrypt >= 4.2.1-2
f0216cd6 38
802ea3af 39 CFLAGS += -fno-strict-aliasing
706e01d9 40
802ea3af 41 test
f0216cd6 42 # Check, if the binary modules are loadable.
0d37182c 43 cd %{DIR_APP}/python/src/ && python -c "import _pakfire"
f0216cd6 44 cd %{DIR_APP}/python/src/ && python -c "import _lzma"
802ea3af 45 end
47a5ddc1
MT
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
802ea3af 52end
fd79f072 53
802ea3af
MT
54packages
55 package %{name}
56 groups += Base
7afde232 57
938865ae 58 requires = pakfire-common = %{thisver}
0d37182c
MT
59 end
60
61 package %{name}-common
802ea3af 62 requires
d72d822f 63 libsolv >= 0.0.0-4
47a5ddc1 64 pygpgme
802ea3af
MT
65 python-progressbar
66 python-urlgrabber
802ea3af
MT
67 system-release
68 end
0d37182c
MT
69
70 files
47a5ddc1
MT
71 %{sysconfdir}/pakfire/general.conf
72 %{bindir}/pakfire-key
0d37182c 73 /usr/lib/pakfire/pakfire-multicall.py
640a1a65 74 %{libdir}/python*/site-packages/pakfire*
0d37182c
MT
75 /usr/share/locale
76 end
47a5ddc1 77 configfiles = %{sysconfdir}/pakfire/general.conf
802ea3af 78 end
47a5ddc1 79
16f3dc5d 80 package %{name}-builder
47a5ddc1 81 summary = The Pakfire builder.
802ea3af
MT
82 description
83 The tools that are needed to build new pakfire packages.
84 end
85 groups += Build
0d37182c 86
802ea3af 87 requires
47a5ddc1
MT
88 # For --rpm-requires.
89 bash >= 4.2-7
90
938865ae
MT
91 %{name} = %{thisver}
92 quality-agent = %{thisver}
f0216cd6
MT
93 cpio
94 elfutils
0d37182c 95 end
938865ae
MT
96 provides = pakfire-build = %{thisver}
97 obsoletes = pakfire-build < %{thisver}
47a5ddc1
MT
98
99 conflicts
100 build-essentials
101 systemd-devel < 38
102 end
103
104 configfiles
105 /etc/pakfire/builder.conf
106 /etc/pakfire/distros
107 end
0d37182c
MT
108
109 files
47a5ddc1
MT
110 /etc/pakfire/builder.conf
111 /etc/pakfire/distros
640a1a65 112 %{libdir}/libpakfire_preload.so
47a5ddc1
MT
113 %{bindir}/pakfire-builder
114 %{bindir}/pakfire-server
0d37182c
MT
115 /usr/lib/pakfire/*
116 !/usr/lib/pakfire/pakfire-multicall.py
117 end
118 end
119
47a5ddc1 120 package %{name}-client
da24a140 121 summary = The Pakfire Hub client.
47a5ddc1
MT
122 description
123 The pakfire client has the power to create build jobs
124 and communicate with the Pakfire Build Service.
125 end
126
127 requires
128 pakfire-common = %{thisver}
129 end
130
131 files
132 %{sysconfdir}/pakfire/client.conf
133 %{bindir}/pakfire-client
134 end
135 configfiles = %{sysconfdir}/pakfire/client.conf
136 end
137
138 package %{name}-daemon
139 summary = The Pakfire daemon.
140 description
141 The Pakfire daemon takes build jobs from the
142 Pakfire Build Service and compiles them.
143 end
144
145 requires
146 pakfire-builder = %{thisver}
147 end
148
149 files
150 %{sysconfdir}/pakfire/daemon.conf
151 %{bindir}/pakfire-daemon
152 end
153 configfiles = %{sysconfdir}/pakfire/daemon.conf
154 end
155
0d37182c
MT
156 package quality-agent
157 arch = noarch
158
159 summary = The pakfire quality agent.
160 description
161 The quality agent tests resulting packages that come out
162 of the build service.
163 It is a collection of scripts that check if everything is
164 working right.
802ea3af 165 end
7afde232 166
802ea3af 167 files
47a5ddc1
MT
168 /usr/lib/pakfire/quality-agent
169 /usr/lib/quality-agent*
802ea3af 170 end
0d37182c 171
640a1a65 172 requires
938865ae 173 gawk
640a1a65 174 binutils
938865ae
MT
175 coreutils
176 findutils
640a1a65
MT
177 file
178 grep
938865ae 179 sed
640a1a65 180 end
802ea3af 181 end
1f9bc2f0
MT
182
183 package %{name}-debuginfo
184 template DEBUGINFO
185 end
802ea3af 186end