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

Revision 9139, 7.5 KB checked in by Takemikaduchi, 9 years ago (diff)

dvipng, tuxtype2: rebuild
others: new upstream release

Line 
1Name:           flac
2Summary:        FLAC - Free Lossless Audio Codec
3Summary(ja):    FLAC - フリーの可逆音声圧縮コーデック
4Version:        1.3.1
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
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: libogg-devel
15BuildRequires: automake autoconf libtool gettext-devel
16%ifarch %ix86
17# 2.0 supports symbol visibility
18BuildRequires:  nasm >= 2.0
19%endif
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23
24%description
25FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is
26similar to MP3, but lossless.
27
28The 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
36FLAC (Free Lossless Audio Codec) はフリーの可逆音声圧縮コーデックです。
37MP3 に似ていますが、音質が劣化しません。
38
39FLAC プロジェクトは以下により構成されています。
40
41  * ストリーム形式
42  * libFLAC  - リファレンスエンコーダ/デコーダを実装するライブラリ
43  * flac     - FLAC ファイルのエンコード/デコードに使用するコマンドライン版
44               プログラム。
45  * metaflac - FLAC ファイルのコマンドライン版メタデータエディタ
46
47%package devel
48Summary:        Development libraries and header files from FLAC
49Summary(ja):    FLAC アプリケーション開発用ライブラリ及びヘッダファイル
50Group:          Development/Libraries
51Requires:       %{name} = %{version}
52Requires:       pkgconfig
53
54%description devel
55This package contains all the files needed to develop applications that
56will 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
69./autogen.sh -V
70
71%configure \
72    --disable-static \
73    --disable-xmms-plugin \
74%ifarch ppc
75    --disable-asm-optimizations \
76%endif
77    --disable-thorough-tests
78
79make %{?_smp_mflags}
80
81%install
82%__rm -rf %{buildroot}
83make install DESTDIR=%{buildroot}
84
85# remove unneeded files
86%{_bindir}/find %{buildroot} -name "*.la" -exec %__rm -f "{}" \;
87%{_bindir}/find doc/ -name "Makefile*" -exec %__rm -f "{}" \;
88
89%check
90make -C test check &> /dev/null
91
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
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
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
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
129* Mon Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1
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
224* Wed Sep 25 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
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
Note: See TracBrowser for help on using the repository browser.