]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = pakfire |
47a5ddc1 | 7 | version = 0.9.22 |
67bbd71e | 8 | release = 4 |
e5192f6a | 9 | |
802ea3af MT |
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. | |
e5192f6a | 15 | |
802ea3af MT |
16 | description |
17 | Pakfire optains package lists from the mirrors and can install and update | |
f5b41606 | 18 | packages. |
802ea3af MT |
19 | end |
20 | ||
0d37182c | 21 | source_dl = http://source.ipfire.org/releases/pakfire/ |
e5192f6a | 22 | |
802ea3af MT |
23 | build |
24 | requires | |
f0216cd6 MT |
25 | beecrypt-devel |
26 | elfutils-devel | |
de9c6811 | 27 | gettext |
533ad168 | 28 | libcap-devel |
802ea3af | 29 | libsolv-devel |
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 | 52 | end |
fd79f072 | 53 | |
802ea3af MT |
54 | packages |
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 |
47a5ddc1 | 63 | pygpgme |
802ea3af MT |
64 | python-progressbar |
65 | python-urlgrabber | |
802ea3af MT |
66 | system-release |
67 | end | |
0d37182c MT |
68 | |
69 | files | |
47a5ddc1 MT |
70 | %{sysconfdir}/pakfire/general.conf |
71 | %{bindir}/pakfire-key | |
0d37182c | 72 | /usr/lib/pakfire/pakfire-multicall.py |
640a1a65 | 73 | %{libdir}/python*/site-packages/pakfire* |
0d37182c MT |
74 | /usr/share/locale |
75 | end | |
47a5ddc1 | 76 | configfiles = %{sysconfdir}/pakfire/general.conf |
802ea3af | 77 | end |
47a5ddc1 | 78 | |
16f3dc5d | 79 | package %{name}-builder |
47a5ddc1 | 80 | summary = The Pakfire builder. |
802ea3af MT |
81 | description |
82 | The tools that are needed to build new pakfire packages. | |
83 | end | |
84 | groups += Build | |
0d37182c | 85 | |
802ea3af | 86 | requires |
47a5ddc1 MT |
87 | # For --rpm-requires. |
88 | bash >= 4.2-7 | |
89 | ||
938865ae MT |
90 | %{name} = %{thisver} |
91 | quality-agent = %{thisver} | |
f0216cd6 MT |
92 | cpio |
93 | elfutils | |
0d37182c | 94 | end |
938865ae MT |
95 | provides = pakfire-build = %{thisver} |
96 | obsoletes = pakfire-build < %{thisver} | |
47a5ddc1 MT |
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 | |
0d37182c MT |
107 | |
108 | files | |
47a5ddc1 MT |
109 | /etc/pakfire/builder.conf |
110 | /etc/pakfire/distros | |
640a1a65 | 111 | %{libdir}/libpakfire_preload.so |
47a5ddc1 MT |
112 | %{bindir}/pakfire-builder |
113 | %{bindir}/pakfire-server | |
0d37182c MT |
114 | /usr/lib/pakfire/* |
115 | !/usr/lib/pakfire/pakfire-multicall.py | |
116 | end | |
117 | end | |
118 | ||
47a5ddc1 MT |
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 | ||
0d37182c MT |
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. | |
802ea3af | 164 | end |
7afde232 | 165 | |
802ea3af | 166 | files |
47a5ddc1 MT |
167 | /usr/lib/pakfire/quality-agent |
168 | /usr/lib/quality-agent* | |
802ea3af | 169 | end |
0d37182c | 170 | |
640a1a65 | 171 | requires |
938865ae | 172 | gawk |
640a1a65 | 173 | binutils |
938865ae MT |
174 | coreutils |
175 | findutils | |
640a1a65 MT |
176 | file |
177 | grep | |
938865ae | 178 | sed |
640a1a65 | 179 | end |
802ea3af | 180 | end |
1f9bc2f0 MT |
181 | |
182 | package %{name}-debuginfo | |
183 | template DEBUGINFO | |
184 | end | |
802ea3af | 185 | end |