libdca/libdca.spec

Fri, 11 Mar 2011 21:36:51 +0100

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

Adjust specification build configurations to port packages to MeeGo.

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

mercurial