a52dec-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Name: a52dec
  2. Version: 0.7.4
  3. Release: 6%{?_dist_release}
  4. Summary: ATSC A/52 decoding library
  5. Summary(ja): ATSC A/52 デコーディングライブラリ
  6. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: http://liba52.sourceforge.net
  9. Source: a52dec-%{version}.tar.gz
  10. Patch0: a52dec-configure-optflags.patch
  11. Patch1: a52dec-0.7.4-rpath64.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Packager: TOSHI <vine-jp@mail.goo.ne.jp>
  14. %description
  15. liba52 is a free library for decoding ATSC A/52 streams.
  16. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3.
  17. %description -l ja
  18. liba52 は、ATSC A/52 ストリームのデコード用フリーライブラリです。
  19. デジタルテレビや DVD を含む、さまざまなアプリケーションは A/52 標準で使用されています。
  20. %package devel
  21. Summary: Development libraries for liba52
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Provides: liba52-devel
  25. %description devel
  26. liba52 is a free library for decoding ATSC A/52 streams.
  27. This package contains development files for a52dec.
  28. %prep
  29. %setup -q
  30. %patch0
  31. %patch1 -p1
  32. %__perl -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \
  33. configure liba52/configure.incl
  34. %build
  35. %configure \
  36. --prefix=%{_prefix} \
  37. --disable-static \
  38. --enable-shared
  39. %{__make} %{?_smp_mflags}
  40. %install
  41. %{__rm} -rf ${_RPM_BUILD_ROOT}
  42. %makeinstall
  43. # remove unpackaged files
  44. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  45. %clean
  46. %{__rm} -rf ${_RPM_BUILD_ROOT}
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root)
  51. %doc AUTHORS COPYING ChangeLog HISTORY NEWS TODO
  52. %{_libdir}/liba52.so.*
  53. %{_bindir}/a52dec
  54. %{_bindir}/extract_a52
  55. %{_mandir}/man1/a52dec.1*
  56. %{_mandir}/man1/extract_a52.1*
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %doc doc/liba52.txt
  60. %{_includedir}/a52dec
  61. %{_libdir}/liba52.so
  62. %changelog
  63. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-6
  64. - change release to sync with self-build-a52dec
  65. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-5
  66. - change release to sync with self-build-a52dec
  67. * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-4
  68. - dropped some tags:
  69. - Autoprov: on
  70. - Autoreq: on
  71. - Prefix: %%{_prefix}
  72. - s/-prefer-non-pic\b/-prefer-pic/ in configure liba52/configure.incl
  73. - changed configure options: --disable-static
  74. - removed a static library: liba52.{la,a}
  75. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-3
  76. - change release to sync with self-build-a52dec
  77. * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-2
  78. - spec in utf8
  79. - remove *.la
  80. * Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7.4-1
  81. - apply new versioning policy
  82. * Sun Mar 9 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-0vl2
  83. - s/GPL/GPLv2/
  84. - change to System Environment/Libraries
  85. - separate devel
  86. - apply a52dec-configure-optflags.patch
  87. - apply a52dec-0.7.4-rpath64.patch
  88. * Sat Feb 23 2008 TOSHI <vine-jp@mail.goo.ne.jp> 0.7.4-0vl1
  89. - initial build for Vine Linux
  90. # end of file