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