libcdio-paranoia-vl.spec 4.0 KB

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