]> git.pld-linux.org Git - packages/yum-utils.git/blob - yum-utils.spec
- nothing provides yum-utils-translations
[packages/yum-utils.git] / yum-utils.spec
1 Summary:        A collection of utilities related to yum
2 Summary(pl.UTF-8):      Zestaw narzędzi związanych z yumem
3 Name:           yum-utils
4 Version:        1.1.31
5 Release:        4
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz
9 # Source0-md5:  b2859b89321b98f2581243536e1b4993
10 Source1:        yum-plugin-pld-kernel.py
11 Source2:        yum-plugin-pld-kernel.conf
12 URL:            http://yum.baseurl.org/download/yum-utils/
13 BuildRequires:  gettext-devel
14 BuildRequires:  rpm-pythonprov
15 BuildRequires:  rpmbuild(macros) >= 1.228
16 Requires:       python >= 1:2.5
17 Requires:       yum >= 3.2.29
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _libexecdir     %{_prefix}/lib/%{name}
22
23 %description
24 Yum-utils is a collection of utilities, plugins and examples related
25 to the yum package manager.
26
27 %description -l pl.UTF-8
28 yum-utils to zestaw narzędzi, wtyczek i przykładów związanych z
29 zarządcą pakietów yum.
30
31 %package -n yum-updateonboot
32 Summary:        Run yum update on system boot
33 Summary(pl.UTF-8):      Uruchamianie yum update przy starcie systemu
34 Group:          Base
35 Requires(post): /sbin/chkconfig
36 Requires(pre):  /sbin/chkconfig
37 Requires:       python
38 Requires:       yum >= 2.4
39
40 %description -n yum-updateonboot
41 Runs yum update on system boot. This allows machines that have been
42 turned off for an extended amount of time to become secure
43 immediately, instead of waiting until the next early morning cron job.
44
45 %description -n yum-updateonboot -l pl.UTF-8
46 Uruchamianie yum update przy starcie systemu. Pozwala to maszynom
47 wyłączonym na dłuższy czas stać się bezpiecznymi natychmiast, bez
48 czekania na kolejne poranne zadanie crona.
49
50 %package -n yum-plugin-changelog
51 Summary:        Yum plugin for viewing package changelogs before/after updating
52 Summary(pl.UTF-8):      Wtyczka yuma do oglądania list zmian pakietów przed/po uaktualnieniu
53 Group:          Base
54 # changelog requires new update_md.UpdateMetadata() API in 3.2.23
55 Requires:       python-dateutil
56 Requires:       yum >= 3.2.23
57 Obsoletes:      yum-changelog
58
59 %description -n yum-plugin-changelog
60 This plugin adds a command line option to allow viewing package
61 changelog deltas before or after updating packages.
62
63 %description -n yum-plugin-changelog -l pl.UTF-8
64 Ta wtyczka dodaje opcję linii poleceń pozwalającą oglądać przyrostowo
65 listę zmian pakietu (changelog) przed lub po uaktualnieniu.
66
67 %package -n yum-plugin-fastestmirror
68 Summary:        Yum plugin which chooses fastest repository from a mirrorlist
69 Summary(pl.UTF-8):      Wtyczka yuma wybierająca najszybsze repozytorium z listy serwerów lustrzanych
70 Group:          Base
71 Requires:       yum >= 3.0
72 Obsoletes:      yum-fastestmirror
73
74 %description -n yum-plugin-fastestmirror
75 This plugin sorts each repository's mirrorlist by connection speed
76 prior to downloading packages.
77
78 %description -n yum-plugin-fastestmirror -l pl.UTF-8
79 Ta wtyczka sortuje listy serwerów lustrzanych każdego repozytorium po
80 szybkości połączenia przed rozpoczęciem ściągania pakietów.
81
82 %package -n yum-plugin-protectbase
83 Summary:        Yum plugin to protect packages from certain repositories
84 Summary(pl.UTF-8):      Wtyczka yuma zabezpieczająca pakiety z pewnych repozytoriów
85 Group:          Base
86 Requires:       yum >= 3.0
87 Obsoletes:      yum-protectbase
88
89 %description -n yum-plugin-protectbase
90 This plugin allows certain repositories to be protected. Packages in
91 the protected repositories can't be overridden by packages in
92 non-protected repositories even if the non-protected repo has a later
93 version.
94
95 %description -n yum-plugin-protectbase -l pl.UTF-8
96 Ta wtyczka pozwala na zabezpieczenie pewnych repozytoriów. Pakiety z
97 zabezpieczonych repozytoriów nie mogą być przykryte przez pakiety z
98 repozytoriów niezabezpieczonych, nawet jeśli w niezabezpieczonym jest
99 nowsza wersja.
100
101 %package -n yum-plugin-versionlock
102 Summary:        Yum plugin to lock specified packages from being updated
103 Summary(pl.UTF-8):      Wtyczka yuma blokująca uaktualnianie określonych pakietów
104 Group:          Base
105 Requires:       yum >= 3.2.24
106 Obsoletes:      yum-versionlock
107
108 %description -n yum-plugin-versionlock
109 This plugin allows certain packages specified in a file to be
110 protected from being updated by newer versions.
111
112 %description -n yum-plugin-versionlock -l pl.UTF-8
113 Ta wtyczka pozwala chronić pewne pakiety określone w pliku przed
114 uaktualnieniem do nowszych wersji.
115
116 %package -n yum-plugin-tsflags
117 Summary:        Yum plugin to add tsflags by a commandline option
118 Summary(pl.UTF-8):      Wtyczka yuma dodająca flagi transakcji opcją linii poleceń
119 Group:          Base
120 Requires:       yum >= 3.0
121 Obsoletes:      yum-tsflags
122
123 %description -n yum-plugin-tsflags
124 This plugin allows you to specify optional transaction flags on the
125 yum command line.
126
127 %description -n yum-plugin-tsflags -l pl.UTF-8
128 Ta wtyczka pozwala określić dodatkowe flagi transakcji z linii
129 poleceń.
130
131 # TODO: figure if to remove in pld
132 %package -n yum-kernel-module
133 Summary:        Yum plugin to handle kernel-module-foo type of kernel module
134 Summary(pl.UTF-8):      Wtyczka yuma obsługująca moduły jądra typu kernel-module-foo
135 Group:          Base
136 Requires:       yum >= 3.0
137
138 %description -n yum-kernel-module
139 This plugin handle installation of kernel-module-foo type of kernel
140 modules when new version of kernels are installed.
141
142 %description -n yum-kernel-module -l pl.UTF-8
143 Ta wtyczka obsługuje instalację modułów jądra typu kernel-module-foo
144 kiedy zainstalowane są nowe wersje jądra.
145
146 %package -n yum-plugin-downloadonly
147 Summary:        Yum plugin to add downloadonly command option
148 Summary(pl.UTF-8):      Wtyczka yuma dodająca opcję linii poleceń downloadonly
149 Group:          Base
150 Requires:       yum >= 3.0
151 Obsoletes:      yum-downloadonly
152
153 %description -n yum-plugin-downloadonly
154 This plugin adds a --downloadonly flag to yum so that yum will only
155 download the packages and not install/update them.
156
157 %description -n yum-plugin-downloadonly -l pl.UTF-8
158 Ta wtyczka dodaje flagę --downloadonly do yuma, powodującą, że yum
159 tylko ściąga pakiety bez ich instalacji/uaktualniania.
160
161 %package -n yum-allowdowngrade
162 Summary:        Yum plugin to enable manual downgrading of packages
163 Summary(pl.UTF-8):      Wtyczka yuma umożliwiająca ręczne instalowanie starszych pakietów
164 Group:          Base
165 Requires:       yum >= 3.0
166
167 %description -n yum-allowdowngrade
168 This plugin adds a --allow-downgrade flag to yum to make it possible
169 to manually downgrade packages to specific versions.
170
171 %description -n yum-allowdowngrade -l pl.UTF-8
172 Ta wtyczka dodaje do yuma flagę --allow-downgrade, umożliwiającą
173 ręczne zastępowanie pakietów określonymi starszymi wersjami
174 (downgrade).
175
176 %package -n yum-plugin-pld-kernel
177 Summary:        Yum plugin to handle PLD kernel installs
178 Summary(pl.UTF-8):      Wtyczka yuma obsługująca instalację jąder PLD
179 Group:          Base
180 Requires:       yum >= 3.0
181 Obsoletes:      yum-pld-kernel
182
183 %description -n yum-plugin-pld-kernel
184 This plugin handle installation of PLD kernels.
185
186 %description -n yum-plugin-pld-kernel -l pl.UTF-8
187 Ta wtyczka obsługuje instalację jąder PLD.
188
189 %package -n yum-plugin-priorities
190 Summary:        Plugin to give priorities to packages from different repos
191 Summary(pl.UTF-8):      Wtyczka nadająca priorytety pakietom z różnych repozytoriów
192 Group:          Base
193 Requires:       yum >= 3.0
194 Obsoletes:      yum-priorities
195
196 %description -n yum-plugin-priorities
197 This plugin allows repositories to have different priorities. Packages
198 in a repository with a lower priority can't be overridden by packages
199 from a repository with a higher priority even if repo has a later
200 version.
201
202 %description -n yum-plugin-priorities -l pl.UTF-8
203 Ta wtyczka umożliwia przypisanie repozytoriom różnych priorytetów.
204 Pakiety z repozytorium o niższym priorytecie nie mogą być przykryte
205 przez pakiety z repozytorium o wyższym priorytecie nawet jeśli te
206 drugie mają nowszą wersję.
207
208 %package -n yum-plugin-refresh-updatesd
209 Summary:        Tell yum-updatesd to check for updates when yum exits
210 Summary(pl.UTF-8):      Sprawdzanie uaktualnień przez yum-updatesd przy zakończeniu yuma
211 Group:          Base
212 Requires:       yum >= 3.0
213 Requires:       yum-updatesd
214 Obsoletes:      yum-refresh-updatesd
215
216 %description -n yum-plugin-refresh-updatesd
217 yum-plugin-refresh-updatesd tells yum-updatesd to check for updates
218 when yum exits. This way, if you run 'yum update' and install all
219 available updates, puplet will almost instantly update itself to
220 reflect this.
221
222 %description -n yum-plugin-refresh-updatesd -l pl.UTF-8
223 yum-plugin-refresh-updatesd przekazuje yum-updatesd, aby sprawdzał
224 uaktualnienia kiedy yum kończy pracę. W ten sposób po uruchomieniu
225 "yum update" i zainstalowaniu wszystkich dostępnych uaktualnień puplet
226 prawie natychmiast uaktualni swoje informacje.
227
228 %package -n yum-plugin-merge-conf
229 Summary:        Yum plugin to merge configuration changes when installing packages
230 Summary(pl.UTF-8):      Wtyczka yuma do włączania zmian konfiguracji przy instalacji pakietów
231 Group:          Base
232 Requires:       yum >= 3.0
233 Obsoletes:      yum-merge-conf
234
235 %description -n yum-plugin-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
240 %description -n yum-plugin-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
245 %package -n yum-plugin-security
246 Summary:        Yum plugin to enable security filters
247 Summary(pl.UTF-8):      Wtyczka yuma włączająca filtry bezpieczeństwa
248 Group:          Base
249 Requires:       yum >= 3.2.18
250 Obsoletes:      yum-security
251
252 %description -n yum-plugin-security
253 This plugin adds the options --security, --cve, --bz and --advisory
254 flags to yum and the list-security and info-security commands. The
255 options make it possible to limit list/upgrade of packages to specific
256 security relevant ones. The commands give you the security
257 information.
258
259 %description -n yum-plugin-security -l pl.UTF-8
260 Ta wtyczka dodaje do yuma flagi --security, --cve, --bz i --advisory
261 oraz polecenia list-security i info-security. Opcje te umożliwiają
262 ograniczenie listy/uaktualnień pakietów do związanych z
263 bezpieczeństwem w określony sposób. Polecenia podają informacje
264 związane z bezpieczeństwem.
265
266 %package -n yum-protect-packages
267 Summary:        Yum plugin to prevents Yum from removing itself and other protected packages
268 Summary(pl.UTF-8):      Wtyczka yuma zapobiegająca usunięciu siebie lub innych chronionych pakietów
269 Group:          Base
270 Requires:       yum >= 3.0
271
272 %description -n yum-protect-packages
273 This plugin prevents Yum from removing itself and other protected
274 packages. By default, yum is the only package protected, but by
275 extension this automatically protects everything on which yum depends
276 (rpm, python, glibc, and so on).Therefore, the plugin functions well
277 even without compiling careful lists of all important packages.
278
279 %description -n yum-protect-packages -l pl.UTF-8
280 Ta wtyczka zapobiega usunięciu przez yuma siebie samego lub innych
281 chronionych pakietów. Domyślnie jedynym chronionym pakietem jest yum,
282 ale poprzez rozszerzenie automatycznie zabezpiecza to wszystkie
283 pakiety będące zależnościami yuma (rpm, python, glibc itd.). W ten
284 sposób wtyczka funkcjonuje dobrze nawet bez troskliwego tworzenia list
285 wszystkich ważnych pakietów.
286
287 %package -n yum-basearchonly
288 Summary:        Yum plugin to let Yum install only basearch packages
289 Summary(pl.UTF-8):      Wtyczka yuma pozwalająca instalować tylko pakiety basearch
290 Group:          Base
291 Requires:       yum >= 3.0
292
293 %description -n yum-basearchonly
294 This plugin makes Yum only install basearch packages on multiarch
295 systems. If you type 'yum install foo' on a x68_64 system, only
296 'foo-x.y.x86_64.rpm' is installed. If you want to install the
297 foo-x.y.i386.rpm, you have to type 'yum install foo.i386'. The plugin
298 only works with 'yum install'.
299
300 %description -n yum-basearchonly -l pl.UTF-8
301 Ta wtyczka powoduje, że yum instaluje tylko pakiety basearch na
302 systemach multiarch. Po wpisaniu "yum install foo" na systemie x86_64
303 zostanie zainstalowany tylko "foo-x.y.x86_64.rpm. Aby zainstalować
304 foo-x.y.i386.rpm, trzeba wpisać "yum install foo.i386". Wtyczka działa
305 tylko z "yum install".
306
307 %package -n yum-plugin-upgrade-helper
308 Summary:        Yum plugin to help upgrades to the next distribution version
309 Summary(pl.UTF-8):      Wtyczka yuma pomagająca przy uaktualnianiu do kolejnej wersji dystrybucji
310 Group:          Base
311 Requires:       yum >= 3.0
312 Obsoletes:      yum-upgrade-helper
313
314 %description -n yum-plugin-upgrade-helper
315 This plugin allows yum to erase specific packages on install/update
316 based on an additional metadata file in repositories. It is used to
317 simplify distribution upgrade hangups.
318
319 %description -n yum-plugin-upgrade-helper -l pl.UTF-8
320 Ta wtyczka pozwala yumowi usunąć określone pakiety przy instalacji lub
321 uaktualnianiu w oparciu o dodatkowe pliki metadanych w repozytoriach.
322 Służy do uproszczenia uaktualnień wersji dystrybucji.
323
324 %package -n yum-plugin-aliases
325 Summary:        Yum plugin to enable aliases filters
326 Summary(pl.UTF-8):      Wtyczka yuma włączająca filtry aliasów
327 Group:          Base
328 # Requires args_hook
329 Requires:       yum >= 3.2.23
330 Obsoletes:      yum-aliases
331
332 %description -n yum-plugin-aliases
333 This plugin adds the command alias, and parses the aliases config.
334 file to enable aliases.
335
336 %description -n yum-plugin-aliases -l pl.UTF-8
337 Ta wtyczka dodaje polecenie alias i analizuje konfigurację aliasów w
338 celu włączenia aliasów.
339
340 %package -n yum-plugin-list-data
341 Summary:        Yum plugin to list aggregate package data
342 Summary(pl.UTF-8):      Wtyczka yuma wypisująca zagregowane dane pakietów
343 Group:          Base
344 Requires:       yum >= 3.0.5
345 Obsoletes:      yum-list-data
346
347 %description -n yum-plugin-list-data
348 This plugin adds the commands list- vendors, groups, packagers,
349 licenses, arches, committers, buildhosts, baseurls, package-sizes,
350 archive-sizes and installed-sizes.
351
352 %description -n yum-plugin-list-data -l pl.UTF-8
353 Ta wtyczka dodaje polecenia list- vendors, groups, packagers,
354 licenses, arches, committers, buildhosts, baseurls, package-sizes,
355 archive-sizes i installed-sizes.
356
357 %package -n yum-plugin-filter-data
358 Summary:        Yum plugin to list filter based on package data
359 Summary(pl.UTF-8):      Wtyczka yuma dodająca filtry oparte na danych pakietu
360 Group:          Base
361 Requires:       yum >= 3.2.17
362 Obsoletes:      yum-filter-data
363
364 %description -n yum-plugin-filter-data
365 This plugin adds the options --filter- vendors, groups, packagers,
366 licenses, arches, committers, buildhosts, baseurls, package-sizes,
367 archive-sizes and installed-sizes. Note that each package must match
368 at least one pattern/range in each category, if any were specified.
369
370 %description -n yum-plugin-filter-data -l pl.UTF-8
371 Ta wtyczka dodaje opcje --filter- vendors, groups, packagers,
372 licenses, arches, committers, buildhosts, baseurls, package-sizes,
373 archive-sizes i installed-sizes. Każdy pakiet musi pasować do
374 przynajmniej jednego wzorca/zakresu w każdej wybranej kategorii.
375
376 %package -n yum-plugin-tmprepo
377 Summary:        Yum plugin to add temporary repositories
378 Summary(pl.UTF-8):      Wtyczka yuma dodająca repozytoria tymczasowe
379 Group:          Base
380 Requires:       createrepo
381 Requires:       yum >= 3.2.11
382 Obsoletes:      yum-tmprepo
383
384 %description -n yum-plugin-tmprepo
385 This plugin adds the option --tmprepo which takes a URL to a .repo
386 file downloads it and enables it for a single run. This plugin tries
387 to ensure that temporary repositories are safe to use, by default, by
388 not allowing gpg checking to be disabled.
389
390 %description -n yum-plugin-tmprepo -l pl.UTF-8
391 Ta wtyczka dodaje opcję --tmprepo przyjmującą URL do pliku .repo i
392 włączająca go dla jednego uruchomienia. Wtyczka próbuje zapewnić
393 bezpieczne użycie repozytoriów tymczasowych domyślnie nie pozwalając
394 na wyłączenie sprawdzania gpg.
395
396 %package -n yum-plugin-verify
397 Summary:        Yum plugin to add verify command, and options
398 Summary(pl.UTF-8):      Wtyczka yuma dodająca polecenie i opcje weryfikacji
399 Group:          Base
400 Requires:       yum >= 3.2.12
401 Obsoletes:      yum-verify
402
403 %description -n yum-plugin-verify
404 This plugin adds the commands verify, verify-all and verify-rpm. There
405 are also a couple of options. This command works like rpm -V, to
406 verify your installation.
407
408 %description -n yum-plugin-verify -l pl.UTF-8
409 Ta wtyczka dodaje polecenia verify, verify-all i verify-rpm, a także
410 kilka opcji. Działa podobnie jak rpm -V, weryfikując instalację.
411
412 %package -n yum-plugin-keys
413 Summary:        Yum plugin to deal with signing keys
414 Group:          Base
415 Requires:       yum >= 3.2.19
416
417 %description -n yum-plugin-keys
418 This plugin adds the commands keys, keys-info, keys-data and
419 keys-remove. They allow you to query and remove signing keys.
420
421 %package -n yum-plugin-remove-with-leaves
422 Summary:        Yum plugin to remove dependencies which are no longer used because of a removal
423 Group:          Base
424 Requires:       yum >= 3.2.19
425
426 %description -n yum-plugin-remove-with-leaves
427 This plugin removes any unused dependencies that were brought in by an
428 install but would not normally be removed. It helps to keep a system
429 clean of unused libraries and packages.
430
431 %package -n yum-plugin-post-transaction-actions
432 Summary:        Yum plugin to run arbitrary commands when certain pkgs are acted on
433 Group:          Base
434 Requires:       yum >= 3.2.19
435
436 %description -n yum-plugin-post-transaction-actions
437 This plugin allows the user to run arbitrary actions immediately
438 following a transaction when specified packages are changed.
439
440 %package -n yum-NetworkManager-dispatcher
441 Summary:        NetworkManager script which tells yum to check it's cache on network change
442 Group:          Base
443 Requires:       yum >= 3.2.17
444
445 %description -n yum-NetworkManager-dispatcher
446 This NetworkManager "dispatch script" forces yum to check its cache
447 if/when a new network connection happens in NetworkManager. Note that
448 currently there is no checking of previous data, so if your WiFi keeps
449 going up and down (or you suspend/resume a lot) yum will recheck its
450 cached data a lot.
451
452 %package -n yum-plugin-rpm-warm-cache
453 Summary:        Yum plugin to access the rpmdb files early to warm up access to the db
454 Group:          Base
455 Requires:       yum >= 3.2.19
456
457 %description -n yum-plugin-rpm-warm-cache
458 This plugin reads the rpmdb files into the system cache before
459 accessing the rpmdb directly. In some cases this should speed up
460 access to rpmdb information
461
462 # Works by searching for *-debuginfo ... so it shouldn't trigger on
463 itself.
464 %package -n yum-plugin-auto-update-debug-info
465 Summary:        Yum plugin to enable automatic updates to installed debuginfo packages
466 Group:          Base
467 Requires:       yum >= 3.2.19
468
469 %description -n yum-plugin-auto-update-debug-info
470 This plugin looks to see if any debuginfo packages are installed, and
471 if there are it enables all debuginfo repositories that are "children"
472 of enabled repositories.
473
474 %package -n yum-plugin-show-leaves
475 Summary:        Yum plugin which shows newly installed leaf packages
476 Group:          Base
477 Requires:       yum >= 3.2.23
478
479 %description -n yum-plugin-show-leaves
480 Yum plugin which shows newly installed leaf packages and packages that
481 became leaves after a transaction
482
483 %package -n yum-plugin-local
484 Summary:        Yum plugin to automatically manage a local repo. of downloaded packages
485 Group:          Base
486 # Who the hell knows what version:)
487 Requires:       createrepo
488 Requires:       yum >= 3.2.22
489
490 %description -n yum-plugin-local
491 When this plugin is installed it will automatically copy all
492 downloaded packages to a repository on the local filesystem, and
493 (re)build that repository. This means that anything you've downloaded
494 will always exist, even if the original repo. removes it (and can
495 thus. be reinstalled/downgraded/etc.).
496
497 %package -n yum-plugin-fs-snapshot
498 Summary:        Yum plugin to automatically snapshot your filesystems during updates
499 Group:          Base
500 Requires:       yum >= 3.2.22
501
502 %description -n yum-plugin-fs-snapshot
503 When this plugin is installed it will automatically snapshot any
504 filesystem that is touched by the packages in a yum update or yum
505 remove.
506
507 %package -n yum-plugin-ps
508 Summary:        Yum plugin to look at processes, with respect to packages
509 Group:          Base
510 Requires:       yum >= 3.2.27
511
512 %description -n yum-plugin-ps
513 When this plugin is installed it adds the yum command "ps", which
514 allows you to see which running processes are accociated with which
515 packages (and if they need rebooting, or have updates, etc.)
516
517 %package -n yum-plugin-puppetverify
518 Summary:        Yum plugin to add puppet checksums to verify data
519 Group:          Base
520 Requires:       puppet
521 Requires:       python-PyYAML >= 3.09
522 Requires:       yum >= 3.2.12
523
524 %description -n yum-plugin-puppetverify
525 Supplies checksums for files in packages from puppet's state file.
526
527 %package -n bash-completion-%{name}
528 Summary:        bash-completion for Yum Utils
529 Summary(pl.UTF-8):      bashowe uzupełnianie nazw dla Yum Utils
530 Group:          Applications/Shells
531 Requires:       %{name}
532 Requires:       bash-completion
533
534 %description -n bash-completion-%{name}
535 bash-completion for Yum Utils.
536
537 %description -n bash-completion-%{name} -l pl.UTF-8
538 bashowe uzupełnianie nazw dla Yum Utils.
539
540 %prep
541 %setup -q
542
543 mv plugins/README README.plugins
544
545 %build
546 %{__make}
547
548 %install
549 rm -rf $RPM_BUILD_ROOT
550 %{__make} install \
551         PYLIBDIR=%{py_scriptdir} \
552         DESTDIR=$RPM_BUILD_ROOT
553 %{__make} -C updateonboot install \
554         DESTDIR=$RPM_BUILD_ROOT
555
556 # Plugins to install
557 plugins="
558 changelog
559 fastestmirror
560 protectbase
561 versionlock
562 tsflags
563 kernel-module
564 downloadonly
565 allowdowngrade
566 priorities
567 refresh-updatesd
568 merge-conf
569 security
570 basearchonly
571 upgrade-helper
572 aliases
573 list-data
574 filter-data
575 tmprepo
576 verify
577
578 keys
579 remove-with-leaves
580 post-transaction-actions
581 rpm-warm-cache
582 auto-update-debuginfo
583 show-leaves
584 local
585 fs-snapshot
586 ps
587 puppetverify
588 "
589
590 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/yum/{pluginconf.d,post-actions},%{_libexecdir}}
591
592 cd plugins
593 for plug in $plugins; do
594         cp -p $plug/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d
595         cp -p $plug/*.py $RPM_BUILD_ROOT%{_libexecdir}
596 done
597
598 cp -p aliases/aliases $RPM_BUILD_ROOT%{_sysconfdir}/yum/aliases.conf
599 cp -p versionlock/versionlock.list $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d
600
601 # need for for the ghost in files section of yum-plugin-local
602 install -d $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
603 touch $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/_local.repo
604
605 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_libexecdir}/pld-kernel.py
606 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d/pld-kernel.conf
607
608 %py_postclean
609
610 %clean
611 rm -rf $RPM_BUILD_ROOT
612
613 %post -n yum-updateonboot
614 /sbin/chkconfig --add yum-updateonboot
615
616 %preun -n yum-updateonboot
617 if [ "$1" = 0 ]; then
618         %service yum-updateonboot stop
619         /sbin/chkconfig --del yum-updateonboot
620 fi
621
622 %files
623 %defattr(644,root,root,755)
624 %doc ChangeLog README README.plugins TODO
625 %doc yum-util-cli-template
626 %attr(755,root,root) %{_bindir}/debuginfo-install
627 %attr(755,root,root) %{_bindir}/find-repos-of-install
628 %attr(755,root,root) %{_bindir}/needs-restarting
629 %attr(755,root,root) %{_bindir}/package-cleanup
630 %attr(755,root,root) %{_bindir}/repo-graph
631 %attr(755,root,root) %{_bindir}/repo-rss
632 %attr(755,root,root) %{_bindir}/repoclosure
633 %attr(755,root,root) %{_bindir}/repodiff
634 %attr(755,root,root) %{_bindir}/repomanage
635 %attr(755,root,root) %{_bindir}/repoquery
636 %attr(755,root,root) %{_bindir}/reposync
637 %attr(755,root,root) %{_bindir}/repotrack
638 %attr(755,root,root) %{_bindir}/show-changed-rco
639 %attr(755,root,root) %{_bindir}/show-installed
640 %attr(755,root,root) %{_bindir}/verifytree
641 %attr(755,root,root) %{_bindir}/yum-builddep
642 %attr(755,root,root) %{_bindir}/yum-config-manager
643 %attr(755,root,root) %{_bindir}/yum-debug-dump
644 %attr(755,root,root) %{_bindir}/yum-debug-restore
645 %attr(755,root,root) %{_bindir}/yum-groups-manager
646 %attr(755,root,root) %{_bindir}/yumdownloader
647 %attr(755,root,root) %{_sbindir}/yum-complete-transaction
648 %attr(755,root,root) %{_sbindir}/yumdb
649 %dir %{_libexecdir}
650 %dir %{py_sitescriptdir}/yumutils
651 %{py_sitescriptdir}/yumutils/*.py[co]
652 %{_mandir}/man1/debuginfo-install.1*
653 %{_mandir}/man1/package-cleanup.1.*
654 %{_mandir}/man1/repo-rss.1.*
655 %{_mandir}/man1/repodiff.1*
656 %{_mandir}/man1/repoquery.1.*
657 %{_mandir}/man1/reposync.1.*
658 %{_mandir}/man1/show-changed-rco.1*
659 %{_mandir}/man1/show-installed.1*
660 %{_mandir}/man1/yum-aliases.1*
661 %{_mandir}/man1/yum-builddep.1.*
662 %{_mandir}/man1/yum-debug-dump.1*
663 %{_mandir}/man1/yum-fs-snapshot.1*
664 %{_mandir}/man1/yum-groups-manager.1*
665 %{_mandir}/man1/yum-utils.1.*
666 %{_mandir}/man1/yum-versionlock.1*
667 %{_mandir}/man1/yumdownloader.1.*
668 %{_mandir}/man5/yum-fs-snapshot.conf.5*
669 %{_mandir}/man5/yum-versionlock.conf.5*
670 %{_mandir}/man8/yum-complete-transaction.8.*
671 %{_mandir}/man8/yumdb.8*
672
673 %files -n yum-updateonboot
674 %defattr(644,root,root,755)
675 %doc updateonboot/README
676 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/yum-updateonboot
677 %attr(754,root,root) /etc/rc.d/init.d/yum-updateonboot
678
679 %files -n yum-plugin-changelog
680 %defattr(644,root,root,755)
681 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/changelog.conf
682 %{_libexecdir}/changelog.*
683 %{_mandir}/man1/yum-changelog.1.*
684 %{_mandir}/man5/yum-changelog.conf.5.*
685
686 %files -n yum-plugin-fastestmirror
687 %defattr(644,root,root,755)
688 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/fastestmirror.conf
689 %{_libexecdir}/fastestmirror.*
690
691 %files -n yum-plugin-protectbase
692 %defattr(644,root,root,755)
693 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/protectbase.conf
694 %{_libexecdir}/protectbase.*
695
696 %files -n yum-plugin-versionlock
697 %defattr(644,root,root,755)
698 %doc plugins/versionlock/README
699 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/versionlock.conf
700 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/versionlock.list
701 %{_libexecdir}/versionlock.*
702
703 %files -n yum-plugin-tsflags
704 %defattr(644,root,root,755)
705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/tsflags.conf
706 %{_libexecdir}/tsflags.*
707
708 # TODO: remove in pld? removed in fedora
709 %files -n yum-kernel-module
710 %defattr(644,root,root,755)
711 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/kernel-module.conf
712 %{_libexecdir}/kernel-module.*
713
714 %files -n yum-plugin-downloadonly
715 %defattr(644,root,root,755)
716 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/downloadonly.conf
717 %{_libexecdir}/downloadonly.*
718
719 # TODO: remove like fedora?
720 %files -n yum-allowdowngrade
721 %defattr(644,root,root,755)
722 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/allowdowngrade.conf
723 %{_libexecdir}/allowdowngrade.*
724
725 %files -n yum-plugin-pld-kernel
726 %defattr(644,root,root,755)
727 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/pld-kernel.conf
728 %{_libexecdir}/pld-kernel.*
729
730 %files -n yum-plugin-priorities
731 %defattr(644,root,root,755)
732 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/priorities.conf
733 %{_libexecdir}/priorities.*
734
735 %files -n yum-plugin-refresh-updatesd
736 %defattr(644,root,root,755)
737 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/refresh-updatesd.conf
738 %{_libexecdir}/refresh-updatesd.*
739
740 %files -n yum-plugin-merge-conf
741 %defattr(644,root,root,755)
742 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/merge-conf.conf
743 %{_libexecdir}/merge-conf.*
744
745 %files -n yum-plugin-security
746 %defattr(644,root,root,755)
747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/security.conf
748 %{_libexecdir}/security.*
749 %{_mandir}/man8/yum-security.8.*
750
751 %if 0
752 # TODO: renamed to protectbase?
753 %files -n yum-protect-packages
754 %defattr(644,root,root,755)
755 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/protect-packages.conf
756 %{_libexecdir}/protect-packages.*
757 %endif
758
759 # TODO: rename to basearchonly like fedora?
760 %files -n yum-basearchonly
761 %defattr(644,root,root,755)
762 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/basearchonly.conf
763 %{_libexecdir}/basearchonly.*
764
765 %files -n yum-plugin-upgrade-helper
766 %defattr(644,root,root,755)
767 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/upgrade-helper.conf
768 %{_libexecdir}/upgrade-helper.*
769
770 %files -n yum-plugin-aliases
771 %defattr(644,root,root,755)
772 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/aliases.conf
773 %config(noreplace) %{_sysconfdir}/yum/aliases.conf
774 %{_libexecdir}/aliases.*
775
776 %files -n yum-plugin-list-data
777 %defattr(644,root,root,755)
778 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/list-data.conf
779 %{_libexecdir}/list-data.*
780 %{_mandir}/man1/yum-list-data.1.*
781
782 %files -n yum-plugin-filter-data
783 %defattr(644,root,root,755)
784 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/filter-data.conf
785 %{_libexecdir}/filter-data.*
786 %{_mandir}/man1/yum-filter-data.1.*
787
788 %files -n yum-plugin-tmprepo
789 %defattr(644,root,root,755)
790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/tmprepo.conf
791 %{_libexecdir}/tmprepo.*
792
793 %files -n yum-plugin-verify
794 %defattr(644,root,root,755)
795 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/verify.conf
796 %{_libexecdir}/verify.*
797 %{_mandir}/man1/yum-verify.1.*
798
799 %files -n yum-plugin-keys
800 %defattr(644,root,root,755)
801 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/keys.conf
802 %{_libexecdir}/keys.*
803
804 %files -n yum-NetworkManager-dispatcher
805 %defattr(644,root,root,755)
806 %{_sysconfdir}/NetworkManager/dispatcher.d/yum-NetworkManager-dispatcher
807
808 %files -n yum-plugin-remove-with-leaves
809 %defattr(644,root,root,755)
810 %{_libexecdir}/remove-with-leaves.*
811 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/remove-with-leaves.conf
812
813 %files -n yum-plugin-post-transaction-actions
814 %defattr(644,root,root,755)
815 %{_libexecdir}/post-transaction-actions.*
816 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/post-transaction-actions.conf
817 %doc plugins/post-transaction-actions/sample.action
818 # Default *.action file dropping dir.
819 %dir %{_sysconfdir}/yum/post-actions
820
821 %files -n yum-plugin-rpm-warm-cache
822 %defattr(644,root,root,755)
823 %{_libexecdir}/rpm-warm-cache.*
824 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/rpm-warm-cache.conf
825
826 %files -n yum-plugin-auto-update-debug-info
827 %defattr(644,root,root,755)
828 %{_libexecdir}/auto-update-debuginfo.*
829 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/auto-update-debuginfo.conf
830
831 %files -n yum-plugin-show-leaves
832 %defattr(644,root,root,755)
833 %{_libexecdir}/show-leaves.*
834 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/show-leaves.conf
835
836 %files -n yum-plugin-local
837 %defattr(644,root,root,755)
838 %ghost %{_sysconfdir}/yum.repos.d/_local.repo
839 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/local.conf
840 %{_libexecdir}/local.*
841
842 %files -n yum-plugin-fs-snapshot
843 %defattr(644,root,root,755)
844 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/fs-snapshot.conf
845 %{_libexecdir}/fs-snapshot.*
846 %{_mandir}/man1/yum-fs-snapshot.1.*
847 %{_mandir}/man5/yum-fs-snapshot.conf.5.*
848
849 %files -n yum-plugin-ps
850 %defattr(644,root,root,755)
851 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/ps.conf
852 %{_libexecdir}/ps.*
853
854 %files -n yum-plugin-puppetverify
855 %defattr(644,root,root,755)
856 %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/puppetverify.conf
857 %{_libexecdir}/puppetverify.*
858
859 %files -n bash-completion-%{name}
860 %defattr(644,root,root,755)
861 /etc/bash_completion.d/*
This page took 1.235509 seconds and 3 git commands to generate.