source: projects/specs/branches/6/c/cdparanoia/cdparanoia-vl.spec @ 3445

Revision 3445, 5.2 KB checked in by inagaki, 13 years ago (diff)

updated: cdparanoia

Line 
1Name: cdparanoia
2Summary: A Compact Disc Digital Audio (CDDA) extraction tool (or ripper).
3Summary(ja): 音楽 CD (CDDA) 用の抽出ツール
4Version: 10.2
5Release: 2%{?_dist_release}
6
7Group: Applications/Multimedia
8License: GPLv2 and LGPLv2
9URL: http://www.xiph.org/paranoia/index.html
10
11Source: http://www.xiph.org/paranoia/download/%{name}-III-%{version}.src.tgz
12Patch0: cdparanoia-fPIC.patch
13# Patch from upstream to fix cdda_interface.h C++ incompatibility ("private")
14# https://trac.xiph.org/changeset/15338
15# https://bugzilla.redhat.com/show_bug.cgi?id=463009
16Patch1: cdparanoia-10.2-#463009.patch
17#Patch1: cdparanoia-gcc4-build.patch
18
19BuildRoot: %{_tmppath}/%{name}-%{version}-root
20
21%description
22Cdparanoia (Paranoia III) reads digital audio directly from a CD, then
23writes the data to a file or pipe in WAV, AIFC or raw 16 bit linear
24PCM format.  Cdparanoia doesn't contain any extra features (like the ones
25included in the cdda2wav sampling utility).  Instead, cdparanoia's strength
26lies in its ability to handle a variety of hardware, including inexpensive
27drives prone to misalignment, frame jitter and loss of streaming during
28atomic reads.  Cdparanoia is also good at reading and repairing data from
29damaged CDs.
30
31%package devel
32Summary: Development tools for libcdda_paranoia (Paranoia III).
33Summary(ja): libcdda_paranoia (Paranoia III) の開発用ファイル
34Group: Development/Libraries
35License: LGPLv2
36Requires: %{name} = %{version}
37
38%description devel
39The cdparanoia-devel package contains the static libraries and header
40files needed for developing applications to read CD Digital Audio disks.
41
42%prep
43%setup -q -n %{name}-III-%{version}
44%patch1 -p3 -b .#463009
45
46%build
47export OPT="${CFLAGS:-%optflags} -O0 -Wno-pointer-sign -Wno-unused -Werror-implicit-function-declaration"
48%configure --includedir=%{_includedir}/cdda
49make OPT="$OPT"
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54install -d $RPM_BUILD_ROOT%{_bindir}
55install -d $RPM_BUILD_ROOT%{_includedir}/cdda
56install -d $RPM_BUILD_ROOT%{_libdir}
57install -d $RPM_BUILD_ROOT%{_mandir}/man1
58install -m 0755 cdparanoia $RPM_BUILD_ROOT%{_bindir}
59install -m 0644 cdparanoia.1 $RPM_BUILD_ROOT%{_mandir}/man1/
60install -m 0644 utils.h paranoia/cdda_paranoia.h interface/cdda_interface.h \
61        $RPM_BUILD_ROOT%{_includedir}/cdda
62install -m 0755 paranoia/libcdda_paranoia.so.0.10.? \
63        interface/libcdda_interface.so.0.10.? \
64        $RPM_BUILD_ROOT%{_libdir}
65install -m 0755 paranoia/libcdda_paranoia.a interface/libcdda_interface.a \
66        $RPM_BUILD_ROOT%{_libdir}
67install -d $RPM_BUILD_ROOT%{_mandir}/ja/man1
68install -m 0644 cdparanoia.1.jp $RPM_BUILD_ROOT%{_mandir}/ja/man1/cdparanoia.1
69
70/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}
71
72pushd $RPM_BUILD_ROOT%{_libdir}
73ln -s libcdda_paranoia.so.0.10.? libcdda_paranoia.so
74ln -s libcdda_interface.so.0.10.? libcdda_interface.so
75popd
76
77%post -p /sbin/ldconfig
78
79%postun -p /sbin/ldconfig
80
81%clean
82[ "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" ] && rm -rf "$RPM_BUILD_ROOT"
83
84%files
85%defattr(-,root,root)
86%doc README COPYING-GPL COPYING-LGPL
87%{_bindir}/*
88%{_libdir}/lib*.so.*
89%{_mandir}/man1/*
90%{_mandir}/ja/man1/*
91
92%files devel
93%defattr(-,root,root)
94%{_includedir}/cdda
95%{_libdir}/lib*.so
96%{_libdir}/*.a
97
98%changelog
99* Sun Apr 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 10.2-2
100- rebuilt with new toolchain
101- added Japanese summary
102
103* Sun Aug  9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 10.2-1
104- new upstream release
105- added Requires: cdparanoia to devel package
106
107* Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> alpha9.8-9vl5
108- applied new versioning policy
109
110* Tue Jul  3 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> alpha9.8-8vl6
111- add Patch1
112
113* Tue Oct 17 2006 NAKAMURA Kenta <kenta@vinelinux.org> alpha9.8-8vl5
114- added fPIC.patch fix a problem on x86_64 archtecture
115
116* Fri Dec 26 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> alpha9.8-8vl4
117- rebuild with new toolchain
118
119* Sun Mar 16 2003 IWAI Masaharu <iwai@alib.jp> alpha9.8-8vl3
120- rebuild with new toolchain
121
122* Tue Apr 24 2001 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp>
123- alpha9.8-8vl2
124- rebuild on VineSeed
125
126* Tue Apr 24 2001 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp>
127- alpha9.8-8vl1
128- included japanese manual
129
130* Tue Feb 27 2001 Karsten Hopp <karsten@redhat.de>
131- fix spelling error in description
132
133* Thu Dec  7 2000 Crutcher Dunnavant <crutcher@redhat.com>
134- rebuild for new tree
135
136* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
137- use %%{_tmppath}
138
139* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
140- automatic rebuild
141
142* Wed Jun 06 2000 Preston Brown <pbrown@redhat.com>
143- revert name change
144- use new rpm macro paths
145
146* Wed Apr 19 2000 Trond Eivind Glomsrød <teg@redhat.com>
147- Switched spec file from the one used in Red Hat Linux 6.2, which
148  also changes the name
149- gzip man page
150
151* Thu Dec 23 1999 Peter Jones <pjones@redhat.com>
152- update package to provide cdparanoia-alpha9.7-2.*.rpm and
153  cdparanoia-devel-alpha9.7-2.*.rpm.  Also, URLs point at xiph.org
154  like they should.
155
156* Wed Dec 22 1999 Peter Jones <pjones@redhat.com>
157- updated package for alpha9.7, based on input from:
158  Monty <xiphmont@xiph.org>
159  David Philippi <david@torangan.saar.de>
160
161* Mon Apr 12 1999 Michael Maher <mike@redhat.com>
162- updated pacakge
163
164* Tue Oct 06 1998 Michael Maher <mike@redhat.com>
165- updated package
166
167* Mon Jun 29 1998 Michael Maher <mike@redhat.com>
168- built package
Note: See TracBrowser for help on using the repository browser.