SPECS: fltk2.spec - rel. 0.1 - some workaround for broken soname, see comme...
duddits
duddits at pld-linux.org
Mon Mar 23 23:01:14 CET 2009
Author: duddits Date: Mon Mar 23 22:01:14 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel. 0.1
- some workaround for broken soname, see comments in spec for more
details
- %files
---- Files affected:
SPECS:
fltk2.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/fltk2.spec
diff -u SPECS/fltk2.spec:1.6 SPECS/fltk2.spec:1.7
--- SPECS/fltk2.spec:1.6 Mon Mar 23 21:55:15 2009
+++ SPECS/fltk2.spec Mon Mar 23 23:01:09 2009
@@ -10,7 +10,7 @@
Summary(pt_BR.UTF-8): Interface gráfica em C++ para X, OpenGL e Windows
Name: fltk2
Version: 2.0.%{_snap}
-Release: 1
+Release: 0.1
License: LGPL with amendments (see COPYING)
Group: X11/Libraries
Source0: http://ftp.easysw.com/pub/fltk/snapshots/%{_name}-%{_version}.x-%{_snap}.tar.bz2
@@ -117,6 +117,13 @@
%{__mv} documentation/fluid.man $RPM_BUILD_ROOT%{_mandir}/man1/fluid.1
%{__mv} documentation/fltk.man $RPM_BUILD_ROOT%{_mandir}/man3/fltk.3
+# broken so linking, the idea stolen from
+# https://bugzilla.redhat.com/show_bug.cgi?id=477683
+ln -fs libfltk2.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libfltk2.so
+ln -fs libfltk2_gl.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libfltk2_gl.so
+ln -fs libfltk2_glut.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libfltk2_glut.so
+ln -fs libfltk2_images.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libfltk2_images.so
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -136,10 +143,10 @@
%doc documentation/*.{html,gif,jpg}
%attr(755,root,root) %{_bindir}/fltk2-config
%attr(755,root,root) %{_bindir}/fluid2
-%attr(755,root,root) %{_libdir}/libfltk2.so
-%attr(755,root,root) %{_libdir}/libfltk2_gl.so
-%attr(755,root,root) %{_libdir}/libfltk2_glut.so
-%attr(755,root,root) %{_libdir}/libfltk2_images.so
+%attr(755,root,root) %ghost %{_libdir}/libfltk2.so
+%attr(755,root,root) %ghost %{_libdir}/libfltk2_gl.so
+%attr(755,root,root) %ghost %{_libdir}/libfltk2_glut.so
+%attr(755,root,root) %ghost %{_libdir}/libfltk2_images.so
%dir %{_includedir}/fltk
%dir %{_includedir}/fltk/compat
%dir %{_includedir}/fltk/compat/FL
@@ -162,6 +169,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2009/03/23 22:01:09 duddits
+- rel. 0.1
+- some workaround for broken soname, see comments in spec for more
+details
+- %files
+
Revision 1.6 2009/03/23 20:55:15 pawelz
- BR: Mesa-libGLU-devel.spec
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fltk2.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list