SPECS: itcl.spec - rel 2 - soname patch is back - install libs in ...

baggins baggins at pld-linux.org
Wed Apr 2 19:20:24 CEST 2008


Author: baggins                      Date: Wed Apr  2 17:20:24 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2
- soname patch is back
- install libs in proper place

---- Files affected:
SPECS:
   itcl.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/itcl.spec
diff -u SPECS/itcl.spec:1.23 SPECS/itcl.spec:1.24
--- SPECS/itcl.spec:1.23	Wed Apr  2 16:45:19 2008
+++ SPECS/itcl.spec	Wed Apr  2 19:20:18 2008
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	[incr Tcl] - obiektowo zorientowane rozszerzenie języka Tcl
 Name:		itcl
 Version:	3.3
-Release:	1.1
+Release:	2
 License:	distributable
 Group:		Development/Languages/Tcl
 Source0:	http://dl.sourceforge.net/incrtcl/%{name}%{version}.tar.gz
@@ -14,6 +14,7 @@
 Source2:	http://dl.sourceforge.net/incrtcl/iwidgets%{iwidgets_version}.tar.gz
 # Source2-md5:	0e9c140e81ea6015b56130127c7deb03
 Patch0:		%{name}-iwidgets-config.patch
+Patch1:		%{name}-soname.patch
 #Patch2:		%{name}-libdir.patch
 URL:		http://incrtcl.sourceforge.net/itcl/
 BuildRequires:	autoconf >= 2.13
@@ -65,6 +66,7 @@
 %prep
 %setup -q -c -a1 -a2
 %patch0 -p1
+%patch1 -p1
 #%patch2 -p1
 
 ln -sf itcl%{version} itcl
@@ -120,6 +122,15 @@
 mv $RPM_BUILD_ROOT%{_ulibdir}/iwidgets%{iwidgets_version}/demos/* \
 	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-iwidgets-%{iwidgets_version}
 
+mv -f $RPM_BUILD_ROOT%{_libdir}/itcl%{version}/lib*.so* $RPM_BUILD_ROOT%{_libdir}
+mv -f $RPM_BUILD_ROOT%{_libdir}/itk%{version}/lib*.so* $RPM_BUILD_ROOT%{_libdir}
+
+cd $RPM_BUILD_ROOT%{_libdir}
+ln -sf libitcl*.so.* libitcl%{version}.so
+ln -sf libitcl*.so.* libitcl.so
+ln -sf libitk*.so.* libitk%{version}.so
+ln -sf libitk*.so.* libitk.so
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -128,9 +139,8 @@
 
 %files
 %defattr(644,root,root,755)
-%doc itcl*/{CHANGES,ChangeLog,INCOMPATIBLE,README,TODO,license.terms} iwidgets
-%attr(755,root,root) %{_libdir}/itcl*/lib*.so
-%attr(755,root,root) %{_libdir}/itk*/lib*.so
+%doc itcl%{version}/{CHANGES,ChangeLog,INCOMPATIBLE,README,TODO,license.terms} iwidgets
+%attr(755,root,root) %{_libdir}/lib*.so.*
 %{_libdir}/iwidgets
 %dir %{_libdir}/itcl*
 %dir %{_libdir}/itk*
@@ -144,6 +154,7 @@
 %files devel
 %defattr(644,root,root,755)
 %{_libdir}/itclConfig.sh
+%attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/itcl*/lib*stub*.a
 %{_includedir}/*.h
 %{_examplesdir}/%{name}-iwidgets-%{iwidgets_version}
@@ -154,6 +165,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2008-04-02 17:20:18  baggins
+- rel 2
+- soname patch is back
+- install libs in proper place
+
 Revision 1.23  2008-04-02 14:45:19  baggins
 - enabled iwidgets
 - general cleanup
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/itcl.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list