Make %if compatible for RHEL 4
This commit is contained in:
parent
8a13244f96
commit
c605f53cd5
@ -1,5 +1,3 @@
|
|||||||
%global with_kde 1
|
|
||||||
|
|
||||||
Summary: Library to enable creation and expansion of ISO-9660 filesystems
|
Summary: Library to enable creation and expansion of ISO-9660 filesystems
|
||||||
Name: libisoburn
|
Name: libisoburn
|
||||||
Version: 1.1.6
|
Version: 1.1.6
|
||||||
@ -38,7 +36,7 @@ Summary: ISO-9660 and Rock Ridge image manipulation tool
|
|||||||
Group: Applications/Archiving
|
Group: Applications/Archiving
|
||||||
URL: http://scdbackup.sourceforge.net/xorriso_eng.html
|
URL: http://scdbackup.sourceforge.net/xorriso_eng.html
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
%if (%with_kde && 0%{?rhel}%{?fedora} > 5)
|
%if 0%{?rhel}%{?fedora} > 5
|
||||||
Requires: kde-filesystem >= 4
|
Requires: kde-filesystem >= 4
|
||||||
%endif
|
%endif
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
@ -77,7 +75,7 @@ make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
|||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
||||||
|
|
||||||
# Install the KDE service menu handler
|
# Install the KDE service menu handler
|
||||||
%if (%with_kde && 0%{?rhel}%{?fedora} > 5)
|
%if 0%{?rhel}%{?fedora} > 5
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus/
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus/
|
||||||
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus/
|
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus/
|
||||||
%endif
|
%endif
|
||||||
@ -130,7 +128,7 @@ fi
|
|||||||
%{_mandir}/man1/xorrisofs.1*
|
%{_mandir}/man1/xorrisofs.1*
|
||||||
%{_infodir}/xorriso.info*
|
%{_infodir}/xorriso.info*
|
||||||
%{_infodir}/xorrisofs.info*
|
%{_infodir}/xorrisofs.info*
|
||||||
%if (%with_kde && 0%{?rhel}%{?fedora} > 5)
|
%if 0%{?rhel}%{?fedora} > 5
|
||||||
%{_datadir}/kde4/services/ServiceMenus/xorriso_servicemenu.desktop
|
%{_datadir}/kde4/services/ServiceMenus/xorriso_servicemenu.desktop
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user