Fri, 11 Mar 2011 21:36:51 +0100
Adjust specification build configurations to port packages to MeeGo.
1 Name: libdca
2 Summary: DTS Coherent Acoustics decoder library
3 Vendor: Europalab Software
4 Packager: Michael Schloh von Bennewitz
5 Distribution: MeeGo Thirdparty
6 Version: 0.0.5
7 Release: 20101201
8 License: GPLv2+
9 Group: System Environment/Libraries
10 URL: http://www.videolan.org/developers/libdca.html
11 Source: http://download.videolan.org/pub/videolan/libdca/0.0.5/%{name}-%{version}.tar.bz2
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14 %description
15 libdca is a free library for decoding DTS Coherent Acoustics streams. It
16 is released under the terms of the GPL license. The DTS Coherent Acoustics
17 standard is used in a variety of applications, including DVD, DTS audio CD
18 and radio broadcasting.
20 %package devel
21 Summary: Development files for %{name}
22 Vendor: Europalab Software
23 Packager: Michael Schloh von Bennewitz
24 Distribution: MeeGo Thirdparty
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27 Requires: pkgconfig
29 %description devel
30 libdca is a free library for decoding DTS Coherent Acoustics streams. It
31 is released under the terms of the GPL license. The DTS Coherent Acoustics
32 standard is used in a variety of applications, including DVD, DTS audio CD
33 and radio broadcasting.
35 This package provides the development files. Install %{name}-devel
36 if you wish to develop or compile applications that use %{name}.
38 %package tools
39 Summary: Various tools for use with %{name}
40 Vendor: Europalab Software
41 Packager: Michael Schloh von Bennewitz
42 Distribution: MeeGo Thirdparty
43 Group: Applications/Multimedia
45 %description tools
46 libdca is a free library for decoding DTS Coherent Acoustics streams. It
47 is released under the terms of the GPL license. The DTS Coherent Acoustics
48 standard is used in a variety of applications, including DVD, DTS audio CD
49 and radio broadcasting.
51 This package provides various tools useful with %{name}.
53 %prep
54 %setup -q
56 %build
57 %configure
59 # Remove the RPATH configuration
60 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
61 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
63 %{__make} %{?_smp_mflags}
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 make DESTDIR=$RPM_BUILD_ROOT install
69 %clean
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
76 %files
77 %defattr(-,root,root,-)
78 %doc AUTHORS COPYING ChangeLog NEWS README
79 %{_libdir}/%{name}.so.*
81 %files tools
82 %defattr(-,root,root,-)
83 %{_bindir}/*
84 %{_mandir}/man1/*
86 %files devel
87 %defattr(-,root,root,-)
88 %doc TODO doc/%{name}.txt
89 %{_includedir}/d??.h
90 %{_libdir}/libdts.a
91 %{_libdir}/%{name}.a
92 %{_libdir}/%{name}.la
93 %{_libdir}/%{name}.so
94 %{_libdir}/pkgconfig/libd??.pc
96 %changelog
97 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.0.5-20101201
98 - Adjust packaging and patch logic
100 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.0.5-6
101 - Build for MeeGo 1.1
103 * Sat Oct 17 2009 kwizart < kwizart at gmail.com > - 0.0.5-5
104 - Rebuild
106 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.0.5-4
107 - rebuild for new F11 features
109 * Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.0.5-3
110 - rebuild
112 * Fri Nov 2 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.0.5-2
113 - Merge freshrpms spec into livna spec for rpmfusion:
114 - Update to latest upstream releae 0.0.5 as used by freshrpms
115 - Set release to 2 to be higher as both livna and freshrpms latest release
116 - Drop x86_64 patch (not needed since we override OPT_CFLAGS anyways)
117 - Drop visibility patch, this should be done upstream
118 - Drop upstream integrated libtool patch
119 - No longer regenerate the autoxxx scripts as this is no longer needed
120 - Port strict aliasing patch to 0.0.5 release
121 - Add relative symlink creation patch from freshrpms
122 - Update license tag in accordance with new license tag guidelines
124 * Sat Nov 25 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-3
125 - added patches from gentoo (shared build, strict aliasing and visibility)
127 * Sat Oct 28 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-2
128 - renamed to libdca
129 - added Obsoletes/Provides
130 - simplified autotools call
132 * Mon Aug 07 2006 Dominik Mierzejewski <rpm@greysector.net> 0.0.2-1
133 - stop pretending we have a newer version
135 * Sat Apr 16 2005 Dominik Mierzejewski <rpm@greysector.net> 0.0.3-0.20040725.1
136 - adapted ArkLinux specfile
137 - x86_64 portability patch
139 * Sun Jul 25 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 0.0.3-0.20040725.1ark
140 - Force -fPIC
141 - Update
143 * Wed Jul 07 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 0.0.3-0.20040707.1ark
144 - initial RPM