From 1aeb2dc47aa31d557c682f96e0d7fa90d278173b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 15:37:55 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libburn#9a09afe3119f0ec2716afb5e148a2b42e0febbda --- .gitignore | 3 + libburn-0.6.16-multilib.patch | 23 +++ libburn.spec | 363 ++++++++++++++++++++++++++++++++++ sources | 3 + 4 files changed, 392 insertions(+) create mode 100644 libburn-0.6.16-multilib.patch create mode 100644 libburn.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..bcd41da 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +/gpgkey-*.gpg +/libburn-*.tar.gz +/libburn-*.tar.gz.sig diff --git a/libburn-0.6.16-multilib.patch b/libburn-0.6.16-multilib.patch new file mode 100644 index 0000000..8edd567 --- /dev/null +++ b/libburn-0.6.16-multilib.patch @@ -0,0 +1,23 @@ +Patch by Robert Scheck for libburn >= 0.6.16, which solves the +multilib/multiarch problem by removing the timestamp within the footer from the doxygen +generated files. + +--- libburn-0.6.16/doc/doxygen.conf.in 2008-11-25 11:00:11.000000000 +0100 ++++ libburn-0.6.16/doc/doxygen.conf.in.multilib 2009-03-17 22:17:03.000000000 +0100 +@@ -904,7 +904,7 @@ + # each generated HTML page. If it is left blank doxygen will generate a + # standard footer. + +-HTML_FOOTER = ++HTML_FOOTER = doc/footer_no_timestamp.html + + # The HTML_STYLESHEET tag can be used to specify a user-defined cascading + # style sheet that is used by each HTML page. It can be used to +--- libburn-0.6.16/doc/footer_no_timestamp.html 1970-01-01 01:00:00.000000000 +0100 ++++ libburn-0.6.16/doc/footer_no_timestamp.html.multilib 2009-03-17 22:18:47.000000000 +0100 +@@ -0,0 +1,5 @@ ++
Generated for $projectname by  ++ ++doxygen $doxygenversion
++ ++ diff --git a/libburn.spec b/libburn.spec new file mode 100644 index 0000000..34bf05e --- /dev/null +++ b/libburn.spec @@ -0,0 +1,363 @@ +%global pkgname libburn + +%if 0%{?rhel} >= 6 && 0%{?rhel} <= 8 +%global cdrskin cdrskin1 +%else +%global cdrskin cdrskin +%endif + +Summary: Library for reading, mastering and writing optical discs +Name: libburn +Version: 1.5.2 +Release: 3%{?dist} +License: GPLv2+ +URL: http://libburnia-project.org/ +Source0: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz +Source1: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz.sig +Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg +Patch0: libburn-0.6.16-multilib.patch +BuildRequires: gnupg2 +BuildRequires: gcc, intltool, gettext +%if 0%{?rhel} >= 6 && 0%{?rhel} <= 8 +BuildRequires: autoconf, automake, libtool, pkgconfig +%endif + +%description +Libburn is a library by which preformatted data get onto optical media: +CD, DVD and BD (Blu-Ray). It also offers a facility for reading data +blocks from its drives without using the normal block device I/O, which +has advantages and disadvantages. It seems appropriate, nevertheless, +to do writing and reading via same channel. On several Linux systems, +the block device driver needs reloading of the drive tray in order to +make available freshly written data. The libburn read function does not +need such a reload. The code of libburn is independent of cdrecord. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package doc +Summary: Documentation files for %{name} +BuildArch: noarch +BuildRequires: doxygen, graphviz + +%description doc +Libburn is a library by which preformatted data get onto optical media: +CD, DVD and BD (Blu-Ray). This package contains the API documentation +for developing applications that use %{name}. + +%package -n %{cdrskin} +Summary: Limited cdrecord compatibility wrapper to ease migration to %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires(post): %{_sbindir}/alternatives, coreutils +Requires(preun): %{_sbindir}/alternatives + +%description -n %{cdrskin} +A limited cdrecord compatibility wrapper which allows to use some %{name} +features from the command line. + +%prep +gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} +%setup -q -n %{pkgname}-%{version} +%patch0 -p1 -b .multilib + +# Rename from libburn to libburn1 for RHEL >= 6 +%if 0%{?rhel} >= 6 && 0%{?rhel} <= 8 +sed -e 's@libburn_libburn@libburn_libburn1@g' \ + -e 's@libburn/libburn.la@libburn/libburn1.la@g' \ + -e 's@(includedir)/libburn@(includedir)/libburn1@g' \ + -e 's@libburn-1.pc@libburn1-1.pc@g' -i Makefile.am +sed -e 's@libburn-1.pc@libburn1-1.pc@g' -i configure.ac +sed -e 's@burn@burn1@g' libburn-1.pc.in > libburn1-1.pc.in + +libtoolize --force +autoreconf --force --install +%endif + +%build +%configure --disable-static +%make_build +doxygen doc/doxygen.conf + +%install +%make_install + +# Don't install any libtool .la files +rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la + +# Clean up for later usage in documentation +rm -rf $RPM_BUILD_ROOT%{_defaultdocdir} + +# RHEL >= 6 ships a cdrskin package already +%if 0%{?rhel} >= 6 && 0%{?rhel} <= 8 +mv -f $RPM_BUILD_ROOT%{_bindir}/{cdrskin,%{cdrskin}} +mv -f $RPM_BUILD_ROOT%{_mandir}/man1/{cdrskin,%{cdrskin}}.1 +%endif + +# Symlink cdrskin as cdrecord (like in cdrkit) +ln -sf %{cdrskin} $RPM_BUILD_ROOT%{_bindir}/cdrecord + +%ldconfig_scriptlets + +%post -n %{cdrskin} +link=`readlink %{_bindir}/cdrecord` +if [ "$link" == "%{cdrskin}" ]; then + rm -f %{_bindir}/cdrecord +fi + +%{_sbindir}/alternatives --install %{_bindir}/cdrecord cdrecord %{_bindir}/%{cdrskin} 50 \ + --slave %{_mandir}/man1/cdrecord.1.gz cdrecord-cdrecordman %{_mandir}/man1/%{cdrskin}.1.gz + +%preun -n %{cdrskin} +if [ $1 = 0 ]; then + %{_sbindir}/alternatives --remove cdrecord %{_bindir}/%{cdrskin} +fi + +%files +%license COPYING +%doc AUTHORS COPYRIGHT README +%{_libdir}/%{name}*.so.* + +%files devel +%{_includedir}/%{name} +%{_libdir}/%{name}*.so +%{_libdir}/pkgconfig/%{name}*.pc + +%files doc +%doc doc/html/ + +%files -n %{cdrskin} +%ghost %{_bindir}/cdrecord +%{_bindir}/%{cdrskin} +%{_mandir}/man1/%{cdrskin}.1* + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Oct 27 2019 Robert Scheck 1.5.2-1 +- Upgrade to 1.5.2 (#1765953) + +* Thu Jul 25 2019 Fedora Release Engineering - 1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Dec 08 2018 Robert Scheck 1.5.0-1 +- Upgrade to 1.5.0 + +* Fri Jul 13 2018 Fedora Release Engineering - 1.4.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.4.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Dec 01 2017 Merlin Mathesius - 1.4.8-2 +- Cleanup spec file conditionals + +* Fri Sep 15 2017 Robert Scheck 1.4.8-1 +- Upgrade to 1.4.8 (#1491478) + +* Thu Aug 24 2017 Robert Scheck 1.4.6-5 +- Move large documentation into -doc subpackage (#750009) + +* Thu Aug 03 2017 Fedora Release Engineering - 1.4.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.4.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Sep 18 2016 Robert Scheck 1.4.6-1 +- Update to upstream 1.4.6 (#1377006) + +* Tue Jul 05 2016 Robert Scheck 1.4.4-1 +- Update to upstream 1.4.4 (#1352496) +- Reworked spec file to build libburn1 for RHEL >= 6 (#750009) + +* Thu Feb 04 2016 Fedora Release Engineering - 1.4.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Jan 30 2016 Robert Scheck 1.4.2-2 +- Update to upstream 1.4.2.pl01 (#1294947) + +* Thu Dec 24 2015 Robert Scheck 1.4.2-1 +- Update to upstream 1.4.2 (#1287345) +- Add symlink handling via alternatives for cdrecord (#1256240) + +* Wed Jun 17 2015 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon May 18 2015 Robert Scheck 1.4.0-1 +- Update to upstream 1.4.0 (#1222524) + +* Sun Aug 17 2014 Fedora Release Engineering - 1.3.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 29 2014 Robert Scheck 1.3.8-1 +- Update to upstream 1.3.8 (#1078717) + +* Sat Jun 07 2014 Fedora Release Engineering - 1.3.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Mar 05 2014 Robert Scheck 1.3.6-1 +- Update to upstream 1.3.6 (#1072835) + +* Sat Dec 14 2013 Robert Scheck 1.3.4-1 +- Update to upstream 1.3.4 (#1043068) + +* Sun Aug 25 2013 Robert Scheck 1.3.2-1 +- Update to upstream 1.3.2 (#994916) + +* Sat Aug 03 2013 Robert Scheck 1.3.0-1 +- Update to upstream 1.3.0 (#965231) +- Run autoreconf to recognize aarch64 (#925679) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.2.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Apr 02 2013 Frantisek Kluknavsky - 1.2.8-2 +- Run autoreconf to overwrite old scripts => recognize aarch64 + +* Tue Mar 19 2013 Robert Scheck 1.2.8-1 +- Update to upstream 1.2.8 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jan 12 2013 Robert Scheck 1.2.6-1 +- Update to upstream 1.2.6 (#893692) + +* Wed Dec 05 2012 Frantisek Kluknavsky - 1.2.4-5 +- renamed patch - added package name to match naming guidelines + +* Tue Dec 04 2012 Frantisek Kluknavsky - 1.2.4-4 +- current time in doxygen footer caused multilib difference - inserted empty footer instead + +* Thu Nov 22 2012 Frantisek Kluknavsky - 1.2.4-3 +- Minor spec-file cleanup + +* Wed Aug 29 2012 Honza Horak 1.2.4-2 +- Changed license from GPLv2 to GPLv2+ to correspond with source + +* Fri Aug 10 2012 Robert Scheck 1.2.4-1 +- Update to upstream 1.2.4 (#842077) + +* Thu Jul 19 2012 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun May 13 2012 Robert Scheck 1.2.2-1 +- Update to upstream 1.2.2 + +* Fri Jan 13 2012 Fedora Release Engineering - 1.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Nov 27 2011 Robert Scheck 1.1.8-1 +- Update to upstream 1.1.8 + +* Sat Oct 08 2011 Robert Scheck 1.1.6-1 +- Update to upstream 1.1.6 + +* Sun Sep 18 2011 Robert Scheck 1.1.4-1 +- Update to upstream 1.1.4 + +* Sun Jul 10 2011 Robert Scheck 1.1.0-1 +- Update to upstream 1.1.0 + +* Sun Apr 17 2011 Robert Scheck 1.0.6-1 +- Update to upstream 1.0.6 + +* Mon Feb 28 2011 Honza Horak - 1.0.2-1 +- Update to upstream 1.0.2 + +* Thu Feb 17 2011 Honza Horak - 1.0.0-1 +- Update to upstream 1.0.0 + +* Mon Feb 07 2011 Fedora Release Engineering - 0.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Apr 22 2010 Nikola Pajkovsky - 0.8.0-1 +- Update to upstream 0.8.0 + +* Wed Sep 30 2009 Denis Leroy - 0.7.0-1 +- Update to upstream 0.7.0 +- Fixed binary installation +- Removed rpath + +* Fri Jul 24 2009 Fedora Release Engineering - 0.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Jan 24 2009 Denis Leroy - 0.6.0-2 +- Updating to pl01 tarball from upstream +- Fixed project URL + +* Wed Jan 07 2009 Adel Gadllah - 0.6.0-1 +- New upstream version + +* Tue Aug 5 2008 Tom "spot" Callaway - 0.4.8-2 +- fix license tag + +* Wed Jun 11 2008 Denis Leroy - 0.4.8-1 +- Update to upstream 0.4.8 + +* Thu Feb 14 2008 Fedora Release Engineering - 0.4.0-2 +- Autorebuild for GCC 4.3 + +* Thu Dec 13 2007 Denis Leroy - 0.4.0-1 +- Update to 0.4.0 + +* Wed Oct 10 2007 Jesse Keating - 0.3.8-2 +- Rebuild for BuildID + +* Fri Aug 10 2007 Denis Leroy - 0.3.8-1 +- Update to upstream 0.3.8 +- Fixed project URL + +* Sun Mar 25 2007 Denis Leroy - 0.2.6.3-3 +- Fixed unowned include directory (#233860) + +* Tue Mar 20 2007 Denis Leroy - 0.2.6.3-2 +- Moved documentation into devel package, #228372 +- Updated source URL to new upstream location + +* Tue Jan 02 2007 Jesse Keating - 0.2.6.3-1 +- Update to 0.2.6.3 +- Remove libisofs stuff as it's packaged seperately now. +- Add a manpage for cdrskin + +* Sat Oct 21 2006 Jesse Keating - 0.2-2-2 +- Point to a real URL in source, now that we have a tarball + +* Fri Oct 20 2006 Jesse Keating - 0.2-2-1 +- 0.2.2 release + +* Tue Sep 12 2006 Jesse Keating - 0.2-5.20060808svn +- Create doxygen docs + +* Fri Sep 8 2006 Jesse Keating - 0.2-4.20060808svn +- rebuild with new snapshot + +* Sun Aug 27 2006 Jesse Keating - 0.2-3.20060823svn +- don't install dupe headers in -devel packages +- libisofs requires libburn devel for directory ownership + +* Sun Aug 27 2006 Jesse Keating - 0.2-2.20060823svn +- Fix cdrskin require +- Fix tabs +- Added doc files + +* Wed Aug 23 2006 Jesse Keating - 0.2-1.20060823svn +- Initial package for review diff --git a/sources b/sources new file mode 100644 index 0000000..79a1cb5 --- /dev/null +++ b/sources @@ -0,0 +1,3 @@ +SHA512 (gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg) = d287374e95680ca4be38d7dc09c71e9f2e466eb62abc6fc29da6d5d984e0bceab9a2d0eca85ccb3a6f2cd7cbaa6c8d02c817aa84864d159616b0b2ca8e96b9db +SHA512 (libburn-1.5.2.tar.gz) = a8887907bbfcd9b743dfc2e8924cc9290d7af5a71651aeabfdc5874f2df076278ccdbc94f81efd6a720972f380512d330576739837ba685055ee717dd74797d3 +SHA512 (libburn-1.5.2.tar.gz.sig) = 8b57dea461b7f08172d679739d4feacd5cfcc5ff45d5815f17af949d5bacb81bb4013890bef401966aaa6434bf0795c57e2c1d1d7c99883b66c310f7dce0071d