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