flac-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. Name: flac
  2. Summary: FLAC - Free Lossless Audio Codec
  3. Summary(ja): FLAC - フリーの可逆音声圧縮コーデック
  4. Version: 1.3.0
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Multimedia
  7. License: BSD and GPLv2+
  8. URL: http://flac.sourceforge.net/
  9. Source: http://prdownloads.sourceforge.net/flac/%{name}-%{version}%{?extraver:-%extraver}.tar.xz
  10. Patch1: flac-metaflac_strcat.patch
  11. Patch2: flac-no_rice_asm.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: libogg-devel
  14. BuildRequires: automake autoconf libtool gettext-devel
  15. %ifarch %ix86
  16. # 2.0 supports symbol visibility
  17. BuildRequires: nasm >= 2.0
  18. %endif
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is
  23. similar to MP3, but lossless.
  24. The FLAC project consists of:
  25. * the stream format
  26. * libFLAC - reference encoders and decoders in library form
  27. * flac - a command-line program to encode and decode FLAC files
  28. * metaflac - a command-line metadata editor for FLAC files
  29. %description -l ja
  30. FLAC (Free Lossless Audio Codec) はフリーの可逆音声圧縮コーデックです。
  31. MP3 に似ていますが、音質が劣化しません。
  32. FLAC プロジェクトは以下により構成されています。
  33. * ストリーム形式
  34. * libFLAC - リファレンスエンコーダ/デコーダを実装するライブラリ
  35. * flac - FLAC ファイルのエンコード/デコードに使用するコマンドライン版
  36. プログラム。
  37. * metaflac - FLAC ファイルのコマンドライン版メタデータエディタ
  38. %package devel
  39. Summary: Development libraries and header files from FLAC
  40. Summary(ja): FLAC アプリケーション開発用ライブラリ及びヘッダファイル
  41. Group: Development/Libraries
  42. Requires: %{name} = %{version}
  43. Requires: pkgconfig
  44. %description devel
  45. This package contains all the files needed to develop applications that
  46. will use the Free Lossless Audio Codec (FLAC).
  47. %description -l ja devel
  48. このパッケージには FLAC (Free Lossless Audio Codec) を扱うアプリケーションを
  49. 開発するために必要なライブラリ及びヘッダファイルが含まれています。
  50. %prep
  51. %define srcver %{version}%{?extraver:-%extraver}
  52. %setup -q -n %{name}-%{srcver}
  53. %patch1 -p1 -b .metaflac-strcat
  54. %patch2 -p1 -b .no_rice_asm
  55. %build
  56. ./autogen.sh -V
  57. %configure \
  58. --disable-static \
  59. --disable-xmms-plugin \
  60. %ifarch ppc
  61. --disable-asm-optimizations \
  62. %endif
  63. --disable-thorough-tests
  64. make %{?_smp_mflags}
  65. %install
  66. %__rm -rf %{buildroot}
  67. make install DESTDIR=%{buildroot}
  68. # remove unneeded files
  69. %{_bindir}/find %{buildroot} -name "*.la" -exec %__rm -f "{}" \;
  70. %{_bindir}/find doc/ -name "Makefile*" -exec %__rm -f "{}" \;
  71. %check
  72. make -C test check &> /dev/null
  73. %clean
  74. %__rm -rf %{buildroot}
  75. %post -p %{_syssbindir}/ldconfig
  76. %postun -p %{_syssbindir}/ldconfig
  77. %files
  78. %defattr(-,root,root)
  79. %doc AUTHORS COPYING.* README
  80. %{_bindir}/*
  81. %{_libdir}/*.so.*
  82. %{_mandir}/*/*
  83. %files devel
  84. %defattr(-,root,root)
  85. %doc doc/html COPYING.*
  86. %{_includedir}/*
  87. %{_libdir}/*.so
  88. %{_libdir}/pkgconfig/*.pc
  89. %{_datadir}/aclocal/*.m4
  90. %changelog
  91. * Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1
  92. - new upstream release
  93. - remove Patch1-6
  94. - add Patch1,2 from Fedora
  95. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-2
  96. - rebuilt with rpm-4.8.1 for pkg-config
  97. - added Patch1-6 from Fedora
  98. * Mon Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1
  99. - applied new versioning policy
  100. - spec in UTF-8
  101. * Sat Sep 22 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.2.1-0vl1
  102. - new upstream release
  103. - drop bmp-plugin.patch (patch1)
  104. - disable xmms plugin
  105. * Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1
  106. - new upsteram release
  107. - dropped Patch2 (merged into upstream)
  108. - do not build beepmp plugin
  109. * Sat May 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.2-0vl7
  110. - rebuilt with new toolchain
  111. * Sun Oct 29 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl6
  112. - add '--disable-static' option to %%configure
  113. - remove *.la
  114. * Wed Jul 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl5
  115. - rebuild
  116. * Mon Mar 27 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.2-0vl4
  117. - --disable-asm-optimizations on ppc
  118. * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl3
  119. - rebuild
  120. * Wed Feb 09 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl2
  121. - initialize flac_cfg.stream with NULL to avoid crashing (patch2)
  122. * Sun Feb 06 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  123. - upstream release
  124. - update bmp-plugin.patch
  125. * Thu Feb 03 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl0.0beta
  126. - upstream release
  127. - update bmp-plugin.patch
  128. * Fri Jan 14 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl5
  129. - fix typo
  130. * Sat Dec 18 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl4
  131. - move html docs to devel package
  132. * Wed Dec 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl3
  133. - add input plugin for beepmp based on for xmms (patch1)
  134. - BuildRequires: beepmp-devel >= 0.9.7
  135. - define build_*_plugin macros to build input plugin sub-packages
  136. - update description
  137. * Thu Nov 04 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2
  138. - drop BuildRequires: zlib-devel (was required to build with id3lib)
  139. * Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  140. - upstream release
  141. - drop (Build)Requires: id3lib(-devel)
  142. * Sun Aug 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl0.1
  143. - 1.1.1-beta1
  144. - add BuildRequires: gtk+-devel, zlib-devel
  145. * Mon May 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl3
  146. - xmms-flac
  147. - enable to convert charset from/to EUC-JP-MS (Patch0)
  148. - Requires: glibc >= 2.3.3
  149. * Tue Apr 20 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl2
  150. - fix docs
  151. * Thu Apr 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  152. - first build for Vine Linux
  153. * Mon Mar 31 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  154. - Rebuilt for Red Hat Linux 9.
  155. - Exclude .la files.
  156. - Updated description.
  157. * Tue Mar 11 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  158. - Fix nasm dep to be only for ix86.
  159. * Mon Jan 27 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  160. - Update to 1.1.0.
  161. * Sun Jan 5 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  162. - Rebuilt against the latest id3lib for the xmms plugin.
  163. * Thu Oct 10 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  164. - Fixed location of include files, doh!
  165. * Sat Sep 28 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  166. - Rebuilt for Red Hat Linux 8.0.
  167. * Wed Sep 25 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  168. - Update to 1.0.4.
  169. - Removed obsolete build patch, the xmms plugin builds cleanly at last!
  170. * Thu Jul 4 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  171. - Update to 1.0.3.
  172. * Tue Apr 23 2002 Daniel Resare <noa@resare.com>
  173. - Fixed plugin build when flac is not already installed
  174. * Mon Apr 8 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  175. - Replaced the hard-coded xmms input path with an expansion.
  176. - Fixed spec (License tag and redundant Group for devel package).
  177. - Fixed defattr for the xmms plugin.
  178. * Sat Apr 6 2002 Daniel Resare <noa@resare.com>
  179. - Update to 1.0.2.
  180. - Splitted out xmms plugin to a separate subpackage.
  181. * Tue Nov 20 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
  182. - Update to 1.0.1.
  183. * Sun Oct 21 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
  184. - Rebuilt for Red Hat 7.2 and added xmms dependency.
  185. * Thu Aug 16 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
  186. - Initial RPM release.
  187. - You cannot rebuild this SRPM easily if you want the xmms plugin.