source: projects/specs/trunk/lib/libc/libcdio-paranoia/libcdio-paranoia-vl.spec @ 10502

Revision 10502, 3.9 KB checked in by tomop, 8 years ago (diff)

libcdio-paranoia-10.2+0.93+1-1

Line 
1Name: libcdio-paranoia
2Version: 10.2+0.93+1
3Release: 1%{?_dist_release}
4Summary: CD paranoia on top of libcdio
5Group: System Environment/Libraries
6License: GPLv2+ and LGPLv2+
7URL: http://www.gnu.org/software/libcdio/
8Source0: http://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-%{version}.tar.bz2
9Patch0: libcdio-paranoia-manpage.patch
10BuildRequires: pkgconfig
11BuildRequires: gettext-devel
12BuildRequires: chrpath
13BuildRequires: libcdio-devel
14
15Vendor: Project Vine
16Distribution: Vine Linux
17
18%description
19This CDDA reader distribution ('libcdio-cdparanoia') reads audio from the
20CDROM directly as data, with no analog step between, and writes the
21data to a file or pipe as .wav, .aifc or as raw 16 bit linear PCM.
22
23Split off from libcdio to allow more flexible licensing and to be compatible
24with cdparanoia-III-10.2's license. And also, libcdio is just too large.
25
26%package devel
27Summary: Header files and libraries for %{name}
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30
31%description devel
32This package contains header files and libraries for %{name}.
33
34
35%prep
36%setup -q
37%patch0 -p1
38
39# fix pkgconfig files
40sed -i -e 's,-I${includedir},-I${includedir}/cdio,g' libcdio_paranoia.pc.in
41sed -i -e 's,-I${includedir},-I${includedir}/cdio,g' libcdio_cdda.pc.in
42
43f=doc/ja/cd-paranoia.1.in
44iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f
45iconv -f ISO88591 -t utf-8 -o THANKS.utf8 THANKS && mv THANKS.utf8 THANKS
46
47%build
48%configure \
49        --disable-dependency-tracking \
50        --disable-static \
51        --disable-rpath
52make %{?_smp_mflags}
53
54%install
55make install DESTDIR=$RPM_BUILD_ROOT
56
57find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
58
59mv $RPM_BUILD_ROOT%{_mandir}/{jp,ja}
60
61# copy include files to an additional directory for backward compatibility
62# this is where most software still expects those files
63cp -a $RPM_BUILD_ROOT%{_includedir}/cdio/paranoia/*.h $RPM_BUILD_ROOT%{_includedir}/cdio/
64
65# remove rpath
66chrpath --delete $RPM_BUILD_ROOT%{_bindir}/*
67chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so.*
68
69%post -p /sbin/ldconfig
70
71%postun -p /sbin/ldconfig
72
73%files
74%defattr(-,root,root,-)
75%doc AUTHORS COPYING NEWS README THANKS COPYING-GPL COPYING-LGPL
76%{_bindir}/*
77%{_libdir}/*.so.*
78%{_mandir}/man1/*
79%lang(ja) %{_mandir}/ja/man1/*
80
81
82%files devel
83%defattr(-,root,root,-)
84%doc doc/overlapdef.txt
85%{_includedir}/cdio/*
86%{_libdir}/*.so
87%{_libdir}/pkgconfig/*.pc
88
89
90%changelog
91* Sat Jul  2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2+0.93+1
92- new upstream release.
93
94* Sun Jul 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 10.2+0.90+1-1
95- initial build for Vine Linux
96
97
98* Mon Dec 16 2013 Adrian Reber <adrian@lisas.de> - 10.2+0.90+1-2
99- Rebuilt for new libcdio-0.92
100
101* Tue Aug 20 2013 Adrian Reber <adrian@lisas.de> - 10.2+0.90+1-1
102- updated to 10.2+0.90+1
103- removed all patches previously taken from git
104
105* Wed Jul 31 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 10.2+0.90-8
106- long name in manual page caused 'whatis' to misbehave
107
108* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2+0.90-7
109- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
110
111* Fri Jan 11 2013 Adrian Reber <adrian@lisas.de> - 10.2+0.90-6
112- remove sed changes on non-installed file
113- fix -devel subpackage Require
114
115* Sat Dec 22 2012 Adrian Reber <adrian@lisas.de> - 10.2+0.90-5
116- provide include files also in the paranoia directory (like in upstream's git)
117
118* Thu Nov 22 2012 Adrian Reber <adrian@lisas.de> - 10.2+0.90-4
119- fix pkgconfig files to point to right include directory
120
121* Mon Nov 05 2012 Adrian Reber <adrian@lisas.de> - 10.2+0.90-3
122- included upstreamed patches which are changing the license
123  headers to be LGPLv2+ for the library parts and GPLv2+ for the
124  binaries
125
126* Tue Oct 30 2012 Adrian Reber <adrian@lisas.de> - 10.2+0.90-2
127- added missing files from git: COPYING-GPL and COPYING-LGPL
128- added patch from git for missing pkgconfig requires
129  and fixed FSF address
130
131* Mon Oct 29 2012 Adrian Reber <adrian@lisas.de> - 10.2+0.90-1
132- initial release
Note: See TracBrowser for help on using the repository browser.