ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/libdca/F-13/libdca.spec
Revision: 1.1
Committed: Sun Aug 3 14:38:57 2008 UTC (4 years, 9 months ago) by thl
Branch: MAIN
CVS Tags: F-10-split, libdca-0_0_5-3_fc10, EL-5-split
Log Message:
initial import from livna

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