SPECS: dynamips.spec - use make install, fix installation paths in...

twittner twittner at pld-linux.org
Tue Sep 11 22:10:10 CEST 2007


Author: twittner                     Date: Tue Sep 11 20:10:10 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use make install, fix installation paths in Makefile
- install manpages

---- Files affected:
SPECS:
   dynamips.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/dynamips.spec
diff -u SPECS/dynamips.spec:1.7 SPECS/dynamips.spec:1.8
--- SPECS/dynamips.spec:1.7	Tue Sep 11 21:45:49 2007
+++ SPECS/dynamips.spec	Tue Sep 11 22:10:05 2007
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Symulator Cisco 7200
 Name:		dynamips
 Version:	0.2.7
-Release:	0.2
+Release:	0.3
 License:	GPL
 Group:		Applications/Emulators
 Source0:	http://www.ipflow.utc.fr/dynamips/%{name}-%{version}.tar.gz
@@ -46,17 +46,19 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
-
-install dynamips $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	PREFIX="%{_prefix}"
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README ChangeLog TODO
-%attr(755,root,root) %{_bindir}/%{name}
+%doc README README.hypervisor ChangeLog TODO 
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*.1*
+%{_mandir}/man7/*.7*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +66,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2007/09/11 20:10:05  twittner
+- use make install, fix installation paths in Makefile
+- install manpages
+
 Revision 1.7  2007/09/11 19:45:49  twittner
 - support for distro CFLAGS
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dynamips.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list