]> git.pld-linux.org Git - packages/yum-utils.git/blame - yum-utils.spec
- config for yum-plugin-pld-kernel.py
[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
73658a04
ER
4Version: 1.1.13
5Release: 0.1
f5db57ea
PZ
6License: GPL
7Group: Applications/System
73658a04
ER
8Source0: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz
9# Source0-md5: 29eedb17fd40b158c129c84dc865d889
10URL: http://linux.duke.edu/yum/download/yum-utils/
f5db57ea
PZ
11BuildRequires: gettext-devel
12BuildRequires: rpm-pythonprov
13BuildRequires: rpmbuild(macros) >= 1.228
765ff573 14Requires: python >= 1:2.5
73658a04 15Requires: yum >= 3.1.1
f5db57ea
PZ
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
765ff573
JB
20Yum-utils is a collection of utilities, plugins and examples related
21to the yum package manager.
f5db57ea
PZ
22
23%description -l pl.UTF-8
765ff573
JB
24yum-utils to zestaw narzędzi, wtyczek i przykładów związanych z
25zarządcą pakietów yum.
f5db57ea 26
73658a04
ER
27%package -n yum-updateonboot
28Summary: Run yum update on system boot
29Group: Base
30Requires(post): /sbin/chkconfig
31Requires(pre): /sbin/chkconfig
32Requires: python
33Requires: yum >= 2.4
34
35%description -n yum-updateonboot
36Runs yum update on system boot. This allows machines that have been
37turned off for an extended amount of time to become secure
38immediately, instead of waiting until the next early morning cron job.
39
40%package -n yum-changelog
41Summary: Yum plugin for viewing package changelogs before/after updating
42Group: Base
43Requires: yum >= 3.0
44
45%description -n yum-changelog
46This plugin adds a command line option to allow viewing package
47changelog deltas before or after updating packages.
48
49%package -n yum-fastestmirror
50Summary: Yum plugin which chooses fastest repository from a mirrorlist
51Group: Base
52Requires: yum >= 3.0
53
54%description -n yum-fastestmirror
55This plugin sorts each repository's mirrorlist by connection speed
56prior to downloading packages.
57
58%package -n yum-protectbase
59Summary: Yum plugin to protect packages from certain repositories
60Group: Base
61Requires: yum >= 3.0
62
63%description -n yum-protectbase
64This plugin allows certain repositories to be protected. Packages in
65the protected repositories can't be overridden by packages in
66non-protected repositories even if the non-protected repo has a later
67version.
68
69%package -n yum-versionlock
70Summary: Yum plugin to lock specified packages from being updated
71Group: Base
72Requires: yum >= 3.0
73
74%description -n yum-versionlock
75This plugin allows certain packages specified in a file to be
76protected from being updated by newer versions.
77
78%package -n yum-tsflags
79Summary: Yum plugin to add tsflags by a commandline option
80Group: Base
81Requires: yum >= 3.0
82
83%description -n yum-tsflags
84This plugin allows you to specify optional transaction flags on the
85yum command line
86
87%package -n yum-kernel-module
88Summary: Yum plugin to handle kernel-module-foo type of kernel module
89Group: Base
90Requires: yum >= 3.0
91
92%description -n yum-kernel-module
93This plugin handle installation of kernel-module-foo type of kernel
94modules when new version of kernels are installed.
95
96
97%package -n yum-downloadonly
98Summary: Yum plugin to add downloadonly command option
99Group: Base
100Requires: yum >= 3.0
101
102%description -n yum-downloadonly
103This plugin adds a --downloadonly flag to yum so that yum will only
104download the packages and not install/update them.
105
106%package -n yum-allowdowngrade
107Summary: Yum plugin to enable manual downgrading of packages
108Group: Base
109Requires: yum >= 3.0
110
111%description -n yum-allowdowngrade
112This plugin adds a --allow-downgrade flag to yum to make it possible
113to manually downgrade packages to specific versions.
114
115%package -n yum-skip-broken
116Summary: Yum plugin to handle skiping packages with dependency problems
117Group: Base
118Requires: yum >= 3.0
119
120%description -n yum-skip-broken
121This plugin adds a --skip-broken to yum to make it possible to check
122packages for dependency problems and skip the one with problems.
123
124%package -n yum-priorities
125Summary: plugin to give priorities to packages from different repos
126Group: Base
127Requires: yum >= 3.0
128
129%description -n yum-priorities
130This plugin allows repositories to have different priorities. Packages
131in a repository with a lower priority can't be overridden by packages
132from a repository with a higher priority even if repo has a later
133version.
134
135%package -n yum-refresh-updatesd
136Summary: Tell yum-updatesd to check for updates when yum exits
137Group: Base
138Requires: yum >= 3.0
139Requires: yum-updatesd
140
141%description -n yum-refresh-updatesd
142yum-refresh-updatesd tells yum-updatesd to check for updates when yum
143exits. This way, if you run 'yum update' and install all available
144updates, puplet will almost instantly update itself to reflect this.
145
146%package -n yum-merge-conf
147Summary: Yum plugin to merge configuration changes when installing packages
148Group: Base
149Requires: yum >= 3.0
150
151%description -n yum-merge-conf
152This yum plugin adds the "--merge-conf" command line option. With this
153option, Yum will ask you what to do with config files which have
154changed on updating a package.
155
156%package -n yum-security
157Summary: Yum plugin to enable security filters
158Group: Base
159Requires: yum >= 3.0.5
160
161%description -n yum-security
162This plugin adds the options --security, --cve, --bz and --advisory
163flags to yum and the list-security and info-security commands. The
164options make it possible to limit list/upgrade of packages to specific
165security relevant ones. The commands give you the security
166information.
167
168%package -n yum-protect-packages
169Summary: Yum plugin to prevents Yum from removing itself and other protected packages
170Group: Base
171Requires: yum >= 3.0
172
173%description -n yum-protect-packages
174this plugin prevents Yum from removing itself and other protected
175packages. By default, yum is the only package protected, but by
176extension this automatically protects everything on which yum depends
177(rpm, python, glibc, and so on).Therefore, the plugin functions well
178even without compiling careful lists of all important packages.
179
180%package -n yum-basearchonly
181Summary: Yum plugin to let Yum install only basearch packages
182Group: Base
183Requires: yum >= 3.0
184
185%description -n yum-basearchonly
186this plugin makes Yum only install basearch packages on multiarch
187systems. 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
189foo-x.y.i386.rpm, you have to type 'yum install foo.i386'. The plugin
190only works with 'yum install'.
191
192%package -n yum-upgrade-helper
193Summary: Yum plugin to help upgrades to the next distribution version
194Group: Base
195Requires: yum >= 3.0
196
197%description -n yum-upgrade-helper
198this plugin allows yum to erase specific packages on install/update
199based on an additional metadata file in repositories. It is used to
200simplify distribution upgrade hangups.
201
202%package -n yum-aliases
203Summary: Yum plugin to enable aliases filters
204Group: Base
205Requires: yum >= 3.0.5
206
207%description -n yum-aliases
208This plugin adds the command alias, and parses the aliases config.
209file to enable aliases.
210
211%package -n yum-list-data
212Summary: Yum plugin to list aggregate package data
213Group: Base
214Requires: yum >= 3.0.5
215
216%description -n yum-list-data
217This plugin adds the commands list- vendors, groups, packagers,
218licenses, arches, committers, buildhosts, baseurls, package-sizes,
219archive-sizes and installed-sizes.
220
221%package -n yum-filter-data
222Summary: Yum plugin to list filter based on package data
223Group: Base
224Requires: yum >= 3.0.5
225
226%description -n yum-filter-data
227This plugin adds the options --filter- vendors, groups, packagers,
228licenses, arches, committers, buildhosts, baseurls, package-sizes,
229archive-sizes and installed-sizes. Note that each package must match
230at least one pattern/range in each category, if any were specified.
231
232%package -n yum-tmprepo
233Summary: Yum plugin to add temporary repositories
234Group: Base
235Requires: yum >= 3.2.11
236
237%description -n yum-tmprepo
238This plugin adds the option --tmprepo which takes a url to a .repo
239file downloads it and enables it for a single run. This plugin tries
240to ensure that temporary repositories are safe to use, by default, by
241not allowing gpg checking to be disabled.
242
243%package -n yum-verify
244Summary: Yum plugin to add verify command, and options
245Group: Base
246Requires: yum >= 3.2.12
247
248%description -n yum-verify
249This plugin adds the commands verify, verify-all and verify-rpm. There
250are also a couple of options. This command works like rpm -V, to
251verify your installation.
252
f5db57ea
PZ
253%prep
254%setup -q
73658a04
ER
255
256mv plugins/README README.plugins
f5db57ea
PZ
257
258%build
259%{__make}
260
261%install
262rm -rf $RPM_BUILD_ROOT
263
73658a04
ER
264%{__make} DESTDIR=$RPM_BUILD_ROOT install
265%{__make} -C updateonboot DESTDIR=$RPM_BUILD_ROOT install
f5db57ea
PZ
266
267# Plugins to install
73658a04
ER
268plugins="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"
271
272install -d $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT%{_datadir}/yum-plugins
f5db57ea
PZ
273
274cd plugins
275for plug in $plugins; do
73658a04
ER
276 install -m 644 $plug/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d
277install $plug/*.py $RPM_BUILD_ROOT%{_datadir}/yum-plugins
f5db57ea 278done
73658a04
ER
279install aliases/aliases $RPM_BUILD_ROOT%{_sysconfdir}/yum/aliases.conf
280install versionlock/versionlock.list $RPM_BUILD_ROOT%{_sysconfdir}/yum/pluginconf.d
f5db57ea
PZ
281
282%py_postclean
283
284%clean
285rm -rf $RPM_BUILD_ROOT
286
73658a04
ER
287%post -n yum-updateonboot
288/sbin/chkconfig --add yum-updateonboot
289
290%preun -n yum-updateonboot
291if [ $1 = 0 ]; then
292 %service yum-updateonboot stop
293 /sbin/chkconfig --del yum-updateonboot
294fi
295
f5db57ea
PZ
296%files
297%defattr(644,root,root,755)
73658a04
ER
298%doc ChangeLog README README.plugins TODO
299%doc yum-util-cli-template
f5db57ea
PZ
300%attr(755,root,root) %{_bindir}/debuginfo-install
301%attr(755,root,root) %{_bindir}/package-cleanup
f5db57ea 302%attr(755,root,root) %{_bindir}/repo-graph
73658a04
ER
303%attr(755,root,root) %{_bindir}/repo-rss
304%attr(755,root,root) %{_bindir}/repoclosure
305%attr(755,root,root) %{_bindir}/repodiff
f5db57ea
PZ
306%attr(755,root,root) %{_bindir}/repomanage
307%attr(755,root,root) %{_bindir}/repoquery
f5db57ea
PZ
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
73658a04
ER
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.*
321
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
327
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.*
334
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.*
339
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.*
344
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.*
351
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.*
356
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.*
361
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.*
366
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.*
371
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.*
376
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.*
381
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.*
386
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.*
391
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.*
397
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.*
402
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.*
407
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.*
412
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.*
418
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.*
424
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.*
430
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.*
435
436%files -n yum-verify
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.*
This page took 0.118279 seconds and 4 git commands to generate.