SPECS: lazarus.spec - revert: unify examples dir

glen glen at pld-linux.org
Thu May 4 21:29:02 CEST 2006


Author: glen                         Date: Thu May  4 19:29:02 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- revert: unify examples dir

---- Files affected:
SPECS:
   lazarus.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/lazarus.spec
diff -u SPECS/lazarus.spec:1.10 SPECS/lazarus.spec:1.11
--- SPECS/lazarus.spec:1.10	Thu May  4 19:16:40 2006
+++ SPECS/lazarus.spec	Thu May  4 21:28:57 2006
@@ -7,7 +7,7 @@
 Release:	0.2
 License:	GPL and modified LGPL
 Group:		Development/Tools
-Source0:        http://dl.sourceforge.net/lazarus/%{name}-%{version}-1.tar.gz 
+Source0:	http://dl.sourceforge.net/lazarus/%{name}-%{version}-1.tar.gz
 # Source0-md5:	7ee733185e5f0dc10f6c7084e1505c60
 URL:		http://www.lazarus.freepascal.org/
 Patch0:		%{name}-desktop.patch
@@ -42,9 +42,9 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_datadir}/lazarus/docs,%{_pixmapsdir},%{_desktopdir},%{_bindir}} \
-        $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 for i in components doceditor ide lcl units converter debugger ideintf languages localize.bat startlazarus \
 designer images lazarus localize.sh packager tools ; do
@@ -74,7 +74,7 @@
 %attr(755,root,root) %{_datadir}/lazarus/startlazarus
 %{_pixmapsdir}/lazarus.png
 %{_desktopdir}/lazarus.desktop
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name}-%{version}
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -82,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/05/04 19:28:57  glen
+- revert: unify examples dir
+
 Revision 1.10  2006/05/04 17:16:40  rotom
 - fixed examplesdir path
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lazarus.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list