SPECS: ode.spec - library packaging unbroken - libtoolize (fixes build with...

qboosh qboosh at pld-linux.org
Fri Jul 11 00:07:28 CEST 2008


Author: qboosh                       Date: Thu Jul 10 22:07:28 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- library packaging unbroken
- libtoolize (fixes build with libtool 2.2)
- BR: GLU-devel; removed unneeded deps from -devel

---- Files affected:
SPECS:
   ode.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/ode.spec
diff -u SPECS/ode.spec:1.18 SPECS/ode.spec:1.19
--- SPECS/ode.spec:1.18	Sat Jul  5 23:16:16 2008
+++ SPECS/ode.spec	Fri Jul 11 00:07:23 2008
@@ -10,11 +10,12 @@
 Source0:	http://dl.sourceforge.net/opende/%{name}-%{version}.tar.bz2
 # Source0-md5:	e84ff88b34f3a9b96ee479f175fb0b11
 URL:		http://ode.org/
-BuildRequires:	OpenGL-GLU
+BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	OpenGL-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libstdc++-devel
+BuildRequires:	libtool
 BuildRequires:	xorg-lib-libX11-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,10 +37,7 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe bibliotek ODE
 Group:		Development/Libraries
 Requires:	%{name} = %{epoch}:%{version}-%{release}
-Requires:	OpenGL-GLU
-Requires:	OpenGL-devel
 Requires:	libstdc++-devel
-Requires:	xorg-lib-libX11-devel
 
 %description devel
 Header files for ODE libraries.
@@ -63,6 +61,7 @@
 %setup -q
 
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -77,9 +76,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_libdir}/libode.so $RPM_BUILD_ROOT%{_libdir}/libode.so.0
-ln -sf libode.so.0 $RPM_BUILD_ROOT%{_libdir}/libode.so
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -89,9 +85,7 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG.txt README.txt
-%attr(755,root,root) %ghost %{_libdir}/libode.so.0
-# not sure about ghost here
-%attr(755,root,root) %ghost %{_libdir}/libode-*.so
+%attr(755,root,root) %{_libdir}/libode-*.so
 
 %files devel
 %defattr(644,root,root,755)
@@ -111,6 +105,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2008/07/10 22:07:23  qboosh
+- library packaging unbroken
+- libtoolize (fixes build with libtool 2.2)
+- BR: GLU-devel; removed unneeded deps from -devel
+
 Revision 1.18  2008/07/05 21:16:16  lisu
 - 0.10.0
 - use tarball instead of zip package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ode.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list