]> git.pld-linux.org Git - packages/yum-utils.git/blob - yum-utils.spec
- fix deps
[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:        3
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 Requires:       yum-utils-translations = %{version}-%{release}
331 Obsoletes:      yum-aliases
332
333 %description -n yum-plugin-aliases
334 This plugin adds the command alias, and parses the aliases config.
335 file to enable aliases.
336
337 %description -n yum-plugin-aliases -l pl.UTF-8
338 Ta wtyczka dodaje polecenie alias i analizuje konfigurację aliasów w
339 celu włączenia aliasów.
340
341 %package -n yum-plugin-list-data
342 Summary:        Yum plugin to list aggregate package data
343 Summary(pl.UTF-8):      Wtyczka yuma wypisująca zagregowane dane pakietów
344 Group:          Base
345 Requires:       yum >= 3.0.5
346 Obsoletes:      yum-list-data
347
348 %description -n yum-plugin-list-data
349 This plugin adds the commands list- vendors, groups, packagers,
350 licenses, arches, committers, buildhosts, baseurls, package-sizes,
351 archive-sizes and installed-sizes.
352
353 %description -n yum-plugin-list-data -l pl.UTF-8
354 Ta wtyczka dodaje polecenia list- vendors, groups, packagers,
355 licenses, arches, committers, buildhosts, baseurls, package-sizes,
356 archive-sizes i installed-sizes.
357
358 %package -n yum-plugin-filter-data
359 Summary:        Yum plugin to list filter based on package data
360 Summary(pl.UTF-8):      Wtyczka yuma dodająca filtry oparte na danych pakietu
361 Group:          Base
362 Requires:       yum >= 3.2.17
363 Obsoletes:      yum-filter-data
364
365 %description -n yum-plugin-filter-data
366 This plugin adds the options --filter- vendors, groups, packagers,
367 licenses, arches, committers, buildhosts, baseurls, package-sizes,
368 archive-sizes and installed-sizes. Note that each package must match
369 at least one pattern/range in each category, if any were specified.
370
371 %description -n yum-plugin-filter-data -l pl.UTF-8
372 Ta wtyczka dodaje opcje --filter- vendors, groups, packagers,
373 licenses, arches, committers, buildhosts, baseurls, package-sizes,
374 archive-sizes i installed-sizes. Każdy pakiet musi pasować do
375 przynajmniej jednego wzorca/zakresu w każdej wybranej kategorii.
376
377 %package -n yum-plugin-tmprepo
378 Summary:        Yum plugin to add temporary repositories
379 Summary(pl.UTF-8):      Wtyczka yuma dodająca repozytoria tymczasowe
380 Group:          Base
381 Requires:       createrepo
382 Requires:       yum >= 3.2.11
383 Obsoletes:      yum-tmprepo
384
385 %description -n yum-plugin-tmprepo
386 This plugin adds the option --tmprepo which takes a URL to a .repo
387 file downloads it and enables it for a single run. This plugin tries
388 to ensure that temporary repositories are safe to use, by default, by
389 not allowing gpg checking to be disabled.
390
391 %description -n yum-plugin-tmprepo -l pl.UTF-8
392 Ta wtyczka dodaje opcję --tmprepo przyjmującą URL do pliku .repo i
393 włączająca go dla jednego uruchomienia. Wtyczka próbuje zapewnić
394 bezpieczne użycie repozytoriów tymczasowych domyślnie nie pozwalając
395 na wyłączenie sprawdzania gpg.
396
397 %package -n yum-plugin-verify
398 Summary:        Yum plugin to add verify command, and options
399 Summary(pl.UTF-8):      Wtyczka yuma dodająca polecenie i opcje weryfikacji
400 Group:          Base
401 Requires:       yum >= 3.2.12
402 Obsoletes:      yum-verify
403
404 %description -n yum-plugin-verify
405 This plugin adds the commands verify, verify-all and verify-rpm. There
406 are also a couple of options. This command works like rpm -V, to
407 verify your installation.
408
409 %description -n yum-plugin-verify -l pl.UTF-8
410 Ta wtyczka dodaje polecenia verify, verify-all i verify-rpm, a także
411 kilka opcji. Działa podobnie jak rpm -V, weryfikując instalację.
412
413 %package -n yum-plugin-keys
414 Summary:        Yum plugin to deal with signing keys
415 Group:          Base
416 Requires:       yum >= 3.2.19
417
418 %description -n yum-plugin-keys
419 This plugin adds the commands keys, keys-info, keys-data and
420 keys-remove. They allow you to query and remove signing keys.
421
422 %package -n yum-plugin-remove-with-leaves
423 Summary:        Yum plugin to remove dependencies which are no longer used because of a removal
424 Group:          Base
425 Requires:       yum >= 3.2.19
426
427 %description -n yum-plugin-remove-with-leaves
428 This plugin removes any unused dependencies that were brought in by an
429 install but would not normally be removed. It helps to keep a system
430 clean of unused libraries and packages.
431
432 %package -n yum-plugin-post-transaction-actions
433 Summary:        Yum plugin to run arbitrary commands when certain pkgs are acted on
434 Group:          Base
435 Requires:       yum >= 3.2.19
436
437 %description -n yum-plugin-post-transaction-actions
438 This plugin allows the user to run arbitrary actions immediately
439 following a transaction when specified packages are changed.
440
441 %package -n yum-NetworkManager-dispatcher
442 Summary:        NetworkManager script which tells yum to check it's cache on network change
443 Group:          Base
444 Requires:       yum >= 3.2.17
445
446 %description -n yum-NetworkManager-dispatcher
447 This NetworkManager "dispatch script" forces yum to check its cache
448 if/when a new network connection happens in NetworkManager. Note that
449 currently there is no checking of previous data, so if your WiFi keeps
450 going up and down (or you suspend/resume a lot) yum will recheck its
451 cached data a lot.
452
453 %package -n yum-plugin-rpm-warm-cache
454 Summary:        Yum plugin to access the rpmdb files early to warm up access to the db
455 Group:          Base
456 Requires:       yum >= 3.2.19
457
458 %description -n yum-plugin-rpm-warm-cache
459 This plugin reads the rpmdb files into the system cache before
460 accessing the rpmdb directly. In some cases this should speed up
461 access to rpmdb information
462
463 # Works by searching for *-debuginfo ... so it shouldn't trigger on
464 itself.
465 %package -n yum-plugin-auto-update-debug-info
466 Summary:        Yum plugin to enable automatic updates to installed debuginfo packages
467 Group:          Base
468 Requires:       yum >= 3.2.19
469
470 %description -n yum-plugin-auto-update-debug-info
471 This plugin looks to see if any debuginfo packages are installed, and
472 if there are it enables all debuginfo repositories that are "children"
473 of enabled repositories.
474
475 %package -n yum-plugin-show-leaves
476 Summary:        Yum plugin which shows newly installed leaf packages
477 Group:          Base
478 Requires:       yum >= 3.2.23
479
480 %description -n yum-plugin-show-leaves
481 Yum plugin which shows newly installed leaf packages and packages that
482 became leaves after a transaction
483
484 %package -n yum-plugin-local
485 Summary:        Yum plugin to automatically manage a local repo. of downloaded packages
486 Group:          Base
487 # Who the hell knows what version:)
488 Requires:       createrepo
489 Requires:       yum >= 3.2.22
490
491 %description -n yum-plugin-local
492 When this plugin is installed it will automatically copy all
493 downloaded packages to a repository on the local filesystem, and
494 (re)build that repository. This means that anything you've downloaded
495 will always exist, even if the original repo. removes it (and can
496 thus. be reinstalled/downgraded/etc.).
497
498 %package -n yum-plugin-fs-snapshot
499 Summary:        Yum plugin to automatically snapshot your filesystems during updates
500 Group:          Base
501 Requires:       yum >= 3.2.22
502
503 %description -n yum-plugin-fs-snapshot
504 When this plugin is installed it will automatically snapshot any
505 filesystem that is touched by the packages in a yum update or yum
506 remove.
507
508 %package -n yum-plugin-ps
509 Summary:        Yum plugin to look at processes, with respect to packages
510 Group:          Base
511 Requires:       yum >= 3.2.27
512
513 %description -n yum-plugin-ps
514 When this plugin is installed it adds the yum command "ps", which
515 allows you to see which running processes are accociated with which
516 packages (and if they need rebooting, or have updates, etc.)
517
518 %package -n yum-plugin-puppetverify
519 Summary:        Yum plugin to add puppet checksums to verify data
520 Group:          Base
521 Requires:       puppet
522 Requires:       python-PyYAML >= 3.09
523 Requires:       yum >= 3.2.12
524
525 %description -n yum-plugin-puppetverify
526 Supplies checksums for files in packages from puppet's state file.
527
528 %package -n bash-completion-%{name}
529 Summary:        bash-completion for Yum Utils
530 Summary(pl.UTF-8):      bashowe uzupełnianie nazw dla Yum Utils
531 Group:          Applications/Shells
532 Requires:       %{name}
533 Requires:       bash-completion
534
535 %description -n bash-completion-%{name}
536 bash-completion for Yum Utils.
537
538 %description -n bash-completion-%{name} -l pl.UTF-8
539 bashowe uzupełnianie nazw dla Yum Utils.
540
541 %prep
542 %setup -q
543
544 mv plugins/README README.plugins
545
546 %build
547 %{__make}
548
549 %install
550 rm -rf $RPM_BUILD_ROOT
551 %{__make} install \
552         PYLIBDIR=%{py_scriptdir} \
553         DESTDIR=$RPM_BUILD_ROOT
554 %{__make} -C updateonboot install \
555         DESTDIR=$RPM_BUILD_ROOT
556
557 # Plugins to install
558 plugins="
559 changelog
560 fastestmirror
561 protectbase
562 versionlock
563 tsflags
564 kernel-module
565 downloadonly
566 allowdowngrade
567 priorities
568 refresh-updatesd
569 merge-conf
570 security
571 basearchonly
572 upgrade-helper
573 aliases
574 list-data
575 filter-data
576 tmprepo
577 verify
578
579 keys
580 remove-with-leaves
581 post-transaction-actions
582 rpm-warm-cache
583 auto-update-debuginfo
584 show-leaves
585 local
586 fs-snapshot
587 ps
588 puppetverify
589 "
590
591 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/yum/{pluginconf.d,post-actions},%{_libexecdir}}
592
593 cd plugins
594 for plug in $plugins; do
595         cp -p $plug/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d
596         cp -p $plug/*.py $RPM_BUILD_ROOT%{_libexecdir}
597 done
598
599 cp -p aliases/aliases $RPM_BUILD_ROOT%{_sysconfdir}/yum/aliases.conf
600 cp -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
603 install -d $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
604 touch $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/_local.repo
605
606 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_libexecdir}/pld-kernel.py
607 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d/pld-kernel.conf
608
609 %py_postclean
610
611 %clean
612 rm -rf $RPM_BUILD_ROOT
613
614 %post -n yum-updateonboot
615 /sbin/chkconfig --add yum-updateonboot
616
617 %preun -n yum-updateonboot
618 if [ "$1" = 0 ]; then
619         %service yum-updateonboot stop
620         /sbin/chkconfig --del yum-updateonboot
621 fi
622
623 %files
624 %defattr(644,root,root,755)
625 %doc ChangeLog README README.plugins TODO
626 %doc yum-util-cli-template
627 %attr(755,root,root) %{_bindir}/debuginfo-install
628 %attr(755,root,root) %{_bindir}/find-repos-of-install
629 %attr(755,root,root) %{_bindir}/needs-restarting
630 %attr(755,root,root) %{_bindir}/package-cleanup
631 %attr(755,root,root) %{_bindir}/repo-graph
632 %attr(755,root,root) %{_bindir}/repo-rss
633 %attr(755,root,root) %{_bindir}/repoclosure
634 %attr(755,root,root) %{_bindir}/repodiff
635 %attr(755,root,root) %{_bindir}/repomanage
636 %attr(755,root,root) %{_bindir}/repoquery
637 %attr(755,root,root) %{_bindir}/reposync
638 %attr(755,root,root) %{_bindir}/repotrack
639 %attr(755,root,root) %{_bindir}/show-changed-rco
640 %attr(755,root,root) %{_bindir}/show-installed
641 %attr(755,root,root) %{_bindir}/verifytree
642 %attr(755,root,root) %{_bindir}/yum-builddep
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
647 %attr(755,root,root) %{_bindir}/yumdownloader
648 %attr(755,root,root) %{_sbindir}/yum-complete-transaction
649 %attr(755,root,root) %{_sbindir}/yumdb
650 %dir %{_libexecdir}
651 %dir %{py_sitescriptdir}/yumutils
652 %{py_sitescriptdir}/yumutils/*.py[co]
653 %{_mandir}/man1/debuginfo-install.1*
654 %{_mandir}/man1/package-cleanup.1.*
655 %{_mandir}/man1/repo-rss.1.*
656 %{_mandir}/man1/repodiff.1*
657 %{_mandir}/man1/repoquery.1.*
658 %{_mandir}/man1/reposync.1.*
659 %{_mandir}/man1/show-changed-rco.1*
660 %{_mandir}/man1/show-installed.1*
661 %{_mandir}/man1/yum-aliases.1*
662 %{_mandir}/man1/yum-builddep.1.*
663 %{_mandir}/man1/yum-debug-dump.1*
664 %{_mandir}/man1/yum-fs-snapshot.1*
665 %{_mandir}/man1/yum-groups-manager.1*
666 %{_mandir}/man1/yum-utils.1.*
667 %{_mandir}/man1/yum-versionlock.1*
668 %{_mandir}/man1/yumdownloader.1.*
669 %{_mandir}/man5/yum-fs-snapshot.conf.5*
670 %{_mandir}/man5/yum-versionlock.conf.5*
671 %{_mandir}/man8/yum-complete-transaction.8.*
672 %{_mandir}/man8/yumdb.8*
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
680 %files -n yum-plugin-changelog
681 %defattr(644,root,root,755)
682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/changelog.conf
683 %{_libexecdir}/changelog.*
684 %{_mandir}/man1/yum-changelog.1.*
685 %{_mandir}/man5/yum-changelog.conf.5.*
686
687 %files -n yum-plugin-fastestmirror
688 %defattr(644,root,root,755)
689 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/fastestmirror.conf
690 %{_libexecdir}/fastestmirror.*
691
692 %files -n yum-plugin-protectbase
693 %defattr(644,root,root,755)
694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/protectbase.conf
695 %{_libexecdir}/protectbase.*
696
697 %files -n yum-plugin-versionlock
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
702 %{_libexecdir}/versionlock.*
703
704 %files -n yum-plugin-tsflags
705 %defattr(644,root,root,755)
706 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/tsflags.conf
707 %{_libexecdir}/tsflags.*
708
709 # TODO: remove in pld? removed in fedora
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
713 %{_libexecdir}/kernel-module.*
714
715 %files -n yum-plugin-downloadonly
716 %defattr(644,root,root,755)
717 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/downloadonly.conf
718 %{_libexecdir}/downloadonly.*
719
720 # TODO: remove like fedora?
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
724 %{_libexecdir}/allowdowngrade.*
725
726 %files -n yum-plugin-pld-kernel
727 %defattr(644,root,root,755)
728 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/pld-kernel.conf
729 %{_libexecdir}/pld-kernel.*
730
731 %files -n yum-plugin-priorities
732 %defattr(644,root,root,755)
733 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/priorities.conf
734 %{_libexecdir}/priorities.*
735
736 %files -n yum-plugin-refresh-updatesd
737 %defattr(644,root,root,755)
738 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/refresh-updatesd.conf
739 %{_libexecdir}/refresh-updatesd.*
740
741 %files -n yum-plugin-merge-conf
742 %defattr(644,root,root,755)
743 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/merge-conf.conf
744 %{_libexecdir}/merge-conf.*
745
746 %files -n yum-plugin-security
747 %defattr(644,root,root,755)
748 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/security.conf
749 %{_libexecdir}/security.*
750 %{_mandir}/man8/yum-security.8.*
751
752 %if 0
753 # TODO: renamed to protectbase?
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
757 %{_libexecdir}/protect-packages.*
758 %endif
759
760 # TODO: rename to basearchonly like fedora?
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
764 %{_libexecdir}/basearchonly.*
765
766 %files -n yum-plugin-upgrade-helper
767 %defattr(644,root,root,755)
768 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/upgrade-helper.conf
769 %{_libexecdir}/upgrade-helper.*
770
771 %files -n yum-plugin-aliases
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
775 %{_libexecdir}/aliases.*
776
777 %files -n yum-plugin-list-data
778 %defattr(644,root,root,755)
779 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/list-data.conf
780 %{_libexecdir}/list-data.*
781 %{_mandir}/man1/yum-list-data.1.*
782
783 %files -n yum-plugin-filter-data
784 %defattr(644,root,root,755)
785 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/filter-data.conf
786 %{_libexecdir}/filter-data.*
787 %{_mandir}/man1/yum-filter-data.1.*
788
789 %files -n yum-plugin-tmprepo
790 %defattr(644,root,root,755)
791 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/tmprepo.conf
792 %{_libexecdir}/tmprepo.*
793
794 %files -n yum-plugin-verify
795 %defattr(644,root,root,755)
796 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/verify.conf
797 %{_libexecdir}/verify.*
798 %{_mandir}/man1/yum-verify.1.*
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.*
859
860 %files -n bash-completion-%{name}
861 %defattr(644,root,root,755)
862 /etc/bash_completion.d/*
This page took 0.159461 seconds and 3 git commands to generate.