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