flac-vl.spec 7.5 KB

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