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

Annotation 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.2 - (hide annotations) (download)
Wed Apr 9 13:51:58 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -0 lines
Add Id to top of spec

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

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