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