SPECS: mac.spec - up to 3.99.u4.b5 - more archs supported, on x86*...

qboosh qboosh at pld-linux.org
Thu Dec 28 19:24:28 CET 2006


Author: qboosh                       Date: Thu Dec 28 18:24:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 3.99.u4.b5
- more archs supported, on x86* uses yasm now (instead of nasm on x86)

---- Files affected:
SPECS:
   mac.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/mac.spec
diff -u SPECS/mac.spec:1.7 SPECS/mac.spec:1.8
--- SPECS/mac.spec:1.7	Tue Dec  6 08:31:04 2005
+++ SPECS/mac.spec	Thu Dec 28 19:24:22 2006
@@ -1,19 +1,21 @@
 # $Revision$, $Date$
-%define		_ver	3.99-u4-b4
+%define		_ver	3.99-u4-b5
 Summary:	Monkey's Audio Codec, a lossless audio codec
 Summary(pl):	Monkey's Audio Codec - bezstratny kodek dźwięku
 Name:		mac
-Version:	3.99.u4.b4
+Version:	3.99.u4.b5
 Release:	1
 License:	Distributable with author's permission
 Group:		Applications/Multimedia
 Source0:	http://dl.sourceforge.net/mac-port/%{name}-%{_ver}.tar.gz
-# NoSource0-md5:	7eab2b9cc4bb696452d6c147976294b5
+# NoSource0-md5:	75716b342e07deae58f56a2522362006
 NoSource:	0
 URL:		http://sourceforge.net/projects/mac-port/
 BuildRequires:	libstdc++-devel
-BuildRequires:	nasm
-ExclusiveArch:	%{ix86}
+%ifarch %{ix86} %{x8664}
+BuildRequires:	yasm
+%endif
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -52,6 +54,8 @@
 %prep
 %setup -q -n %{name}-%{_ver}
 
+sed -i -e 's/-O3 //' configure
+
 %build
 %configure
 %{__make}
@@ -71,18 +75,18 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog NEWS README TODO src/{Credits.txt,History.txt,License.htm,Readme.htm}
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/*.so.*.*
+%attr(755,root,root) %{_bindir}/mac
+%attr(755,root,root) %{_libdir}/libmac.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so
-%{_libdir}/*.la
-%{_includedir}/*
+%attr(755,root,root) %{_libdir}/libmac.so
+%{_libdir}/libmac.la
+%{_includedir}/mac
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/libmac.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -90,6 +94,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2006/12/28 18:24:22  qboosh
+- up to 3.99.u4.b5
+- more archs supported, on x86* uses yasm now (instead of nasm on x86)
+
 Revision 1.7  2005/12/06 07:31:04  luzik
 - Source0 --> NoSource0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mac.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list