libdca/libdca.spec

Fri, 11 Mar 2011 21:30:26 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:30:26 +0100
changeset 0
4f133201e207
child 1
4667f24fe848
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

     1 Summary: DTS Coherent Acoustics decoder library
     2 Name: libdca
     3 Version: 0.0.5
     4 Release: 6%{?dist}
     5 URL: http://www.videolan.org/developers/libdca.html
     6 Group: System Environment/Libraries
     7 Source: http://download.videolan.org/pub/videolan/libdca/0.0.5/%{name}-%{version}.tar.bz2
     8 Patch0: libdca-0.0.5-relsymlinks.patch
     9 Patch1: libdca-0.0.5-strict-aliasing.patch
    10 License: GPLv2+
    11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    13 %description
    14 libdca is a free library for decoding DTS Coherent Acoustics streams. It is
    15 released under the terms of the GPL license. The DTS Coherent Acoustics
    16 standard is used in a variety of applications, including DVD, DTS audio CD and
    17 radio broadcasting.
    19 %package devel
    20 Summary: Development files for %{name}
    21 Group: Development/Libraries
    22 Obsoletes: libdts-devel < 0.0.2-2
    23 Provides: libdts-devel = 0.0.2-2
    24 Requires: %{name} = %{version}-%{release}
    25 Requires: pkgconfig
    27 %description devel
    28 Development files for %{name}.
    30 Install %{name}-devel if you wish to develop or compile
    31 applications that use %{name}.
    33 %package tools
    34 Summary: Various tools for use with %{name}
    35 Group: Applications/Multimedia
    37 %description tools
    38 Various tools that use %{name}.
    40 %prep
    41 %setup -q
    42 %patch0 -p1 -b .relsymlinks
    43 %patch1 -p1 -b .aliasing
    44 iconv -f ISO8859-1 -t UTF-8 AUTHORS > tmp; mv tmp AUTHORS
    46 %build
    47 %configure --disable-static
    48 # Get rid of the /usr/lib64 RPATH on 64bit (as of 0.0.5)
    49 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
    50 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
    51 # Force PIC as applications fail to recompile against the lib on x86_64 without
    52 %{__make} %{?_smp_mflags} OPT_CFLAGS="$RPM_OPT_FLAGS -fPIC"
    54 %install
    55 rm -rf $RPM_BUILD_ROOT
    56 make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
    57 rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la
    59 %clean
    60 rm -rf $RPM_BUILD_ROOT
    62 %post -p /sbin/ldconfig
    64 %postun -p /sbin/ldconfig
    66 %files
    67 %defattr(-,root,root,-)
    68 %doc AUTHORS COPYING ChangeLog NEWS README
    69 %{_libdir}/%{name}.so.*
    71 %files tools
    72 %defattr(-,root,root,-)
    73 %{_bindir}/*
    74 %{_mandir}/man1/*
    76 %files devel
    77 %defattr(-,root,root,-)
    78 %doc TODO doc/%{name}.txt
    79 %{_libdir}/pkgconfig/libd??.pc
    80 %{_includedir}/d??.h
    81 %{_libdir}/%{name}.so
    83 %changelog
    84 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.0.5-6
    85 - Build for MeeGo 1.1
    87 * Sat Oct 17 2009 kwizart < kwizart at gmail.com > - 0.0.5-5
    88 - Rebuild
    90 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.0.5-4
    91 - rebuild for new F11 features
    93 * Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.0.5-3
    94 - rebuild
    96 * Fri Nov  2 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.0.5-2
    97 - Merge freshrpms spec into livna spec for rpmfusion:
    98 - Update to latest upstream releae 0.0.5 as used by freshrpms
    99 - Set release to 2 to be higher as both livna and freshrpms latest release
   100 - Drop x86_64 patch (not needed since we override OPT_CFLAGS anyways)
   101 - Drop visibility patch, this should be done upstream
   102 - Drop upstream integrated libtool patch
   103 - No longer regenerate the autoxxx scripts as this is no longer needed
   104 - Port strict aliasing patch to 0.0.5 release
   105 - Add relative symlink creation patch from freshrpms
   106 - Update license tag in accordance with new license tag guidelines
   108 * Sat Nov 25 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-3
   109 - added patches from gentoo (shared build, strict aliasing and visibility)
   111 * Sat Oct 28 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-2
   112 - renamed to libdca
   113 - added Obsoletes/Provides
   114 - simplified autotools call
   116 * Mon Aug 07 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-1
   117 - stop pretending we have a newer version
   119 * Sat Apr 16 2005 Dominik Mierzejewski <rpm@greysector.net> 0.0.3-0.20040725.1
   120 - adapted ArkLinux specfile
   121 - x86_64 portability patch
   123 * Sun Jul 25 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 0.0.3-0.20040725.1ark
   124 - Force -fPIC
   125 - Update
   127 * Wed Jul 07 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 0.0.3-0.20040707.1ark
   128 - initial RPM

mercurial