/[smeserver]/rpms/yum-plugin-installonlyn/sme7/yum-plugin-installonlyn.spec
ViewVC logotype

Contents of /rpms/yum-plugin-installonlyn/sme7/yum-plugin-installonlyn.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Mar 29 19:52:31 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: yum-plugin-installonlyn-0_91-1_el4_sme
Import on branch sme7 of package yum-plugin-installonlyn-0.91-1.el4.sme.src.rpm

1 Summary: Limit the number of kernels installed for the yum package manager
2 Name: yum-plugin-installonlyn
3 Version: 0.91
4 Release: 1%{?dist}
5 License: GPL
6 Group: Development/Tools
7 Source: %{name}-%{version}.tar.gz
8 Patch0: yum-plugin-installonlyn-sme_fix.patch
9 URL: http://wiki.linux.duke.edu/YumPlugins
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11 BuildArch: noarch
12 Requires: python, yum >= 2.3.4
13
14 %description
15 The installonlyn plugin for yum will allow you to set the number of retained
16 kernels installed on your system.
17
18 %prep
19 %setup -q
20 %patch0 -p1
21
22 %install
23 rm -rf $RPM_BUILD_ROOT
24
25 plugins="installonlyn"
26 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT/usr/lib/yum-plugins/
27
28 for plug in $plugins; do
29 install -m 644 $plug.conf $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/
30 install -m 644 $plug.py $RPM_BUILD_ROOT/usr/lib/yum-plugins/
31 done
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %post
37
38 %preun
39
40 %files
41 %defattr(-, root, root)
42 %doc README*
43 %doc COPYING
44 %doc ChangeLog
45 %{_sysconfdir}/yum/pluginconf.d
46 /usr/lib/yum-plugins
47
48 %changelog
49 * Wed Mar 26 2008 Paul Floor <paul@smeserver.us> 0.91-1
50 - first version extracted from yum-utils-0.5-2
51 - fixed counting error in installonlyn.py
52 - increased tokeep to 5

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed