source: projects/specs/trunk/f/flac/flac-vl.spec @ 8758

Revision 8758, 7.5 KB checked in by Takemikaduchi, 10 years ago (diff)

update or rebuild

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