SPECS: openlldp.spec - adde manual from BSD and noproc patch.

blues blues at pld-linux.org
Sat Nov 24 23:04:44 CET 2007


Author: blues                        Date: Sat Nov 24 22:04:44 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adde manual from BSD and noproc patch.

---- Files affected:
SPECS:
   openlldp.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/openlldp.spec
diff -u SPECS/openlldp.spec:1.1 SPECS/openlldp.spec:1.2
--- SPECS/openlldp.spec:1.1	Tue Nov 20 16:00:20 2007
+++ SPECS/openlldp.spec	Sat Nov 24 23:04:38 2007
@@ -2,13 +2,15 @@
 Summary:	Open Source implementation of IEEE 802.1AB
 Name:		openlldp
 %define		_rc	alpha
-%define		rel	0.1
+%define		rel	0.2
 Version:	0.3
 Release:	0.%{_rc}.%{rel}
 License:	GPL
 Group:		Networking
 Source0:	http://dl.sourceforge.net/openlldp/%{name}-%{version}%{_rc}.tar.gz
 # Source0-md5:	131abc8c2563d33c4537d1c6dcb5c121
+Source1:	%{name}-lldp.8
+Patch0:		%{name}-noproc.patch
 URL:		http://openlldp.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -26,6 +28,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}%{_rc}
+%patch0 -p1
 
 %build
 %{__aclocal}
@@ -36,10 +39,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/man8
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man8/lldp.8
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -47,6 +53,7 @@
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog LICENSE README
 %attr(755,root,root) %{_sbindir}/lldpd
+%{_mandir}/man8/*.8*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007-11-24 22:04:38  blues
+- adde manual from BSD and noproc patch.
+
 Revision 1.1  2007-11-20 15:00:20  blues
 - initial
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openlldp.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list