rpms/a52dec/F-8 a52dec-0.7.4-rpath64.patch, NONE, 1.1 a52dec-configure-optflags.patch, NONE, 1.1 a52dec.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

David Juran juran at rpmfusion.org
Thu Jul 24 13:38:31 CEST 2008


Author: juran

Update of /cvs/free/rpms/a52dec/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv7778/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	a52dec-0.7.4-rpath64.patch a52dec-configure-optflags.patch 
	a52dec.spec 
Log Message:
Initial import


a52dec-0.7.4-rpath64.patch:

--- NEW FILE a52dec-0.7.4-rpath64.patch ---
--- a52dec-0.7.4/configure~	2002-07-28 06:50:42.000000000 +0300
+++ a52dec-0.7.4/configure	2006-02-16 23:03:07.000000000 +0200
@@ -5839,7 +5839,7 @@
 shlibpath_overrides_runpath=unknown
 version_type=none
 dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
 case $host_os in
--- a52dec-0.7.4/aclocal.m4~	2002-07-28 06:50:38.000000000 +0300
+++ a52dec-0.7.4/aclocal.m4	2006-02-16 23:02:38.000000000 +0200
@@ -2141,7 +2141,7 @@
 shlibpath_overrides_runpath=unknown
 version_type=none
 dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
 case $host_os in

a52dec-configure-optflags.patch:

--- NEW FILE a52dec-configure-optflags.patch ---
--- configure~	2002-07-28 06:50:42.000000000 +0300
+++ configure	2003-04-13 17:20:53.000000000 +0300
@@ -2857,13 +2857,13 @@
 
         case "$host" in
     i?86-* | k?-*)
-	case "$host" in
-	i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";;
-	i486-*) OPT_CFLAGS="$CFLAGS -mcpu=i486";;
-	i586-*) OPT_CFLAGS="$CFLAGS -mcpu=pentium";;
-	i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";;
-	k6-*)   OPT_CFLAGS="$CFLAGS -mcpu=k6";;
-	esac
+#	case "$host" in
+#	i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";;
+#	i486-*) OPT_CFLAGS="$CFLAGS -mcpu=i486";;
+#	i586-*) OPT_CFLAGS="$CFLAGS -mcpu=pentium";;
+#	i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";;
+#	k6-*)   OPT_CFLAGS="$CFLAGS -mcpu=k6";;
+#	esac
 	echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
 echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
     SAVE_CFLAGS="$CFLAGS"


--- NEW FILE a52dec.spec ---
Summary: 	A free ATSC A/52 stream decoder
Name: 		a52dec
Version: 	0.7.4
Release: 	11%{?dist}
License: 	GPLv2
Group: 		System Environment/Libraries
URL: 		http://liba52.sourceforge.net/
Source0: 	http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz
Patch0:		a52dec-configure-optflags.patch
Patch1:		a52dec-0.7.4-rpath64.patch
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	%{__perl}

%package devel
Summary:	Development files needed for a52dec
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	djbfft-devel

#---------------------------------------------------------------------

%description
liba52 is a free library for decoding ATSC A/52 streams. The A/52
standard is used in a variety of applications, including digital
television and DVD. It is also known as AC-3. The package also
includes a52dec, a small test program for liba52.

%description devel
liba52 is a free library for decoding ATSC A/52 streams. The A/52
standard is used in a variety of applications, including digital
television and DVD. It is also known as AC-3.
This package contains development files for a52dec.

#---------------------------------------------------------------------

%prep
%setup -q
%patch0
%patch1 -p1
%{__perl} -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \
  configure liba52/configure.incl

#---------------------------------------------------------------------

%build
%configure --enable-shared --disable-static
make %{?_smp_mflags}

#---------------------------------------------------------------------

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=%{buildroot}

#---------------------------------------------------------------------

%clean
rm -rf $RPM_BUILD_ROOT

#---------------------------------------------------------------------

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%exclude %{_libdir}/liba52.la
%doc AUTHORS COPYING ChangeLog HISTORY NEWS TODO
%{_libdir}/liba52.so.*
%{_bindir}/a52dec
%{_bindir}/extract_a52
%{_mandir}/man1/a52dec.1*
%{_mandir}/man1/extract_a52.1*

%files devel
%defattr(-,root,root,-)
%doc doc/liba52.txt
%{_includedir}/a52dec
%{_libdir}/liba52.so

#---------------------------------------------------------------------

%changelog
* Mon Oct  1 2007 David Juran <david at juran.se> - 0.7.4-11
- Fix Licence tag to be GPLv2
- Drop %makeinstall macro
- Drop static archive
- Drop djbfft

* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.7.4-10
- rebuilt for unwind info generation, broken in gcc-4.1.1-21

* Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.7.4-9
- Drop epoch in devel dep, too

* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
- drop epoch

* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist

* Thu Feb 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.4-0.lvn.8
- Avoid standard rpaths on lib64 archs.

* Tue Jul 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.4-0.lvn.7
- Prefer PIC.
- (Build)Require djbfft-devel.
- Include more docs.

* Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.6
- Removed comment after scriptlets
- buildroot -> RPM_BUILD_ROOT

* Mon Apr 14 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.5
- devel package require djbfft (not djbfft-devel)

* Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.4
- Enabled support for djbfft

* Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.3
- Added post and postun scriplet
- moved man pages from devel to main package

* Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.2
- make configure honor optflags
- devel package
- shared library added

* Thu Apr 10 2003 Dams <anvil[AT]livna.org> 
- Initial build.


Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/a52dec/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Jul 2008 10:30:49 -0000	1.1
+++ .cvsignore	24 Jul 2008 11:38:31 -0000	1.2
@@ -0,0 +1 @@
+a52dec-0.7.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/free/rpms/a52dec/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Jul 2008 10:30:49 -0000	1.1
+++ sources	24 Jul 2008 11:38:31 -0000	1.2
@@ -0,0 +1 @@
+caa9f5bc44232dc8aeea773fea56be80  a52dec-0.7.4.tar.gz



More information about the rpmfusion-commits mailing list