libdca/libdca.spec

changeset 0
4f133201e207
child 1
4667f24fe848
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libdca/libdca.spec	Fri Mar 11 21:30:26 2011 +0100
     1.3 @@ -0,0 +1,128 @@
     1.4 +Summary: DTS Coherent Acoustics decoder library
     1.5 +Name: libdca
     1.6 +Version: 0.0.5
     1.7 +Release: 6%{?dist}
     1.8 +URL: http://www.videolan.org/developers/libdca.html
     1.9 +Group: System Environment/Libraries
    1.10 +Source: http://download.videolan.org/pub/videolan/libdca/0.0.5/%{name}-%{version}.tar.bz2
    1.11 +Patch0: libdca-0.0.5-relsymlinks.patch
    1.12 +Patch1: libdca-0.0.5-strict-aliasing.patch
    1.13 +License: GPLv2+
    1.14 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1.15 +
    1.16 +%description
    1.17 +libdca is a free library for decoding DTS Coherent Acoustics streams. It is
    1.18 +released under the terms of the GPL license. The DTS Coherent Acoustics
    1.19 +standard is used in a variety of applications, including DVD, DTS audio CD and
    1.20 +radio broadcasting.
    1.21 +
    1.22 +%package devel
    1.23 +Summary: Development files for %{name}
    1.24 +Group: Development/Libraries
    1.25 +Obsoletes: libdts-devel < 0.0.2-2
    1.26 +Provides: libdts-devel = 0.0.2-2
    1.27 +Requires: %{name} = %{version}-%{release}
    1.28 +Requires: pkgconfig
    1.29 +
    1.30 +%description devel
    1.31 +Development files for %{name}.
    1.32 +
    1.33 +Install %{name}-devel if you wish to develop or compile
    1.34 +applications that use %{name}.
    1.35 +
    1.36 +%package tools
    1.37 +Summary: Various tools for use with %{name}
    1.38 +Group: Applications/Multimedia
    1.39 +
    1.40 +%description tools
    1.41 +Various tools that use %{name}.
    1.42 +
    1.43 +%prep
    1.44 +%setup -q
    1.45 +%patch0 -p1 -b .relsymlinks
    1.46 +%patch1 -p1 -b .aliasing
    1.47 +iconv -f ISO8859-1 -t UTF-8 AUTHORS > tmp; mv tmp AUTHORS
    1.48 +
    1.49 +%build
    1.50 +%configure --disable-static
    1.51 +# Get rid of the /usr/lib64 RPATH on 64bit (as of 0.0.5)
    1.52 +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
    1.53 +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
    1.54 +# Force PIC as applications fail to recompile against the lib on x86_64 without
    1.55 +%{__make} %{?_smp_mflags} OPT_CFLAGS="$RPM_OPT_FLAGS -fPIC"
    1.56 +
    1.57 +%install
    1.58 +rm -rf $RPM_BUILD_ROOT
    1.59 +make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
    1.60 +rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la
    1.61 +
    1.62 +%clean
    1.63 +rm -rf $RPM_BUILD_ROOT
    1.64 +
    1.65 +%post -p /sbin/ldconfig
    1.66 +
    1.67 +%postun -p /sbin/ldconfig
    1.68 +
    1.69 +%files
    1.70 +%defattr(-,root,root,-)
    1.71 +%doc AUTHORS COPYING ChangeLog NEWS README
    1.72 +%{_libdir}/%{name}.so.*
    1.73 +
    1.74 +%files tools
    1.75 +%defattr(-,root,root,-)
    1.76 +%{_bindir}/*
    1.77 +%{_mandir}/man1/*
    1.78 +
    1.79 +%files devel
    1.80 +%defattr(-,root,root,-)
    1.81 +%doc TODO doc/%{name}.txt
    1.82 +%{_libdir}/pkgconfig/libd??.pc
    1.83 +%{_includedir}/d??.h
    1.84 +%{_libdir}/%{name}.so
    1.85 +
    1.86 +%changelog
    1.87 +* Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.0.5-6
    1.88 +- Build for MeeGo 1.1
    1.89 +
    1.90 +* Sat Oct 17 2009 kwizart < kwizart at gmail.com > - 0.0.5-5
    1.91 +- Rebuild
    1.92 +
    1.93 +* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.0.5-4
    1.94 +- rebuild for new F11 features
    1.95 +
    1.96 +* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.0.5-3
    1.97 +- rebuild
    1.98 +
    1.99 +* Fri Nov  2 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.0.5-2
   1.100 +- Merge freshrpms spec into livna spec for rpmfusion:
   1.101 +- Update to latest upstream releae 0.0.5 as used by freshrpms
   1.102 +- Set release to 2 to be higher as both livna and freshrpms latest release
   1.103 +- Drop x86_64 patch (not needed since we override OPT_CFLAGS anyways)
   1.104 +- Drop visibility patch, this should be done upstream
   1.105 +- Drop upstream integrated libtool patch
   1.106 +- No longer regenerate the autoxxx scripts as this is no longer needed
   1.107 +- Port strict aliasing patch to 0.0.5 release
   1.108 +- Add relative symlink creation patch from freshrpms
   1.109 +- Update license tag in accordance with new license tag guidelines
   1.110 +
   1.111 +* Sat Nov 25 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-3
   1.112 +- added patches from gentoo (shared build, strict aliasing and visibility)
   1.113 +
   1.114 +* Sat Oct 28 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-2
   1.115 +- renamed to libdca
   1.116 +- added Obsoletes/Provides
   1.117 +- simplified autotools call
   1.118 +
   1.119 +* Mon Aug 07 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-1
   1.120 +- stop pretending we have a newer version
   1.121 +
   1.122 +* Sat Apr 16 2005 Dominik Mierzejewski <rpm@greysector.net> 0.0.3-0.20040725.1
   1.123 +- adapted ArkLinux specfile
   1.124 +- x86_64 portability patch
   1.125 +
   1.126 +* Sun Jul 25 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 0.0.3-0.20040725.1ark
   1.127 +- Force -fPIC
   1.128 +- Update
   1.129 +
   1.130 +* Wed Jul 07 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 0.0.3-0.20040707.1ark
   1.131 +- initial RPM

mercurial