1 Summary: A collection of utilities related to yum
2 Summary(pl.UTF-8): Zestaw narzędzi związanych z yumem
7 Group: Applications/System
8 Source0: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz
9 # Source0-md5: 29eedb17fd40b158c129c84dc865d889
10 URL: http://linux.duke.edu/yum/download/yum-utils/
11 BuildRequires: gettext-devel
12 BuildRequires: rpm-pythonprov
13 BuildRequires: rpmbuild(macros) >= 1.228
14 Requires: python >= 1:2.5
15 Requires: yum >= 3.1.1
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Yum-utils is a collection of utilities, plugins and examples related
21 to the yum package manager.
23 %description -l pl.UTF-8
24 yum-utils to zestaw narzędzi, wtyczek i przykładów związanych z
25 zarządcą pakietów yum.
27 %package -n yum-updateonboot
28 Summary: Run yum update on system boot
30 Requires(post): /sbin/chkconfig
31 Requires(pre): /sbin/chkconfig
35 %description -n yum-updateonboot
36 Runs yum update on system boot. This allows machines that have been
37 turned off for an extended amount of time to become secure
38 immediately, instead of waiting until the next early morning cron job.
40 %package -n yum-changelog
41 Summary: Yum plugin for viewing package changelogs before/after updating
45 %description -n yum-changelog
46 This plugin adds a command line option to allow viewing package
47 changelog deltas before or after updating packages.
49 %package -n yum-fastestmirror
50 Summary: Yum plugin which chooses fastest repository from a mirrorlist
54 %description -n yum-fastestmirror
55 This plugin sorts each repository's mirrorlist by connection speed
56 prior to downloading packages.
58 %package -n yum-protectbase
59 Summary: Yum plugin to protect packages from certain repositories
63 %description -n yum-protectbase
64 This plugin allows certain repositories to be protected. Packages in
65 the protected repositories can't be overridden by packages in
66 non-protected repositories even if the non-protected repo has a later
69 %package -n yum-versionlock
70 Summary: Yum plugin to lock specified packages from being updated
74 %description -n yum-versionlock
75 This plugin allows certain packages specified in a file to be
76 protected from being updated by newer versions.
78 %package -n yum-tsflags
79 Summary: Yum plugin to add tsflags by a commandline option
83 %description -n yum-tsflags
84 This plugin allows you to specify optional transaction flags on the
87 %package -n yum-kernel-module
88 Summary: Yum plugin to handle kernel-module-foo type of kernel module
92 %description -n yum-kernel-module
93 This plugin handle installation of kernel-module-foo type of kernel
94 modules when new version of kernels are installed.
97 %package -n yum-downloadonly
98 Summary: Yum plugin to add downloadonly command option
102 %description -n yum-downloadonly
103 This plugin adds a --downloadonly flag to yum so that yum will only
104 download the packages and not install/update them.
106 %package -n yum-allowdowngrade
107 Summary: Yum plugin to enable manual downgrading of packages
111 %description -n yum-allowdowngrade
112 This plugin adds a --allow-downgrade flag to yum to make it possible
113 to manually downgrade packages to specific versions.
115 %package -n yum-skip-broken
116 Summary: Yum plugin to handle skiping packages with dependency problems
120 %description -n yum-skip-broken
121 This plugin adds a --skip-broken to yum to make it possible to check
122 packages for dependency problems and skip the one with problems.
124 %package -n yum-priorities
125 Summary: plugin to give priorities to packages from different repos
129 %description -n yum-priorities
130 This plugin allows repositories to have different priorities. Packages
131 in a repository with a lower priority can't be overridden by packages
132 from a repository with a higher priority even if repo has a later
135 %package -n yum-refresh-updatesd
136 Summary: Tell yum-updatesd to check for updates when yum exits
139 Requires: yum-updatesd
141 %description -n yum-refresh-updatesd
142 yum-refresh-updatesd tells yum-updatesd to check for updates when yum
143 exits. This way, if you run 'yum update' and install all available
144 updates, puplet will almost instantly update itself to reflect this.
146 %package -n yum-merge-conf
147 Summary: Yum plugin to merge configuration changes when installing packages
151 %description -n yum-merge-conf
152 This yum plugin adds the "--merge-conf" command line option. With this
153 option, Yum will ask you what to do with config files which have
154 changed on updating a package.
156 %package -n yum-security
157 Summary: Yum plugin to enable security filters
159 Requires: yum >= 3.0.5
161 %description -n yum-security
162 This plugin adds the options --security, --cve, --bz and --advisory
163 flags to yum and the list-security and info-security commands. The
164 options make it possible to limit list/upgrade of packages to specific
165 security relevant ones. The commands give you the security
168 %package -n yum-protect-packages
169 Summary: Yum plugin to prevents Yum from removing itself and other protected packages
173 %description -n yum-protect-packages
174 this plugin prevents Yum from removing itself and other protected
175 packages. By default, yum is the only package protected, but by
176 extension this automatically protects everything on which yum depends
177 (rpm, python, glibc, and so on).Therefore, the plugin functions well
178 even without compiling careful lists of all important packages.
180 %package -n yum-basearchonly
181 Summary: Yum plugin to let Yum install only basearch packages
185 %description -n yum-basearchonly
186 this plugin makes Yum only install basearch packages on multiarch
187 systems. If you type 'yum install foo' on a x68_64 system, only
188 'foo-x.y.x86_46.rpm' is installed. If you want to install the
189 foo-x.y.i386.rpm, you have to type 'yum install foo.i386'. The plugin
190 only works with 'yum install'.
192 %package -n yum-upgrade-helper
193 Summary: Yum plugin to help upgrades to the next distribution version
197 %description -n yum-upgrade-helper
198 this plugin allows yum to erase specific packages on install/update
199 based on an additional metadata file in repositories. It is used to
200 simplify distribution upgrade hangups.
202 %package -n yum-aliases
203 Summary: Yum plugin to enable aliases filters
205 Requires: yum >= 3.0.5
207 %description -n yum-aliases
208 This plugin adds the command alias, and parses the aliases config.
209 file to enable aliases.
211 %package -n yum-list-data
212 Summary: Yum plugin to list aggregate package data
214 Requires: yum >= 3.0.5
216 %description -n yum-list-data
217 This plugin adds the commands list- vendors, groups, packagers,
218 licenses, arches, committers, buildhosts, baseurls, package-sizes,
219 archive-sizes and installed-sizes.
221 %package -n yum-filter-data
222 Summary: Yum plugin to list filter based on package data
224 Requires: yum >= 3.0.5
226 %description -n yum-filter-data
227 This plugin adds the options --filter- vendors, groups, packagers,
228 licenses, arches, committers, buildhosts, baseurls, package-sizes,
229 archive-sizes and installed-sizes. Note that each package must match
230 at least one pattern/range in each category, if any were specified.
232 %package -n yum-tmprepo
233 Summary: Yum plugin to add temporary repositories
235 Requires: yum >= 3.2.11
237 %description -n yum-tmprepo
238 This plugin adds the option --tmprepo which takes a url to a .repo
239 file downloads it and enables it for a single run. This plugin tries
240 to ensure that temporary repositories are safe to use, by default, by
241 not allowing gpg checking to be disabled.
243 %package -n yum-verify
244 Summary: Yum plugin to add verify command, and options
246 Requires: yum >= 3.2.12
248 %description -n yum-verify
249 This plugin adds the commands verify, verify-all and verify-rpm. There
250 are also a couple of options. This command works like rpm -V, to
251 verify your installation.
256 mv plugins/README README.plugins
262 rm -rf $RPM_BUILD_ROOT
264 %{__make} DESTDIR=$RPM_BUILD_ROOT install
265 %{__make} -C updateonboot DESTDIR=$RPM_BUILD_ROOT install
268 plugins="changelog fastestmirror protectbase versionlock tsflags kernel-module \
269 downloadonly allowdowngrade skip-broken priorities refresh-updatesd merge-conf \
270 security protect-packages basearchonly upgrade-helper aliases list-data filter-data tmprepo verify"
272 install -d $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT%{_datadir}/yum-plugins
275 for plug in $plugins; do
276 install -m 644 $plug/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d
277 install $plug/*.py $RPM_BUILD_ROOT%{_datadir}/yum-plugins
279 install aliases/aliases $RPM_BUILD_ROOT%{_sysconfdir}/yum/aliases.conf
280 install versionlock/versionlock.list $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d
285 rm -rf $RPM_BUILD_ROOT
287 %post -n yum-updateonboot
288 /sbin/chkconfig --add yum-updateonboot
290 %preun -n yum-updateonboot
292 %service yum-updateonboot stop
293 /sbin/chkconfig --del yum-updateonboot
297 %defattr(644,root,root,755)
298 %doc ChangeLog README README.plugins TODO
299 %doc yum-util-cli-template
300 %attr(755,root,root) %{_bindir}/debuginfo-install
301 %attr(755,root,root) %{_bindir}/package-cleanup
302 %attr(755,root,root) %{_bindir}/repo-graph
303 %attr(755,root,root) %{_bindir}/repo-rss
304 %attr(755,root,root) %{_bindir}/repoclosure
305 %attr(755,root,root) %{_bindir}/repodiff
306 %attr(755,root,root) %{_bindir}/repomanage
307 %attr(755,root,root) %{_bindir}/repoquery
308 %attr(755,root,root) %{_bindir}/reposync
309 %attr(755,root,root) %{_bindir}/repotrack
310 %attr(755,root,root) %{_bindir}/yum-builddep
311 %attr(755,root,root) %{_bindir}/yumdownloader
312 %attr(755,root,root) %{_sbindir}/yum-complete-transaction
313 %{_mandir}/man1/package-cleanup.1.*
314 %{_mandir}/man1/repo-rss.1.*
315 %{_mandir}/man1/repoquery.1.*
316 %{_mandir}/man1/reposync.1.*
317 %{_mandir}/man1/yum-builddep.1.*
318 %{_mandir}/man1/yum-utils.1.*
319 %{_mandir}/man1/yumdownloader.1.*
320 %{_mandir}/man8/yum-complete-transaction.8.*
322 %files -n yum-updateonboot
323 %defattr(644,root,root,755)
324 %doc updateonboot/README
325 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/yum-updateonboot
326 %attr(754,root,root) /etc/rc.d/init.d/yum-updateonboot
328 %files -n yum-changelog
329 %defattr(644,root,root,755)
330 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/changelog.conf
331 %{_datadir}/yum-plugins/changelog.*
332 %{_mandir}/man1/yum-changelog.1.*
333 %{_mandir}/man5/yum-changelog.conf.5.*
335 %files -n yum-fastestmirror
336 %defattr(644,root,root,755)
337 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/fastestmirror.conf
338 %{_datadir}/yum-plugins/fastestmirror.*
340 %files -n yum-protectbase
341 %defattr(644,root,root,755)
342 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/protectbase.conf
343 %{_datadir}/yum-plugins/protectbase.*
345 %files -n yum-versionlock
346 %defattr(644,root,root,755)
347 %doc plugins/versionlock/README
348 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/versionlock.conf
349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/versionlock.list
350 %{_datadir}/yum-plugins/versionlock.*
352 %files -n yum-tsflags
353 %defattr(644,root,root,755)
354 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/tsflags.conf
355 %{_datadir}/yum-plugins/tsflags.*
357 %files -n yum-kernel-module
358 %defattr(644,root,root,755)
359 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/kernel-module.conf
360 %{_datadir}/yum-plugins/kernel-module.*
362 %files -n yum-downloadonly
363 %defattr(644,root,root,755)
364 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/downloadonly.conf
365 %{_datadir}/yum-plugins/downloadonly.*
367 %files -n yum-allowdowngrade
368 %defattr(644,root,root,755)
369 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/allowdowngrade.conf
370 %{_datadir}/yum-plugins/allowdowngrade.*
372 %files -n yum-skip-broken
373 %defattr(644,root,root,755)
374 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/skip-broken.conf
375 %{_datadir}/yum-plugins/skip-broken.*
377 %files -n yum-priorities
378 %defattr(644,root,root,755)
379 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/priorities.conf
380 %{_datadir}/yum-plugins/priorities.*
382 %files -n yum-refresh-updatesd
383 %defattr(644,root,root,755)
384 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/refresh-updatesd.conf
385 %{_datadir}/yum-plugins/refresh-updatesd.*
387 %files -n yum-merge-conf
388 %defattr(644,root,root,755)
389 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/merge-conf.conf
390 %{_datadir}/yum-plugins/merge-conf.*
392 %files -n yum-security
393 %defattr(644,root,root,755)
394 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/security.conf
395 %{_datadir}/yum-plugins/security.*
396 %{_mandir}/man8/yum-security.8.*
398 %files -n yum-protect-packages
399 %defattr(644,root,root,755)
400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/protect-packages.conf
401 %{_datadir}/yum-plugins/protect-packages.*
403 %files -n yum-basearchonly
404 %defattr(644,root,root,755)
405 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/basearchonly.conf
406 %{_datadir}/yum-plugins/basearchonly.*
408 %files -n yum-upgrade-helper
409 %defattr(644,root,root,755)
410 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/upgrade-helper.conf
411 %{_datadir}/yum-plugins/upgrade-helper.*
413 %files -n yum-aliases
414 %defattr(644,root,root,755)
415 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/aliases.conf
416 %config(noreplace) %{_sysconfdir}/yum/aliases.conf
417 %{_datadir}/yum-plugins/aliases.*
419 %files -n yum-list-data
420 %defattr(644,root,root,755)
421 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/list-data.conf
422 %{_datadir}/yum-plugins/list-data.*
423 %{_mandir}/man1/yum-list-data.1.*
425 %files -n yum-filter-data
426 %defattr(644,root,root,755)
427 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/filter-data.conf
428 %{_datadir}/yum-plugins/filter-data.*
429 %{_mandir}/man1/yum-filter-data.1.*
431 %files -n yum-tmprepo
432 %defattr(644,root,root,755)
433 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/tmprepo.conf
434 %{_datadir}/yum-plugins/tmprepo.*
437 %defattr(644,root,root,755)
438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/verify.conf
439 %{_datadir}/yum-plugins/verify.*
440 %{_mandir}/man1/yum-verify.1.*