a52dec-vl.spec 3.4 KB

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