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