packages: docsis/docsis.spec - mibs installed to system mibs dir, add mibs ...

glen glen at pld-linux.org
Mon Jan 11 12:05:00 CET 2010


Author: glen                         Date: Mon Jan 11 11:04:59 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- mibs installed to system mibs dir, add mibs package; rel 3

---- Files affected:
packages/docsis:
   docsis.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/docsis/docsis.spec
diff -u packages/docsis/docsis.spec:1.4 packages/docsis/docsis.spec:1.5
--- packages/docsis/docsis.spec:1.4	Sun Sep 28 20:21:45 2008
+++ packages/docsis/docsis.spec	Mon Jan 11 12:04:53 2010
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Kodowanie ustawień konfiguracyjnych w plikach binarnych wg DOCSIS RFI 1.1
 Name:		docsis
 Version:	0.9.5
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Applications
 Source0:	http://dl.sourceforge.net/docsis/%{name}-%{version}.tar.gz
@@ -13,10 +13,10 @@
 URL:		http://docsis.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	libtool	
 BuildRequires:	flex
+BuildRequires:	libtool
 BuildRequires:	net-snmp-devel
-Requires:	net-snmp-mibs
+Requires:	mibs-%{name}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,6 +27,15 @@
 Kodowanie ustawień konfiguracyjnych w binarnych plikach
 konfiguracyjnych zgodnie z DOCSIS RFI 1.1.
 
+%package -n mibs-%{name}
+Summary:	MIBs from DOCSIS
+Group:		Base
+Requires:	mibs-dirs
+Requires:	mibs-net-snmp
+
+%description -n mibs-%{name}
+MIBs (Management Information Base) from DOCSIS.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -45,7 +54,8 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	mibsdir=%{_datadir}/mibs
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,9 +63,12 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/docsis
 %{_datadir}/%{name}
-%{_datadir}/snmp/mibs/*
+
+%files -n mibs-%{name}
+%defattr(644,root,root,755)
+%{_datadir}/mibs/*
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -63,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/01/11 11:04:53  glen
+- mibs installed to system mibs dir, add mibs package; rel 3
+
 Revision 1.4  2008/09/28 18:21:45  twittner
 - BR: libtool added
 - rel. 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/docsis/docsis.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list