SPECS: itcl.spec - ghost soname symlinks, file list cleanup
qboosh
qboosh at pld-linux.org
Fri Jul 11 21:08:54 CEST 2008
Author: qboosh Date: Fri Jul 11 19:08:54 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- ghost soname symlinks, file list cleanup
---- Files affected:
SPECS:
itcl.spec (1.30 -> 1.31)
---- Diffs:
================================================================
Index: SPECS/itcl.spec
diff -u SPECS/itcl.spec:1.30 SPECS/itcl.spec:1.31
--- SPECS/itcl.spec:1.30 Sat Apr 5 21:26:49 2008
+++ SPECS/itcl.spec Fri Jul 11 21:08:48 2008
@@ -1,5 +1,5 @@
# $Revision$, $Date$
-# TODO: lib*stub*.a should exist in %{_libdir} not %{_ulibdir}
+# TODO: libitclstub*.a should exist in %{_libdir} not %{_ulibdir}
%define iwidgets_version 4.0.2
@@ -110,10 +110,12 @@
mv -f $RPM_BUILD_ROOT%{_ulibdir}/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
+ln -sf libitcl*.so.*.* libitcl%{version}.so.0
+ln -sf libitcl*.so.*.* libitcl%{version}.so
+ln -sf libitcl*.so.*.* libitcl.so
+ln -sf libitk*.so.*.* libitk%{version}.so.0
+ln -sf libitk*.so.*.* libitk%{version}.so
+ln -sf libitk*.so.*.* libitk.so
%clean
rm -rf $RPM_BUILD_ROOT
@@ -124,23 +126,32 @@
%files
%defattr(644,root,root,755)
%doc incrTcl/{CHANGES,ChangeLog,INCOMPATIBLE,README,TODO,license.terms} iwidgets-docs
-%attr(755,root,root) %{_libdir}/lib*.so.*
+%attr(755,root,root) %{_libdir}/libitcl%{version}.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libitcl%{version}.so.0
+%attr(755,root,root) %{_libdir}/libitk%{version}.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libitk%{version}.so.0
+%dir %{_ulibdir}/itcl%{version}
+%{_ulibdir}/itcl%{version}/*.tcl
+%dir %{_ulibdir}/itk%{version}
+%{_ulibdir}/itk%{version}/*.itk
+%{_ulibdir}/itk%{version}/*.tcl
+%{_ulibdir}/itk%{version}/tclIndex
%{_ulibdir}/iwidgets
-%dir %{_ulibdir}/itcl*
-%dir %{_ulibdir}/itk*
%dir %{_ulibdir}/iwidgets%{iwidgets_version}
%{_ulibdir}/iwidgets%{iwidgets_version}/*.tcl
%{_ulibdir}/iwidgets%{iwidgets_version}/scripts
-%{_ulibdir}/itcl*/*.tcl
-%{_ulibdir}/itk*/*
-%{_mandir}/mann/*
+%{_mandir}/mann/*.n*
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libitcl%{version}.so
+%attr(755,root,root) %{_libdir}/libitcl.so
+%attr(755,root,root) %{_libdir}/libitk%{version}.so
+%attr(755,root,root) %{_libdir}/libitk.so
%{_ulibdir}/itclConfig.sh
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_ulibdir}/itcl*/lib*stub*.a
-%{_includedir}/*.h
+%{_ulibdir}/itcl%{version}/libitclstub%{version}.a
+%{_includedir}/itcl*.h
+%{_includedir}/itk*.h
%{_examplesdir}/%{name}-iwidgets-%{iwidgets_version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -149,6 +160,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.31 2008/07/11 19:08:48 qboosh
+- ghost soname symlinks, file list cleanup
+
Revision 1.30 2008/04/05 19:26:49 qboosh
- stubs todo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/itcl.spec?r1=1.30&r2=1.31&f=u
More information about the pld-cvs-commit
mailing list