flac112-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. %define xmmsinputdir %{_libdir}/xmms/Input
  2. %define srcname flac
  3. Summary: FLAC - Free Lossless Audio Codec
  4. Summary(ja): FLAC - フリーの可逆音声圧縮コーデック
  5. Name: flac112
  6. Version: 1.1.2
  7. Release: 1%{?_dist_release}
  8. License: GPL/LGPL
  9. Group: Applications/Multimedia
  10. Source: http://prdownloads.sourceforge.net/flac/%{srcname}-%{version}.tar.gz
  11. URL: http://flac.sourceforge.net/
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Requires: libogg
  14. BuildRequires: libogg-devel
  15. %ifarch %ix86
  16. BuildRequires: nasm
  17. %endif
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is
  22. similar to MP3, but lossless.
  23. The FLAC project consists of:
  24. * the stream format
  25. * libFLAC - reference encoders and decoders in library form
  26. * flac - a command-line program to encode and decode FLAC files
  27. * metaflac - a command-line metadata editor for FLAC files
  28. * input plugins for various music players
  29. This package contains the FLAC libraries to use applications compiled with
  30. FLAC-1.1.2.
  31. %description -l ja
  32. FLAC (Free Lossless Audio Codec) はフリーの可逆音声圧縮コーデックです。
  33. MP3 に似ていますが、音質が劣化しません。
  34. FLAC プロジェクトは以下により構成されています。
  35. * ストリーム形式
  36. * libFLAC - リファレンスエンコーダ/デコーダを実装するライブラリ
  37. * flac - FLAC ファイルのエンコード/デコードに使用するコマンドライン版
  38. プログラム。
  39. * metaflac - FLAC ファイルのコマンドライン版メタデータエディタ
  40. * 各種音楽再生プログラム用入力プラグイン
  41. このパッケージには、FLAC-1.1.2 でコンパイルされたアプリケーションを使うため
  42. に必要なライブラリが含まれています。
  43. %prep
  44. %setup -q -n %{srcname}-%{version}
  45. %build
  46. %ifarch ppc
  47. %configure --disable-static --disable-asm-optimizations
  48. %else
  49. %configure --disable-static
  50. %endif
  51. %__make %{?_smp_mflags}
  52. %install
  53. %__rm -rf %{buildroot}
  54. %makeinstall \
  55. xmmsinputplugindir=%{buildroot}%{xmmsinputdir}
  56. # remove unpackaged files
  57. rm -rf $RPM_BUILD_ROOT%{_bindir}
  58. rm -rf $RPM_BUILD_ROOT%{_includedir}
  59. rm -rf $RPM_BUILD_ROOT%{_datadir}
  60. rm -rf $RPM_BUILD_ROOT%{_mandir}
  61. rm -rf $RPM_BUILD_ROOT%{_docdir}
  62. rm -rf $RPM_BUILD_ROOT%{_libdir}/xmms
  63. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{la,so}
  64. %clean
  65. %__rm -rf %{buildroot}
  66. %post -p %{_syssbindir}/ldconfig
  67. %postun -p %{_syssbindir}/ldconfig
  68. %files
  69. %defattr(-,root,root)
  70. %doc AUTHORS COPYING* README
  71. %{_libdir}/*.so.*
  72. %changelog
  73. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.2-1vl5
  74. - applied new versioning policy, spec in utf-8
  75. * Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.2-0vl8
  76. - change package-name from flac to flac112
  77. * Sat May 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.2-0vl7
  78. - rebuilt with new toolchain
  79. * Sun Oct 29 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl6
  80. - add '--disable-static' option to %%configure
  81. - remove *.la
  82. * Wed Jul 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl5
  83. - rebuild
  84. * Mon Mar 27 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.2-0vl4
  85. - --disable-asm-optimizations on ppc
  86. * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl3
  87. - rebuild
  88. * Wed Feb 09 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl2
  89. - initialize flac_cfg.stream with NULL to avoid crashing (patch2)
  90. * Sun Feb 06 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  91. - upstream release
  92. - update bmp-plugin.patch
  93. * Thu Feb 03 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl0.0beta
  94. - upstream release
  95. - update bmp-plugin.patch
  96. * Fri Jan 14 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl5
  97. - fix typo
  98. * Sat Dec 18 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl4
  99. - move html docs to devel package
  100. * Wed Dec 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl3
  101. - add input plugin for beepmp based on for xmms (patch1)
  102. - BuildRequires: beepmp-devel >= 0.9.7
  103. - define build_*_plugin macros to build input plugin sub-packages
  104. - update description
  105. * Thu Nov 04 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2
  106. - drop BuildRequires: zlib-devel (was required to build with id3lib)
  107. * Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  108. - upstream release
  109. - drop (Build)Requires: id3lib(-devel)
  110. * Sun Aug 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl0.1
  111. - 1.1.1-beta1
  112. - add BuildRequires: gtk+-devel, zlib-devel
  113. * Mon May 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl3
  114. - xmms-flac
  115. - enable to convert charset from/to EUC-JP-MS (Patch0)
  116. - Requires: glibc >= 2.3.3
  117. * Tue Apr 20 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl2
  118. - fix docs
  119. * Thu Apr 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  120. - first build for Vine Linux
  121. * Mon Mar 31 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  122. - Rebuilt for Red Hat Linux 9.
  123. - Exclude .la files.
  124. - Updated description.
  125. * Tue Mar 11 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  126. - Fix nasm dep to be only for ix86.
  127. * Mon Jan 27 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  128. - Update to 1.1.0.
  129. * Sun Jan 5 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  130. - Rebuilt against the latest id3lib for the xmms plugin.
  131. * Thu Oct 10 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  132. - Fixed location of include files, doh!
  133. * Sat Sep 28 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  134. - Rebuilt for Red Hat Linux 8.0.
  135. * Thu Sep 25 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  136. - Update to 1.0.4.
  137. - Removed obsolete build patch, the xmms plugin builds cleanly at last!
  138. * Thu Jul 4 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  139. - Update to 1.0.3.
  140. * Tue Apr 23 2002 Daniel Resare <noa@resare.com>
  141. - Fixed plugin build when flac is not already installed
  142. * Mon Apr 8 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
  143. - Replaced the hard-coded xmms input path with an expansion.
  144. - Fixed spec (License tag and redundant Group for devel package).
  145. - Fixed defattr for the xmms plugin.
  146. * Sat Apr 6 2002 Daniel Resare <noa@resare.com>
  147. - Update to 1.0.2.
  148. - Splitted out xmms plugin to a separate subpackage.
  149. * Tue Nov 20 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
  150. - Update to 1.0.1.
  151. * Sun Oct 21 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
  152. - Rebuilt for Red Hat 7.2 and added xmms dependency.
  153. * Thu Aug 16 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
  154. - Initial RPM release.
  155. - You cannot rebuild this SRPM easily if you want the xmms plugin.