SPECS: libfmod.spec - updated to 4.10.05 (only available currently...

qboosh qboosh at pld-linux.org
Wed Jan 23 18:42:08 CET 2008


Author: qboosh                       Date: Wed Jan 23 17:42:08 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 4.10.05 (only available currently)
- fixed packaging on x86, added x86_64 (not just "source")
- generally not distributable, only main library can be distributed

---- Files affected:
SPECS:
   libfmod.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/libfmod.spec
diff -u SPECS/libfmod.spec:1.8 SPECS/libfmod.spec:1.9
--- SPECS/libfmod.spec:1.8	Mon Oct  8 19:18:15 2007
+++ SPECS/libfmod.spec	Wed Jan 23 18:42:03 2008
@@ -1,23 +1,20 @@
 # $Revision$, $Date$
-
-%define		_srcver	406
-%define		_srcrel 16
-
 Summary:	FMOD sound library
 Summary(pl.UTF-8):	Biblioteka dźwiękowa FMOD
 Name:		libfmod
-Version:	4.06.%{_srcrel}
+Version:	4.10.05
+%define	srcver	%(echo %{version} | tr -d .)
 Release:	1
-License:	Freeware
+License:	Free for non-commercial use; only main library is redistributable
 Group:		Libraries
-Source0:	http://www.fmod.org/files/fmodapi%{_srcver}%{_srcrel}linux.tar.gz
-# Source0-md5:	700915f4f86a92cf0658ddc4a02c29f0
-
-
-Source1:	http://www.fmod.org/files/fmodapi%{_srcver}%{_srcrel}linux64.tar.gz
-# Source1-md5:	ec77e027ff1677af0658b32a2fbcc0ec
+Source0:	http://www.fmod.org/index.php/release/version/fmodapi%{srcver}linux.tar.gz
+# NoSource0-md5:	a4ce370d9876bc055130f3474a38c065
+Source1:	http://www.fmod.org/index.php/release/version/fmodapi%{srcver}linux64.tar.gz
+# NoSource1-md5:	ebf3a34a8904a7f8b434ebf244693533
+NoSource:	0
+NoSource:	1
 URL:		http://www.fmod.org/
-ExclusiveArch:	%{ix86}
+ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,6 +34,7 @@
 %package devel
 Summary:	Development headers for FMOD sound library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki dźwiękowej FMOD
+License:	Free for non-commercial use, non-distributable
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
@@ -47,13 +45,22 @@
 Pliki nagłówkowe biblioteki dźwiękowej FMOD.
 
 %prep
-%setup -q -n fmodapi%{_srcver}%{_srcrel}linux
+%ifarch %{ix86}
+%setup -q -n fmodapi%{srcver}linux
+%define libsuf %{nil}
+%endif
+%ifarch %{x8664}
+%setup -q -n fmodapi%{srcver}linux64 -T -b1
+%define libsuf 64
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
-install api/lib/%{name}ex{,p}.so.%{version} $RPM_BUILD_ROOT%{_libdir}/
-install api/inc/*.h $RPM_BUILD_ROOT%{_includedir}
+
+cp -a api/lib/libfmodex*.so* $RPM_BUILD_ROOT%{_libdir}
+install api/plugins/*.so $RPM_BUILD_ROOT%{_libdir}
+install api/inc/*.h* $RPM_BUILD_ROOT%{_includedir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -63,11 +70,22 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so.*.*.*
+%doc documentation/LICENSE.TXT fmoddesignerapi/README.TXT
+# standalone version
+%attr(755,root,root) %{_libdir}/libfmodex%{libsuf}.so.*.*.*
+# split version
+%attr(755,root,root) %{_libdir}/libfmodexp%{libsuf}.so.*.*.*
+%attr(755,root,root) %{_libdir}/codec_*.so
+%attr(755,root,root) %{_libdir}/dsp_*.so
+%attr(755,root,root) %{_libdir}/output_*.so
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_includedir}/*.h
+%doc documentation/{fmodex.pdf,revision.txt}
+%attr(755,root,root) %{_libdir}/libfmodex%{libsuf}.so
+%attr(755,root,root) %{_libdir}/libfmodexp%{libsuf}.so
+%{_includedir}/fmod*.h
+%{_includedir}/fmod.hpp
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -75,6 +93,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008-01-23 17:42:03  qboosh
+- updated to 4.10.05 (only available currently)
+- fixed packaging on x86, added x86_64 (not just "source")
+- generally not distributable, only main library can be distributed
+
 Revision 1.8  2007-10-08 17:18:15  blekot
 - up to 4.06.16
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libfmod.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list