michael@0: Summary: DTS Coherent Acoustics decoder library michael@0: Name: libdca michael@0: Version: 0.0.5 michael@0: Release: 6%{?dist} michael@0: URL: http://www.videolan.org/developers/libdca.html michael@0: Group: System Environment/Libraries michael@0: Source: http://download.videolan.org/pub/videolan/libdca/0.0.5/%{name}-%{version}.tar.bz2 michael@0: Patch0: libdca-0.0.5-relsymlinks.patch michael@0: Patch1: libdca-0.0.5-strict-aliasing.patch michael@0: License: GPLv2+ michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) michael@0: michael@0: %description michael@0: libdca is a free library for decoding DTS Coherent Acoustics streams. It is michael@0: released under the terms of the GPL license. The DTS Coherent Acoustics michael@0: standard is used in a variety of applications, including DVD, DTS audio CD and michael@0: radio broadcasting. michael@0: michael@0: %package devel michael@0: Summary: Development files for %{name} michael@0: Group: Development/Libraries michael@0: Obsoletes: libdts-devel < 0.0.2-2 michael@0: Provides: libdts-devel = 0.0.2-2 michael@0: Requires: %{name} = %{version}-%{release} michael@0: Requires: pkgconfig michael@0: michael@0: %description devel michael@0: Development files for %{name}. michael@0: michael@0: Install %{name}-devel if you wish to develop or compile michael@0: applications that use %{name}. michael@0: michael@0: %package tools michael@0: Summary: Various tools for use with %{name} michael@0: Group: Applications/Multimedia michael@0: michael@0: %description tools michael@0: Various tools that use %{name}. michael@0: michael@0: %prep michael@0: %setup -q michael@0: %patch0 -p1 -b .relsymlinks michael@0: %patch1 -p1 -b .aliasing michael@0: iconv -f ISO8859-1 -t UTF-8 AUTHORS > tmp; mv tmp AUTHORS michael@0: michael@0: %build michael@0: %configure --disable-static michael@0: # Get rid of the /usr/lib64 RPATH on 64bit (as of 0.0.5) michael@0: sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool michael@0: sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool michael@0: # Force PIC as applications fail to recompile against the lib on x86_64 without michael@0: %{__make} %{?_smp_mflags} OPT_CFLAGS="$RPM_OPT_FLAGS -fPIC" michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@0: make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p" michael@0: rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: %post -p /sbin/ldconfig michael@0: michael@0: %postun -p /sbin/ldconfig michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %doc AUTHORS COPYING ChangeLog NEWS README michael@0: %{_libdir}/%{name}.so.* michael@0: michael@0: %files tools michael@0: %defattr(-,root,root,-) michael@0: %{_bindir}/* michael@0: %{_mandir}/man1/* michael@0: michael@0: %files devel michael@0: %defattr(-,root,root,-) michael@0: %doc TODO doc/%{name}.txt michael@0: %{_libdir}/pkgconfig/libd??.pc michael@0: %{_includedir}/d??.h michael@0: %{_libdir}/%{name}.so michael@0: michael@0: %changelog michael@0: * Mon Nov 1 2010 Kozinov Ivan - 0.0.5-6 michael@0: - Build for MeeGo 1.1 michael@0: michael@0: * Sat Oct 17 2009 kwizart < kwizart at gmail.com > - 0.0.5-5 michael@0: - Rebuild michael@0: michael@0: * Sun Mar 29 2009 Thorsten Leemhuis - 0.0.5-4 michael@0: - rebuild for new F11 features michael@0: michael@0: * Sun Aug 03 2008 Thorsten Leemhuis 0.0.5-2 michael@0: - Merge freshrpms spec into livna spec for rpmfusion: michael@0: - Update to latest upstream releae 0.0.5 as used by freshrpms michael@0: - Set release to 2 to be higher as both livna and freshrpms latest release michael@0: - Drop x86_64 patch (not needed since we override OPT_CFLAGS anyways) michael@0: - Drop visibility patch, this should be done upstream michael@0: - Drop upstream integrated libtool patch michael@0: - No longer regenerate the autoxxx scripts as this is no longer needed michael@0: - Port strict aliasing patch to 0.0.5 release michael@0: - Add relative symlink creation patch from freshrpms michael@0: - Update license tag in accordance with new license tag guidelines michael@0: michael@0: * Sat Nov 25 2006 Dominik Mierzejewski 0.0.2-3 michael@0: - added patches from gentoo (shared build, strict aliasing and visibility) michael@0: michael@0: * Sat Oct 28 2006 Dominik Mierzejewski 0.0.2-2 michael@0: - renamed to libdca michael@0: - added Obsoletes/Provides michael@0: - simplified autotools call michael@0: michael@0: * Mon Aug 07 2006 Dominik Mierzejewski 0.0.2-1 michael@0: - stop pretending we have a newer version michael@0: michael@0: * Sat Apr 16 2005 Dominik Mierzejewski 0.0.3-0.20040725.1 michael@0: - adapted ArkLinux specfile michael@0: - x86_64 portability patch michael@0: michael@0: * Sun Jul 25 2004 Bernhard Rosenkraenzer 0.0.3-0.20040725.1ark michael@0: - Force -fPIC michael@0: - Update michael@0: michael@0: * Wed Jul 07 2004 Bernhard Rosenkraenzer 0.0.3-0.20040707.1ark michael@0: - initial RPM