]>
Commit | Line | Data |
---|---|---|
20112865 | 1 | # TODO: %files |
f5db57ea | 2 | Summary: A collection of utilities related to yum |
765ff573 | 3 | Summary(pl.UTF-8): Zestaw narzędzi związanych z yumem |
f5db57ea | 4 | Name: yum-utils |
4f9e691b | 5 | Version: 1.1.22 |
eed29f33 | 6 | Release: 0.1 |
f5db57ea PZ |
7 | License: GPL |
8 | Group: Applications/System | |
73658a04 | 9 | Source0: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz |
4f9e691b | 10 | # Source0-md5: 91373d40b9703f04d12eb289932077a1 |
5cac16e8 ER |
11 | Source1: yum-plugin-pld-kernel.py |
12 | Source2: yum-plugin-pld-kernel.conf | |
73658a04 | 13 | URL: http://linux.duke.edu/yum/download/yum-utils/ |
f5db57ea PZ |
14 | BuildRequires: gettext-devel |
15 | BuildRequires: rpm-pythonprov | |
16 | BuildRequires: rpmbuild(macros) >= 1.228 | |
765ff573 | 17 | Requires: python >= 1:2.5 |
73658a04 | 18 | Requires: yum >= 3.1.1 |
f5db57ea PZ |
19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
765ff573 JB |
23 | Yum-utils is a collection of utilities, plugins and examples related |
24 | to the yum package manager. | |
f5db57ea PZ |
25 | |
26 | %description -l pl.UTF-8 | |
765ff573 JB |
27 | yum-utils to zestaw narzędzi, wtyczek i przykładów związanych z |
28 | zarządcą pakietów yum. | |
f5db57ea | 29 | |
73658a04 ER |
30 | %package -n yum-updateonboot |
31 | Summary: Run yum update on system boot | |
b61cc007 | 32 | Summary(pl.UTF-8): Uruchamianie yum update przy starcie systemu |
73658a04 ER |
33 | Group: Base |
34 | Requires(post): /sbin/chkconfig | |
35 | Requires(pre): /sbin/chkconfig | |
36 | Requires: python | |
37 | Requires: yum >= 2.4 | |
38 | ||
39 | %description -n yum-updateonboot | |
40 | Runs yum update on system boot. This allows machines that have been | |
41 | turned off for an extended amount of time to become secure | |
42 | immediately, instead of waiting until the next early morning cron job. | |
43 | ||
b61cc007 JB |
44 | %description -n yum-updateonboot -l pl.UTF-8 |
45 | Uruchamianie yum update przy starcie systemu. Pozwala to maszynom | |
46 | wyłączonym na dłuższy czas stać się bezpiecznymi natychmiast, bez | |
47 | czekania na kolejne poranne zadanie crona. | |
48 | ||
73658a04 ER |
49 | %package -n yum-changelog |
50 | Summary: Yum plugin for viewing package changelogs before/after updating | |
b61cc007 | 51 | Summary(pl.UTF-8): Wtyczka yuma do oglądania list zmian pakietów przed/po uaktualnieniu |
73658a04 ER |
52 | Group: Base |
53 | Requires: yum >= 3.0 | |
54 | ||
55 | %description -n yum-changelog | |
56 | This plugin adds a command line option to allow viewing package | |
57 | changelog deltas before or after updating packages. | |
58 | ||
b61cc007 JB |
59 | %description -n yum-changelog -l pl.UTF-8 |
60 | Ta wtyczka dodaje opcję linii poleceń pozwalającą oglądać przyrostowo | |
61 | listę zmian pakietu (changelog) przed lub po uaktualnieniu. | |
62 | ||
73658a04 ER |
63 | %package -n yum-fastestmirror |
64 | Summary: Yum plugin which chooses fastest repository from a mirrorlist | |
b61cc007 | 65 | Summary(pl.UTF-8): Wtyczka yuma wybierająca najszybsze repozytorium z listy serwerów lustrzanych |
73658a04 ER |
66 | Group: Base |
67 | Requires: yum >= 3.0 | |
68 | ||
69 | %description -n yum-fastestmirror | |
70 | This plugin sorts each repository's mirrorlist by connection speed | |
71 | prior to downloading packages. | |
72 | ||
b61cc007 JB |
73 | %description -n yum-fastestmirror -l pl.UTF-8 |
74 | Ta wtyczka sortuje listy serwerów lustrzanych każdego repozytorium po | |
75 | szybkości połączenia przed rozpoczęciem ściągania pakietów. | |
76 | ||
73658a04 ER |
77 | %package -n yum-protectbase |
78 | Summary: Yum plugin to protect packages from certain repositories | |
b61cc007 | 79 | Summary(pl.UTF-8): Wtyczka yuma zabezpieczająca pakiety z pewnych repozytoriów |
73658a04 ER |
80 | Group: Base |
81 | Requires: yum >= 3.0 | |
82 | ||
83 | %description -n yum-protectbase | |
84 | This plugin allows certain repositories to be protected. Packages in | |
85 | the protected repositories can't be overridden by packages in | |
86 | non-protected repositories even if the non-protected repo has a later | |
87 | version. | |
88 | ||
b61cc007 JB |
89 | %description -n yum-protectbase -l pl.UTF-8 |
90 | Ta wtyczka pozwala na zabezpieczenie pewnych repozytoriów. Pakiety z | |
91 | zabezpieczonych repozytoriów nie mogą być przykryte przez pakiety z | |
92 | repozytoriów niezabezpieczonych, nawet jeśli w niezabezpieczonym jest | |
93 | nowsza wersja. | |
94 | ||
73658a04 ER |
95 | %package -n yum-versionlock |
96 | Summary: Yum plugin to lock specified packages from being updated | |
b61cc007 | 97 | Summary(pl.UTF-8): Wtyczka yuma blokująca uaktualnianie określonych pakietów |
73658a04 ER |
98 | Group: Base |
99 | Requires: yum >= 3.0 | |
100 | ||
101 | %description -n yum-versionlock | |
102 | This plugin allows certain packages specified in a file to be | |
103 | protected from being updated by newer versions. | |
104 | ||
b61cc007 JB |
105 | %description -n yum-versionlock -l pl.UTF-8 |
106 | Ta wtyczka pozwala chronić pewne pakiety określone w pliku przed | |
107 | uaktualnieniem do nowszych wersji. | |
108 | ||
73658a04 ER |
109 | %package -n yum-tsflags |
110 | Summary: Yum plugin to add tsflags by a commandline option | |
b61cc007 | 111 | Summary(pl.UTF-8): Wtyczka yuma dodająca flagi transakcji opcją linii poleceń |
73658a04 ER |
112 | Group: Base |
113 | Requires: yum >= 3.0 | |
114 | ||
115 | %description -n yum-tsflags | |
116 | This plugin allows you to specify optional transaction flags on the | |
b61cc007 JB |
117 | yum command line. |
118 | ||
119 | %description -n yum-tsflags -l pl.UTF-8 | |
120 | Ta wtyczka pozwala określić dodatkowe flagi transakcji z linii | |
121 | poleceń. | |
73658a04 ER |
122 | |
123 | %package -n yum-kernel-module | |
124 | Summary: Yum plugin to handle kernel-module-foo type of kernel module | |
b61cc007 | 125 | Summary(pl.UTF-8): Wtyczka yuma obsługująca moduły jądra typu kernel-module-foo |
73658a04 ER |
126 | Group: Base |
127 | Requires: yum >= 3.0 | |
128 | ||
129 | %description -n yum-kernel-module | |
130 | This plugin handle installation of kernel-module-foo type of kernel | |
131 | modules when new version of kernels are installed. | |
132 | ||
b61cc007 JB |
133 | %description -n yum-kernel-module -l pl.UTF-8 |
134 | Ta wtyczka obsługuje instalację modułów jądra typu kernel-module-foo | |
135 | kiedy zainstalowane są nowe wersje jądra. | |
73658a04 ER |
136 | |
137 | %package -n yum-downloadonly | |
138 | Summary: Yum plugin to add downloadonly command option | |
b61cc007 | 139 | Summary(pl.UTF-8): Wtyczka yuma dodająca opcję linii poleceń downloadonly |
73658a04 ER |
140 | Group: Base |
141 | Requires: yum >= 3.0 | |
142 | ||
143 | %description -n yum-downloadonly | |
144 | This plugin adds a --downloadonly flag to yum so that yum will only | |
145 | download the packages and not install/update them. | |
146 | ||
b61cc007 JB |
147 | %description -n yum-downloadonly -l pl.UTF-8 |
148 | Ta wtyczka dodaje flagę --downloadonly do yuma, powodującą, że yum | |
149 | tylko ściąga pakiety bez ich instalacji/uaktualniania. | |
150 | ||
73658a04 ER |
151 | %package -n yum-allowdowngrade |
152 | Summary: Yum plugin to enable manual downgrading of packages | |
b61cc007 | 153 | Summary(pl.UTF-8): Wtyczka yuma umożliwiająca ręczne instalowanie starszych pakietów |
73658a04 ER |
154 | Group: Base |
155 | Requires: yum >= 3.0 | |
156 | ||
157 | %description -n yum-allowdowngrade | |
158 | This plugin adds a --allow-downgrade flag to yum to make it possible | |
159 | to manually downgrade packages to specific versions. | |
160 | ||
b61cc007 JB |
161 | %description -n yum-allowdowngrade -l pl.UTF-8 |
162 | Ta wtyczka dodaje do yuma flagę --allow-downgrade, umożliwiającą | |
163 | ręczne zastępowanie pakietów określonymi starszymi wersjami | |
164 | (downgrade). | |
165 | ||
73658a04 ER |
166 | %package -n yum-skip-broken |
167 | Summary: Yum plugin to handle skiping packages with dependency problems | |
b61cc007 | 168 | Summary(pl.UTF-8): Wtyczka yuma obsługująca pomijanie pakietów mających problematyczne zależności |
73658a04 ER |
169 | Group: Base |
170 | Requires: yum >= 3.0 | |
171 | ||
172 | %description -n yum-skip-broken | |
173 | This plugin adds a --skip-broken to yum to make it possible to check | |
174 | packages for dependency problems and skip the one with problems. | |
175 | ||
b61cc007 JB |
176 | %description -n yum-skip-broken -l pl.UTF-8 |
177 | Ta wtyczka dodaje do yuma opcję --skip-broken, umożliwiającą | |
178 | sprawdzanie pakietów pod kątem problemów z zależnościami i pomijanie | |
179 | problematycznych. | |
180 | ||
5cac16e8 | 181 | %package -n yum-pld-kernel |
b61cc007 JB |
182 | Summary: Yum plugin to handle PLD kernel installs |
183 | Summary(pl.UTF-8): Wtyczka yuma obsługująca instalację jąder PLD | |
5cac16e8 ER |
184 | Group: Base |
185 | Requires: yum >= 3.0 | |
186 | ||
187 | %description -n yum-pld-kernel | |
b61cc007 JB |
188 | This plugin handle installation of PLD kernels. |
189 | ||
190 | %description -n yum-pld-kernel -l pl.UTF-8 | |
191 | Ta wtyczka obsługuje instalację jąder PLD. | |
5cac16e8 | 192 | |
73658a04 | 193 | %package -n yum-priorities |
b61cc007 JB |
194 | Summary: Plugin to give priorities to packages from different repos |
195 | Summary(pl.UTF-8): Wtyczka nadająca priorytety pakietom z różnych repozytoriów | |
73658a04 ER |
196 | Group: Base |
197 | Requires: yum >= 3.0 | |
198 | ||
199 | %description -n yum-priorities | |
200 | This plugin allows repositories to have different priorities. Packages | |
201 | in a repository with a lower priority can't be overridden by packages | |
202 | from a repository with a higher priority even if repo has a later | |
203 | version. | |
204 | ||
b61cc007 JB |
205 | %description -n yum-priorities -l pl.UTF-8 |
206 | Ta wtyczka umożliwia przypisanie repozytoriom różnych priorytetów. | |
207 | Pakiety z repozytorium o niższym priorytecie nie mogą być przykryte | |
208 | przez pakiety z repozytorium o wyższym priorytecie nawet jeśli te | |
209 | drugie mają nowszą wersję. | |
210 | ||
73658a04 ER |
211 | %package -n yum-refresh-updatesd |
212 | Summary: Tell yum-updatesd to check for updates when yum exits | |
b61cc007 | 213 | Summary(pl.UTF-8): Sprawdzanie uaktualnień przez yum-updatesd przy zakończeniu yuma |
73658a04 ER |
214 | Group: Base |
215 | Requires: yum >= 3.0 | |
216 | Requires: yum-updatesd | |
217 | ||
218 | %description -n yum-refresh-updatesd | |
219 | yum-refresh-updatesd tells yum-updatesd to check for updates when yum | |
220 | exits. This way, if you run 'yum update' and install all available | |
221 | updates, puplet will almost instantly update itself to reflect this. | |
222 | ||
b61cc007 JB |
223 | %description -n yum-refresh-updatesd -l pl.UTF-8 |
224 | yum-refresh-updatesd przekazuje yum-updatesd, aby sprawdzał | |
225 | uaktualnienia kiedy yum kończy pracę. W ten sposób po uruchomieniu | |
226 | "yum update" i zainstalowaniu wszystkich dostępnych uaktualnień puplet | |
227 | prawie natychmiast uaktualni swoje informacje. | |
228 | ||
73658a04 ER |
229 | %package -n yum-merge-conf |
230 | Summary: Yum plugin to merge configuration changes when installing packages | |
b61cc007 | 231 | Summary(pl.UTF-8): Wtyczka yuma do włączania zmian konfiguracji przy instalacji pakietów |
73658a04 ER |
232 | Group: Base |
233 | Requires: yum >= 3.0 | |
234 | ||
235 | %description -n yum-merge-conf | |
236 | This yum plugin adds the "--merge-conf" command line option. With this | |
237 | option, Yum will ask you what to do with config files which have | |
238 | changed on updating a package. | |
239 | ||
b61cc007 JB |
240 | %description -n yum-merge-conf -l pl.UTF-8 |
241 | Ta wtyczka yuma dodaje opcję linii poleceń --merge-conf. Przy jej | |
242 | użyciu yum pyta co zrobić z plikami konfiguracyjnymi, które zmieniły | |
243 | się przy uaktualnianiu pakietu. | |
244 | ||
73658a04 ER |
245 | %package -n yum-security |
246 | Summary: Yum plugin to enable security filters | |
b61cc007 | 247 | Summary(pl.UTF-8): Wtyczka yuma włączająca filtry bezpieczeństwa |
73658a04 ER |
248 | Group: Base |
249 | Requires: yum >= 3.0.5 | |
250 | ||
251 | %description -n yum-security | |
252 | This plugin adds the options --security, --cve, --bz and --advisory | |
253 | flags to yum and the list-security and info-security commands. The | |
254 | options make it possible to limit list/upgrade of packages to specific | |
255 | security relevant ones. The commands give you the security | |
256 | information. | |
257 | ||
b61cc007 JB |
258 | %description -n yum-security -l pl.UTF-8 |
259 | Ta wtyczka dodaje do yuma flagi --security, --cve, --bz i --advisory | |
260 | oraz polecenia list-security i info-security. Opcje te umożliwiają | |
261 | ograniczenie listy/uaktualnień pakietów do związanych z | |
262 | bezpieczeństwem w określony sposób. Polecenia podają informacje | |
263 | związane z bezpieczeństwem. | |
264 | ||
73658a04 ER |
265 | %package -n yum-protect-packages |
266 | Summary: Yum plugin to prevents Yum from removing itself and other protected packages | |
b61cc007 | 267 | Summary(pl.UTF-8): Wtyczka yuma zapobiegająca usunięciu siebie lub innych chronionych pakietów |
73658a04 ER |
268 | Group: Base |
269 | Requires: yum >= 3.0 | |
270 | ||
271 | %description -n yum-protect-packages | |
b61cc007 | 272 | This plugin prevents Yum from removing itself and other protected |
73658a04 ER |
273 | packages. By default, yum is the only package protected, but by |
274 | extension this automatically protects everything on which yum depends | |
275 | (rpm, python, glibc, and so on).Therefore, the plugin functions well | |
276 | even without compiling careful lists of all important packages. | |
277 | ||
b61cc007 JB |
278 | %description -n yum-protect-packages -l pl.UTF-8 |
279 | Ta wtyczka zapobiega usunięciu przez yuma siebie samego lub innych | |
280 | chronionych pakietów. Domyślnie jedynym chronionym pakietem jest yum, | |
281 | ale poprzez rozszerzenie automatycznie zabezpiecza to wszystkie | |
282 | pakiety będące zależnościami yuma (rpm, python, glibc itd.). W ten | |
283 | sposób wtyczka funkcjonuje dobrze nawet bez troskliwego tworzenia | |
284 | list wszystkich ważnych pakietów. | |
285 | ||
73658a04 ER |
286 | %package -n yum-basearchonly |
287 | Summary: Yum plugin to let Yum install only basearch packages | |
b61cc007 | 288 | Summary(pl.UTF-8): Wtyczka yuma pozwalająca instalować tylko pakiety basearch |
73658a04 ER |
289 | Group: Base |
290 | Requires: yum >= 3.0 | |
291 | ||
292 | %description -n yum-basearchonly | |
b61cc007 | 293 | This plugin makes Yum only install basearch packages on multiarch |
73658a04 | 294 | systems. If you type 'yum install foo' on a x68_64 system, only |
b61cc007 | 295 | 'foo-x.y.x86_64.rpm' is installed. If you want to install the |
73658a04 ER |
296 | foo-x.y.i386.rpm, you have to type 'yum install foo.i386'. The plugin |
297 | only works with 'yum install'. | |
298 | ||
b61cc007 JB |
299 | %description -n yum-basearchonly -l pl.UTF-8 |
300 | Ta wtyczka powoduje, że yum instaluje tylko pakiety basearch na | |
301 | systemach multiarch. Po wpisaniu "yum install foo" na systemie x86_64 | |
302 | zostanie zainstalowany tylko "foo-x.y.x86_64.rpm. Aby zainstalować | |
303 | foo-x.y.i386.rpm, trzeba wpisać "yum install foo.i386". Wtyczka działa | |
304 | tylko z "yum install". | |
305 | ||
73658a04 ER |
306 | %package -n yum-upgrade-helper |
307 | Summary: Yum plugin to help upgrades to the next distribution version | |
b61cc007 | 308 | Summary(pl.UTF-8): Wtyczka yuma pomagająca przy uaktualnianiu do kolejnej wersji dystrybucji |
73658a04 ER |
309 | Group: Base |
310 | Requires: yum >= 3.0 | |
311 | ||
312 | %description -n yum-upgrade-helper | |
b61cc007 | 313 | This plugin allows yum to erase specific packages on install/update |
73658a04 ER |
314 | based on an additional metadata file in repositories. It is used to |
315 | simplify distribution upgrade hangups. | |
316 | ||
b61cc007 JB |
317 | %description -n yum-upgrade-helper -l pl.UTF-8 |
318 | Ta wtyczka pozwala yumowi usunąć określone pakiety przy instalacji lub | |
319 | uaktualnianiu w oparciu o dodatkowe pliki metadanych w repozytoriach. | |
320 | Służy do uproszczenia uaktualnień wersji dystrybucji. | |
321 | ||
73658a04 ER |
322 | %package -n yum-aliases |
323 | Summary: Yum plugin to enable aliases filters | |
b61cc007 | 324 | Summary(pl.UTF-8): Wtyczka yuma włączająca filtry aliasów |
73658a04 ER |
325 | Group: Base |
326 | Requires: yum >= 3.0.5 | |
327 | ||
328 | %description -n yum-aliases | |
329 | This plugin adds the command alias, and parses the aliases config. | |
330 | file to enable aliases. | |
331 | ||
b61cc007 JB |
332 | %description -n yum-aliases -l pl.UTF-8 |
333 | Ta wtyczka dodaje polecenie alias i analizuje konfigurację aliasów w | |
334 | celu włączenia aliasów. | |
335 | ||
73658a04 ER |
336 | %package -n yum-list-data |
337 | Summary: Yum plugin to list aggregate package data | |
b61cc007 | 338 | Summary(pl.UTF-8): Wtyczka yuma wypisująca zagregowane dane pakietów |
73658a04 ER |
339 | Group: Base |
340 | Requires: yum >= 3.0.5 | |
341 | ||
342 | %description -n yum-list-data | |
343 | This plugin adds the commands list- vendors, groups, packagers, | |
344 | licenses, arches, committers, buildhosts, baseurls, package-sizes, | |
345 | archive-sizes and installed-sizes. | |
346 | ||
b61cc007 JB |
347 | %description -n yum-list-data -l pl.UTF-8 |
348 | Ta wtyczka dodaje polecenia list- vendors, groups, packagers, | |
349 | licenses, arches, committers, buildhosts, baseurls, package-sizes, | |
350 | archive-sizes i installed-sizes. | |
351 | ||
73658a04 ER |
352 | %package -n yum-filter-data |
353 | Summary: Yum plugin to list filter based on package data | |
b61cc007 | 354 | Summary(pl.UTF-8): Wtyczka yuma dodająca filtry oparte na danych pakietu |
73658a04 ER |
355 | Group: Base |
356 | Requires: yum >= 3.0.5 | |
357 | ||
358 | %description -n yum-filter-data | |
359 | This plugin adds the options --filter- vendors, groups, packagers, | |
360 | licenses, arches, committers, buildhosts, baseurls, package-sizes, | |
361 | archive-sizes and installed-sizes. Note that each package must match | |
362 | at least one pattern/range in each category, if any were specified. | |
363 | ||
adb8b11e | 364 | %description -n yum-filter-data -l pl.UTF-8 |
b61cc007 JB |
365 | Ta wtyczka dodaje opcje --filter- vendors, groups, packagers, |
366 | licenses, arches, committers, buildhosts, baseurls, package-sizes, | |
367 | archive-sizes i installed-sizes. Każdy pakiet musi pasować do | |
368 | przynajmniej jednego wzorca/zakresu w każdej wybranej kategorii. | |
369 | ||
73658a04 ER |
370 | %package -n yum-tmprepo |
371 | Summary: Yum plugin to add temporary repositories | |
b61cc007 | 372 | Summary(pl.UTF-8): Wtyczka yuma dodająca repozytoria tymczasowe |
73658a04 ER |
373 | Group: Base |
374 | Requires: yum >= 3.2.11 | |
375 | ||
376 | %description -n yum-tmprepo | |
b61cc007 | 377 | This plugin adds the option --tmprepo which takes a URL to a .repo |
73658a04 ER |
378 | file downloads it and enables it for a single run. This plugin tries |
379 | to ensure that temporary repositories are safe to use, by default, by | |
380 | not allowing gpg checking to be disabled. | |
381 | ||
b61cc007 JB |
382 | %description -n yum-tmprepo -l pl.UTF-8 |
383 | Ta wtyczka dodaje opcję --tmprepo przyjmującą URL do pliku .repo i | |
384 | włączająca go dla jednego uruchomienia. Wtyczka próbuje zapewnić | |
385 | bezpieczne użycie repozytoriów tymczasowych domyślnie nie pozwalając | |
386 | na wyłączenie sprawdzania gpg. | |
387 | ||
73658a04 ER |
388 | %package -n yum-verify |
389 | Summary: Yum plugin to add verify command, and options | |
b61cc007 | 390 | Summary(pl.UTF-8): Wtyczka yuma dodająca polecenie i opcje weryfikacji |
73658a04 ER |
391 | Group: Base |
392 | Requires: yum >= 3.2.12 | |
393 | ||
394 | %description -n yum-verify | |
395 | This plugin adds the commands verify, verify-all and verify-rpm. There | |
396 | are also a couple of options. This command works like rpm -V, to | |
397 | verify your installation. | |
398 | ||
b61cc007 JB |
399 | %description -n yum-verify -l pl.UTF-8 |
400 | Ta wtyczka dodaje polecenia verify, verify-all i verify-rpm, a także | |
401 | kilka opcji. Działa podobnie jak rpm -V, weryfikując instalację. | |
402 | ||
f5db57ea PZ |
403 | %prep |
404 | %setup -q | |
73658a04 ER |
405 | |
406 | mv plugins/README README.plugins | |
f5db57ea PZ |
407 | |
408 | %build | |
409 | %{__make} | |
410 | ||
411 | %install | |
412 | rm -rf $RPM_BUILD_ROOT | |
413 | ||
73658a04 ER |
414 | %{__make} DESTDIR=$RPM_BUILD_ROOT install |
415 | %{__make} -C updateonboot DESTDIR=$RPM_BUILD_ROOT install | |
f5db57ea PZ |
416 | |
417 | # Plugins to install | |
73658a04 | 418 | plugins="changelog fastestmirror protectbase versionlock tsflags kernel-module \ |
4f9e691b | 419 | downloadonly allowdowngrade priorities refresh-updatesd merge-conf \ |
73658a04 ER |
420 | security protect-packages basearchonly upgrade-helper aliases list-data filter-data tmprepo verify" |
421 | ||
422 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT%{_datadir}/yum-plugins | |
f5db57ea PZ |
423 | |
424 | cd plugins | |
425 | for plug in $plugins; do | |
73658a04 | 426 | install -m 644 $plug/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d |
5cac16e8 | 427 | install $plug/*.py $RPM_BUILD_ROOT%{_datadir}/yum-plugins |
f5db57ea | 428 | done |
5cac16e8 ER |
429 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/yum-plugins/pld-kernel.py |
430 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d/pld-kernel.conf | |
431 | ||
73658a04 ER |
432 | install aliases/aliases $RPM_BUILD_ROOT%{_sysconfdir}/yum/aliases.conf |
433 | install versionlock/versionlock.list $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d | |
f5db57ea PZ |
434 | |
435 | %py_postclean | |
436 | ||
437 | %clean | |
438 | rm -rf $RPM_BUILD_ROOT | |
439 | ||
73658a04 ER |
440 | %post -n yum-updateonboot |
441 | /sbin/chkconfig --add yum-updateonboot | |
442 | ||
443 | %preun -n yum-updateonboot | |
444 | if [ $1 = 0 ]; then | |
445 | %service yum-updateonboot stop | |
446 | /sbin/chkconfig --del yum-updateonboot | |
447 | fi | |
448 | ||
f5db57ea PZ |
449 | %files |
450 | %defattr(644,root,root,755) | |
73658a04 ER |
451 | %doc ChangeLog README README.plugins TODO |
452 | %doc yum-util-cli-template | |
f5db57ea PZ |
453 | %attr(755,root,root) %{_bindir}/debuginfo-install |
454 | %attr(755,root,root) %{_bindir}/package-cleanup | |
f5db57ea | 455 | %attr(755,root,root) %{_bindir}/repo-graph |
73658a04 ER |
456 | %attr(755,root,root) %{_bindir}/repo-rss |
457 | %attr(755,root,root) %{_bindir}/repoclosure | |
458 | %attr(755,root,root) %{_bindir}/repodiff | |
f5db57ea PZ |
459 | %attr(755,root,root) %{_bindir}/repomanage |
460 | %attr(755,root,root) %{_bindir}/repoquery | |
f5db57ea PZ |
461 | %attr(755,root,root) %{_bindir}/reposync |
462 | %attr(755,root,root) %{_bindir}/repotrack | |
463 | %attr(755,root,root) %{_bindir}/yum-builddep | |
464 | %attr(755,root,root) %{_bindir}/yumdownloader | |
73658a04 ER |
465 | %attr(755,root,root) %{_sbindir}/yum-complete-transaction |
466 | %{_mandir}/man1/package-cleanup.1.* | |
467 | %{_mandir}/man1/repo-rss.1.* | |
468 | %{_mandir}/man1/repoquery.1.* | |
469 | %{_mandir}/man1/reposync.1.* | |
470 | %{_mandir}/man1/yum-builddep.1.* | |
471 | %{_mandir}/man1/yum-utils.1.* | |
472 | %{_mandir}/man1/yumdownloader.1.* | |
473 | %{_mandir}/man8/yum-complete-transaction.8.* | |
474 | ||
475 | %files -n yum-updateonboot | |
476 | %defattr(644,root,root,755) | |
477 | %doc updateonboot/README | |
478 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/yum-updateonboot | |
479 | %attr(754,root,root) /etc/rc.d/init.d/yum-updateonboot | |
480 | ||
481 | %files -n yum-changelog | |
482 | %defattr(644,root,root,755) | |
483 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/changelog.conf | |
484 | %{_datadir}/yum-plugins/changelog.* | |
485 | %{_mandir}/man1/yum-changelog.1.* | |
486 | %{_mandir}/man5/yum-changelog.conf.5.* | |
487 | ||
488 | %files -n yum-fastestmirror | |
489 | %defattr(644,root,root,755) | |
490 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/fastestmirror.conf | |
491 | %{_datadir}/yum-plugins/fastestmirror.* | |
492 | ||
493 | %files -n yum-protectbase | |
494 | %defattr(644,root,root,755) | |
495 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/protectbase.conf | |
496 | %{_datadir}/yum-plugins/protectbase.* | |
497 | ||
498 | %files -n yum-versionlock | |
499 | %defattr(644,root,root,755) | |
500 | %doc plugins/versionlock/README | |
501 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/versionlock.conf | |
502 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/versionlock.list | |
503 | %{_datadir}/yum-plugins/versionlock.* | |
504 | ||
505 | %files -n yum-tsflags | |
506 | %defattr(644,root,root,755) | |
507 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/tsflags.conf | |
508 | %{_datadir}/yum-plugins/tsflags.* | |
509 | ||
510 | %files -n yum-kernel-module | |
511 | %defattr(644,root,root,755) | |
512 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/kernel-module.conf | |
513 | %{_datadir}/yum-plugins/kernel-module.* | |
514 | ||
515 | %files -n yum-downloadonly | |
516 | %defattr(644,root,root,755) | |
517 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/downloadonly.conf | |
518 | %{_datadir}/yum-plugins/downloadonly.* | |
519 | ||
520 | %files -n yum-allowdowngrade | |
521 | %defattr(644,root,root,755) | |
522 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/allowdowngrade.conf | |
523 | %{_datadir}/yum-plugins/allowdowngrade.* | |
524 | ||
5cac16e8 ER |
525 | %files -n yum-pld-kernel |
526 | %defattr(644,root,root,755) | |
527 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/pld-kernel.conf | |
528 | %{_datadir}/yum-plugins/pld-kernel.* | |
529 | ||
73658a04 ER |
530 | %files -n yum-priorities |
531 | %defattr(644,root,root,755) | |
532 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/priorities.conf | |
533 | %{_datadir}/yum-plugins/priorities.* | |
534 | ||
535 | %files -n yum-refresh-updatesd | |
536 | %defattr(644,root,root,755) | |
537 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/refresh-updatesd.conf | |
538 | %{_datadir}/yum-plugins/refresh-updatesd.* | |
539 | ||
540 | %files -n yum-merge-conf | |
541 | %defattr(644,root,root,755) | |
542 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/merge-conf.conf | |
543 | %{_datadir}/yum-plugins/merge-conf.* | |
544 | ||
545 | %files -n yum-security | |
546 | %defattr(644,root,root,755) | |
547 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/security.conf | |
548 | %{_datadir}/yum-plugins/security.* | |
549 | %{_mandir}/man8/yum-security.8.* | |
550 | ||
551 | %files -n yum-protect-packages | |
552 | %defattr(644,root,root,755) | |
553 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/protect-packages.conf | |
554 | %{_datadir}/yum-plugins/protect-packages.* | |
555 | ||
556 | %files -n yum-basearchonly | |
557 | %defattr(644,root,root,755) | |
558 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/basearchonly.conf | |
559 | %{_datadir}/yum-plugins/basearchonly.* | |
560 | ||
561 | %files -n yum-upgrade-helper | |
562 | %defattr(644,root,root,755) | |
563 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/upgrade-helper.conf | |
564 | %{_datadir}/yum-plugins/upgrade-helper.* | |
565 | ||
566 | %files -n yum-aliases | |
567 | %defattr(644,root,root,755) | |
568 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/aliases.conf | |
569 | %config(noreplace) %{_sysconfdir}/yum/aliases.conf | |
570 | %{_datadir}/yum-plugins/aliases.* | |
571 | ||
572 | %files -n yum-list-data | |
573 | %defattr(644,root,root,755) | |
574 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/list-data.conf | |
575 | %{_datadir}/yum-plugins/list-data.* | |
576 | %{_mandir}/man1/yum-list-data.1.* | |
577 | ||
578 | %files -n yum-filter-data | |
579 | %defattr(644,root,root,755) | |
580 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/filter-data.conf | |
581 | %{_datadir}/yum-plugins/filter-data.* | |
582 | %{_mandir}/man1/yum-filter-data.1.* | |
583 | ||
584 | %files -n yum-tmprepo | |
585 | %defattr(644,root,root,755) | |
586 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/tmprepo.conf | |
587 | %{_datadir}/yum-plugins/tmprepo.* | |
588 | ||
589 | %files -n yum-verify | |
590 | %defattr(644,root,root,755) | |
591 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/verify.conf | |
592 | %{_datadir}/yum-plugins/verify.* | |
593 | %{_mandir}/man1/yum-verify.1.* |