Upgrade to 1.4.4 (#1352345)
This commit is contained in:
parent
cf18344320
commit
e4766f7276
@ -1,7 +1,7 @@
|
||||
Summary: Library to enable creation and expansion of ISO-9660 filesystems
|
||||
Name: libisoburn
|
||||
Version: 1.4.2
|
||||
Release: 2%{?dist}
|
||||
Version: 1.4.4
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://libburnia-project.org/
|
||||
@ -9,8 +9,12 @@ Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.
|
||||
Source1: xorriso_servicemenu.desktop
|
||||
Patch0: libisoburn-1.0.8-multilib.patch
|
||||
BuildRequires: readline-devel, libacl-devel, zlib-devel, doxygen, graphviz
|
||||
BuildRequires: libburn-devel >= 1.4.2, libisofs-devel >= 1.4.2
|
||||
%if 0%{?rhel} >= 6
|
||||
BuildRequires: libburn1-devel >= 1.4.2, libisofs1-devel >= 1.4.2
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
%else
|
||||
BuildRequires: libburn-devel >= 1.4.2, libisofs-devel >= 1.4.2
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
@ -37,7 +41,7 @@ Summary: ISO-9660 and Rock Ridge image manipulation tool
|
||||
Group: Applications/Archiving
|
||||
URL: http://scdbackup.sourceforge.net/xorriso_eng.html
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%if 0%{?rhel} > 5 || 0%{?fedora}
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
Requires: kde-filesystem >= 4
|
||||
Requires(post): %{_sbindir}/alternatives, coreutils
|
||||
Requires(preun): %{_sbindir}/alternatives
|
||||
@ -62,7 +66,14 @@ DVD-RAM, BD-R and BD-RE.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .multilib
|
||||
|
||||
# Use libisofs1 and libburn1 on RHEL >= 6
|
||||
%if 0%{?rhel} >= 6
|
||||
sed -e 's@\(libisofs\|libburn\)-1.pc@\11-1.pc@g' -i configure.ac
|
||||
sed -e 's@\(libisofs\|libburn\)/@\11/@g' -i configure.ac */*.[hc] */*/*.cpp
|
||||
sed -e 's@\(lisofs\|lburn\)@\11@g' -i Makefile.am
|
||||
touch NEWS; autoreconf --force --install
|
||||
%endif
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
@ -77,13 +88,13 @@ make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
||||
|
||||
# Install the KDE service menu handler
|
||||
%if 0%{?rhel} > 5 || 0%{?fedora}
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus/
|
||||
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus/
|
||||
%endif
|
||||
|
||||
# Symlink xorriso as mkisofs (like in cdrkit)
|
||||
%if 0%{?rhel} > 5 || 0%{?fedora}
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
ln -sf xorriso $RPM_BUILD_ROOT%{_bindir}/mkisofs
|
||||
%endif
|
||||
|
||||
@ -111,7 +122,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/sbin/install-info %{_infodir}/xorriso.info.gz %{_infodir}/dir || :
|
||||
/sbin/install-info %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || :
|
||||
|
||||
%if 0%{?rhel} > 5 || 0%{?fedora}
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
link=`readlink %{_bindir}/mkisofs`
|
||||
if [ "$link" == "xorriso" ]; then
|
||||
rm -f %{_bindir}/mkisofs
|
||||
@ -127,7 +138,7 @@ if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/xorriso.info.gz %{_infodir}/dir || :
|
||||
/sbin/install-info --delete %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || :
|
||||
|
||||
%if 0%{?rhel} > 5 || 0%{?fedora}
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
%{_sbindir}/alternatives --remove mkisofs %{_bindir}/xorriso
|
||||
%endif
|
||||
fi
|
||||
@ -148,7 +159,7 @@ fi
|
||||
|
||||
%files -n xorriso
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{?rhel} > 5 || 0%{?fedora}
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
%ghost %{_bindir}/mkisofs
|
||||
%endif
|
||||
%{_bindir}/osirrox
|
||||
@ -161,11 +172,14 @@ fi
|
||||
%{_infodir}/xorrecord.info*
|
||||
%{_infodir}/xorriso.info*
|
||||
%{_infodir}/xorrisofs.info*
|
||||
%if 0%{?rhel} > 5 || 0%{?fedora}
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
%{_datadir}/kde4/services/ServiceMenus/xorriso_servicemenu.desktop
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jul 05 2016 Robert Scheck <robert@fedoraproject.org> 1.4.4-1
|
||||
- Upgrade to 1.4.4 (#1352345)
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user