SFElibmp4v2.spec: add IPS package name
authorjurikm
Sun, 16 Oct 2011 20:52:11 +0000
changeset 3868 152083b85f16
parent 3867 1f6e95cc6513
child 3869 7f62ad5a160c
SFElibmp4v2.spec: add IPS package name base-specs/libmp4v2.spec: fix sun studio build
ChangeLog
SFElibmp4v2.spec
base-specs/libmp4v2.spec
patches/libmp4v2-01-sunpro.diff
--- a/ChangeLog	Sun Oct 16 20:47:33 2011 +0000
+++ b/ChangeLog	Sun Oct 16 20:52:11 2011 +0000
@@ -3,6 +3,8 @@
 	* SFEfreeglut.spec: add IPS package name
 	* SFEyasm.spec: add IPS package name
 	* encumbered/SFEgpac.spec: add IPS package name
+	* SFElibmp4v2.spec: add IPS package name
+	* base-specs/libmp4v2.spec: fix sun studio build
 
 2011-10-14 Ken Mays <[email protected]>
 
--- a/SFElibmp4v2.spec	Sun Oct 16 20:47:33 2011 +0000
+++ b/SFElibmp4v2.spec	Sun Oct 16 20:52:11 2011 +0000
@@ -13,6 +13,7 @@
 %use libmp4v2 = libmp4v2.spec
 
 Name:                    SFElibmp4v2
+IPS_Package_Name:	library/video/libmp4v2
 Summary:                 %{libmp4v2.summary}
 License:                 GPLv2
 SUNW_Copyright:          libmp4v2.copyright
@@ -79,5 +80,7 @@
 %{_includedir}/*
 
 %changelog
+* Sun Oct 16 2011 - Milan Jurik
+- add IPS package name
 * Fri Aug 21 2009 - Milan Jurik
 - Initial version
--- a/base-specs/libmp4v2.spec	Sun Oct 16 20:47:33 2011 +0000
+++ b/base-specs/libmp4v2.spec	Sun Oct 16 20:52:11 2011 +0000
@@ -12,10 +12,12 @@
 Summary:                 Library providing an API to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems
 Version:                 %{src_ver}
 Source:                  %{src_url}/%{src_name}-%{version}.tar.bz2
+Patch1:		libmp4v2-01-sunpro.diff
 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
 
 %prep
 %setup -q -n %{src_name}-%{version}
+%patch1 -p1
 
 %build
 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
@@ -30,6 +32,11 @@
     export LDFLAGS="$LDFLAGS -m64"
 fi
 
+libtoolize --force
+aclocal
+automake -a -c -f
+autoconf
+
 ./configure --prefix=%{_prefix} --mandir=%{_mandir} \
             --libdir=%{_libdir}              \
             --libexecdir=%{_libexecdir}      \
@@ -47,6 +54,8 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Sun Oct 16 2011 - Milan Jurik
+- fix sun studio build
 * Fri Jun 18 2010 - Milan Jurik
 - fix 64-bit build
 * Fri Aug 21 2009 - Milan Jurik
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/libmp4v2-01-sunpro.diff	Sun Oct 16 20:52:11 2011 +0000
@@ -0,0 +1,11 @@
+--- mp4v2-1.9.1/GNUmakefile.am	2009-07-14 01:07:24.000000000 +0200
++++ mp4v2-1.9.1/GNUmakefile.am	2011-10-11 16:38:52.012290904 +0200
+@@ -279,7 +279,7 @@
+ ###############################################################################
+ 
+ MK_CXX_ARCH =
+-MK_CXX_W    = -Wall -Wformat
++MK_CXX_W    =
+ MK_CXX_D    =
+ 
+ MK_CXX_I = \