a52dec-vl.spec 3.6 KB

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