libisoburn-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. %bcond_with alt_mkisofs
  2. Summary: Library to enable creation and expansion of ISO-9660 filesystems
  3. Name: libisoburn
  4. Version: 1.5.0
  5. Release: 5%{?_dist_release}
  6. License: GPLv2+
  7. URL: http://libburnia-project.org/
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz
  11. Source3: xorriso_extract_iso_image.desktop
  12. BuildRequires: gcc, gcc-c++, readline-devel, libacl-devel, zlib-devel
  13. BuildRequires: libburn-devel >= %{version}, libisofs-devel >= %{version}
  14. %description
  15. Libisoburn is a front-end for libraries libburn and libisofs which
  16. enables creation and expansion of ISO-9660 filesystems on all CD/
  17. DVD/BD media supported by libburn. This includes media like DVD+RW,
  18. which do not support multi-session management on media level and
  19. even plain disk files or block devices. Price for that is thorough
  20. specialization on data files in ISO-9660 filesystem images. And so
  21. libisoburn is not suitable for audio (CD-DA) or any other CD layout
  22. which does not entirely consist of ISO-9660 sessions.
  23. %package devel
  24. Summary: Development files for libisoburn
  25. Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
  26. %description devel
  27. The libisoburn-devel package contains libraries and header files for
  28. developing applications that use libisoburn.
  29. %package doc
  30. Summary: Documentation files for libisoburn
  31. BuildArch: noarch
  32. BuildRequires: doxygen, graphviz
  33. %description doc
  34. Libisoburn is a front-end for libraries libburn and libisofs which
  35. enables creation and expansion of ISO-9660 filesystems on all CD/
  36. DVD/BD media supported by libburn. And this package contains the API
  37. documentation for developing applications that use libisoburn.
  38. %package -n xorriso
  39. Summary: ISO-9660 and Rock Ridge image manipulation tool
  40. URL: http://scdbackup.sourceforge.net/xorriso_eng.html
  41. Requires: %{name}%{?_isa} = %{version}-%{release}
  42. Requires(post): /sbin/install-info
  43. Requires(preun): /sbin/install-info
  44. %if %{with alt_mkisofs}
  45. Requires(post): %{_sbindir}/alternatives, coreutils
  46. Requires(preun): %{_sbindir}/alternatives
  47. %endif
  48. %description -n xorriso
  49. Xorriso is a program which copies file objects from POSIX compliant
  50. filesystems into Rock Ridge enhanced ISO-9660 filesystems and allows
  51. session-wise manipulation of such filesystems. It can load management
  52. information of existing ISO images and it writes the session results
  53. to optical media or to filesystem objects. Vice versa xorriso is able
  54. to copy file objects out of ISO-9660 filesystems.
  55. Filesystem manipulation capabilities surpass those of mkisofs. Xorriso
  56. is especially suitable for backups, because of its high fidelity of
  57. file attribute recording and its incremental update sessions. Optical
  58. supported media: CD-R, CD-RW, DVD-R, DVD-RW, DVD+R, DVD+R DL, DVD+RW,
  59. DVD-RAM, BD-R and BD-RE.
  60. %prep
  61. %setup -q
  62. %build
  63. %configure --disable-static
  64. %make_build
  65. doxygen doc/doxygen.conf
  66. %install
  67. %make_install
  68. # Don't install any libtool .la files
  69. rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
  70. # Clean up for later usage in documentation
  71. rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
  72. %if %{with alt_mkisofs}
  73. # Symlink xorriso as mkisofs (like in cdrkit)
  74. ln -sf xorriso $RPM_BUILD_ROOT%{_bindir}/mkisofs
  75. %endif
  76. # Some file cleanups
  77. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  78. # Don't ship proof of concept for the moment
  79. rm -f $RPM_BUILD_ROOT{%{_bindir},%{_infodir},%{_mandir}/man1}/xorriso-tcltk*
  80. %check
  81. export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$RPM_BUILD_ROOT%{_libdir}"
  82. cd releng
  83. ./run_all_auto -x ../xorriso/xorriso || (cat releng_generated_data/log.*; exit 1)
  84. %post -p /sbin/ldconfig
  85. %postun -p /sbin/ldconfig
  86. %post -n xorriso
  87. /sbin/install-info %{_infodir}/xorrecord.info.gz %{_infodir}/dir || :
  88. /sbin/install-info %{_infodir}/xorriso.info.gz %{_infodir}/dir || :
  89. /sbin/install-info %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || :
  90. %if %{with alt_mkisofs}
  91. link=`readlink %{_bindir}/mkisofs`
  92. if [ "$link" == "xorriso" ]; then
  93. rm -f %{_bindir}/mkisofs
  94. fi
  95. %{_sbindir}/alternatives --install %{_bindir}/mkisofs mkisofs %{_bindir}/xorriso 50 \
  96. --slave %{_mandir}/man1/mkisofs.1.gz mkisofs-mkisofsman %{_mandir}/man1/xorrisofs.1.gz
  97. %endif
  98. %preun -n xorriso
  99. if [ $1 = 0 ]; then
  100. /sbin/install-info --delete %{_infodir}/xorrecord.info.gz %{_infodir}/dir || :
  101. /sbin/install-info --delete %{_infodir}/xorriso.info.gz %{_infodir}/dir || :
  102. /sbin/install-info --delete %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || :
  103. %if %{with alt_mkisofs}
  104. %{_sbindir}/alternatives --remove mkisofs %{_bindir}/xorriso
  105. %endif
  106. fi
  107. %files
  108. %license COPYING
  109. %doc AUTHORS COPYRIGHT README ChangeLog
  110. %{_libdir}/%{name}*.so.*
  111. %files devel
  112. %doc doc/html
  113. %{_includedir}/%{name}
  114. %{_libdir}/%{name}.so
  115. %{_libdir}/pkgconfig/%{name}*.pc
  116. %files doc
  117. %doc doc/html/
  118. %files -n xorriso
  119. %if %{with alt_mkisofs}
  120. %ghost %{_bindir}/mkisofs
  121. %endif
  122. %{_bindir}/osirrox
  123. %{_bindir}/xorrecord
  124. %{_bindir}/xorriso
  125. %{_bindir}/xorrisofs
  126. %{_mandir}/man1/xorrecord.1*
  127. %{_mandir}/man1/xorriso.1*
  128. %{_mandir}/man1/xorrisofs.1*
  129. %{_infodir}/xorrecord.info*
  130. %{_infodir}/xorriso.info*
  131. %{_infodir}/xorrisofs.info*
  132. %changelog
  133. * Mon Sep 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.5.0-5
  134. - initial build for Vine Linux.
  135. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
  136. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  137. * Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.0-3
  138. - Rebuild for readline 8.0
  139. * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
  140. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  141. * Sat Dec 08 2018 Robert Scheck <robert@fedoraproject.org> 1.5.0-1
  142. - Upgrade to 1.5.0
  143. - Provide KDE service menu entry for KDE 4 and 5 (#1633872)
  144. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-3
  145. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  146. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-2
  147. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  148. * Fri Sep 15 2017 Robert Scheck <robert@fedoraproject.org> 1.4.8-1
  149. - Upgrade to 1.4.8 (#1491482)
  150. * Thu Aug 24 2017 Robert Scheck <robert@fedoraproject.org> 1.4.6-7
  151. - Move large documentation into -doc subpackage
  152. * Sun Aug 13 2017 Robert Scheck <robert@fedoraproject.org> 1.4.6-6
  153. - Added upstream patch to avoid %%check failure due to tput error
  154. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-5
  155. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  156. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-4
  157. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  158. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-3
  159. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  160. * Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.4.6-2
  161. - Rebuild for readline 7.x
  162. * Sun Sep 18 2016 Robert Scheck <robert@fedoraproject.org> 1.4.6-1
  163. - Upgrade to 1.4.6 (#1377002)
  164. * Tue Jul 05 2016 Robert Scheck <robert@fedoraproject.org> 1.4.4-1
  165. - Upgrade to 1.4.4 (#1352345)
  166. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
  167. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  168. * Thu Dec 24 2015 Robert Scheck <robert@fedoraproject.org> 1.4.2-1
  169. - Upgrade to 1.4.2 (#1287353)
  170. - Add symlink handling via alternatives for mkisofs (#1256240)
  171. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
  172. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  173. * Mon May 18 2015 Robert Scheck <robert@fedoraproject.org> 1.4.0-1
  174. - Upgrade to 1.4.0 (#1222525)
  175. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-2
  176. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  177. * Sun Jun 29 2014 Robert Scheck <robert@fedoraproject.org> 1.3.8-1
  178. - Upgrade to 1.3.8 (#1078719)
  179. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-2
  180. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  181. * Wed Mar 05 2014 Robert Scheck <robert@fedoraproject.org> 1.3.6-1
  182. - Upgrade to 1.3.6 (#1072838)
  183. * Sat Dec 14 2013 Robert Scheck <robert@fedoraproject.org> 1.3.4-1
  184. - Upgrade to 1.3.4 (#1043070)
  185. * Sun Aug 25 2013 Robert Scheck <robert@fedoraproject.org> 1.3.2-1
  186. - Upgrade to 1.3.2 (#994920)
  187. * Sat Aug 03 2013 Robert Scheck <robert@fedoraproject.org> 1.3.0-1
  188. - Upgrade to 1.3.0 (#965233)
  189. - Run autoreconf to recognize aarch64
  190. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-2
  191. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  192. * Tue Mar 19 2013 Robert Scheck <robert@fedoraproject.org> 1.2.8-1
  193. - Upgrade to 1.2.8
  194. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-2
  195. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  196. * Sat Jan 12 2013 Robert Scheck <robert@fedoraproject.org> 1.2.6-1
  197. - Upgrade to 1.2.6 (#893693)
  198. * Sat Aug 11 2012 Robert Scheck <robert@fedoraproject.org> 1.2.4-1
  199. - Upgrade to 1.2.4 (#842078)
  200. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-2
  201. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  202. * Sun May 13 2012 Robert Scheck <robert@fedoraproject.org> 1.2.2-1
  203. - Upgrade to 1.2.2
  204. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-2
  205. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  206. * Sun Nov 27 2011 Robert Scheck <robert@fedoraproject.org> 1.1.8-1
  207. - Upgrade to 1.1.8
  208. * Sun Oct 09 2011 Robert Scheck <robert@fedoraproject.org> 1.1.6-1
  209. - Upgrade to 1.1.6
  210. * Sun Jul 10 2011 Robert Scheck <robert@fedoraproject.org> 1.1.2-1
  211. - Upgrade to 1.1.2
  212. * Mon May 02 2011 Robert Scheck <robert@fedoraproject.org> 1.0.8-2
  213. - Added forgotten documentation files to %%files (#697326 #c1)
  214. * Sun Apr 17 2011 Robert Scheck <robert@fedoraproject.org> 1.0.8-1
  215. - Upgrade to 1.0.8
  216. - Initial spec file for Fedora and Red Hat Enterprise Linux