libdca/libdca.spec

changeset 0
4f133201e207
child 1
4667f24fe848
equal deleted inserted replaced
-1:000000000000 0:6d407f6dc82a
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)
12
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.
18
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
26
27 %description devel
28 Development files for %{name}.
29
30 Install %{name}-devel if you wish to develop or compile
31 applications that use %{name}.
32
33 %package tools
34 Summary: Various tools for use with %{name}
35 Group: Applications/Multimedia
36
37 %description tools
38 Various tools that use %{name}.
39
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
45
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"
53
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
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post -p /sbin/ldconfig
63
64 %postun -p /sbin/ldconfig
65
66 %files
67 %defattr(-,root,root,-)
68 %doc AUTHORS COPYING ChangeLog NEWS README
69 %{_libdir}/%{name}.so.*
70
71 %files tools
72 %defattr(-,root,root,-)
73 %{_bindir}/*
74 %{_mandir}/man1/*
75
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
82
83 %changelog
84 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.0.5-6
85 - Build for MeeGo 1.1
86
87 * Sat Oct 17 2009 kwizart < kwizart at gmail.com > - 0.0.5-5
88 - Rebuild
89
90 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.0.5-4
91 - rebuild for new F11 features
92
93 * Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.0.5-3
94 - rebuild
95
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
107
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)
110
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
115
116 * Mon Aug 07 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-1
117 - stop pretending we have a newer version
118
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
122
123 * Sun Jul 25 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 0.0.3-0.20040725.1ark
124 - Force -fPIC
125 - Update
126
127 * Wed Jul 07 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 0.0.3-0.20040707.1ark
128 - initial RPM

mercurial