openjdk is available on all archs now, drop ppc* special cases

This commit is contained in:
Karsten Hopp 2015-06-11 17:23:27 +02:00
parent 62e0dfe2f0
commit 05ec42d844

View File

@ -6,7 +6,7 @@
Name: libbluray Name: libbluray
Version: 0.8.0 Version: 0.8.0
Release: 1%{?snapshot:.%{tarball_date}git%{git_short}}%{?dist} Release: 2%{?snapshot:.%{tarball_date}git%{git_short}}%{?dist}
Summary: Library to access Blu-Ray disks for video playback Summary: Library to access Blu-Ray disks for video playback
License: LGPLv2+ License: LGPLv2+
URL: http://www.videolan.org/developers/libbluray.html URL: http://www.videolan.org/developers/libbluray.html
@ -26,7 +26,6 @@ BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
%endif %endif
%ifnarch ppc ppc64 ppc64le
%if 0%{?rhel} >= 6 %if 0%{?rhel} >= 6
BuildRequires: java7-devel >= 1:1.7.0 BuildRequires: java7-devel >= 1:1.7.0
%else %else
@ -34,7 +33,6 @@ BuildRequires: java-devel >= 1:1.7.0
%endif %endif
BuildRequires: jpackage-utils BuildRequires: jpackage-utils
BuildRequires: ant BuildRequires: ant
%endif
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: texlive-latex BuildRequires: texlive-latex
@ -51,7 +49,6 @@ current titles, and will be easily portable and embeddable in standard players
such as mplayer and vlc. such as mplayer and vlc.
%ifnarch ppc ppc64 ppc64le
%package bdj %package bdj
Summary: BDJ support for %{name} Summary: BDJ support for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -68,7 +65,6 @@ Provides: libbluray-java = %{version}-%{release}
The %{name}-bdj package contains the jar file needed to add BD-J support to The %{name}-bdj package contains the jar file needed to add BD-J support to
%{name}. %{name}.
BD-J support is still considered alpha. BD-J support is still considered alpha.
%endif
%package utils %package utils
Summary: Test utilities for %{name} Summary: Test utilities for %{name}
@ -114,9 +110,7 @@ export JDK_HOME="%{_jvmdir}/java-1.7.0"
--enable-doxygen-html \ --enable-doxygen-html \
--enable-examples \ --enable-examples \
--enable-udf \ --enable-udf \
%ifnarch ppc ppc64 ppc64le
--enable-bdjava --enable-bdjava
%endif
# Fix rpath issue # Fix rpath issue
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -137,9 +131,7 @@ for i in bdjo_dump bdsplice clpi_dump hdmv_test index_dump libbluray_test \
list_titles mobj_dump mpls_dump sound_dump list_titles mobj_dump mpls_dump sound_dump
do install -Dp -m 0755 .libs/$i $RPM_BUILD_ROOT%{_bindir}/$i; done; do install -Dp -m 0755 .libs/$i $RPM_BUILD_ROOT%{_bindir}/$i; done;
%ifnarch ppc ppc64 ppc64le
install -Dp -m755 .libs/bdj_test %{buildroot}%{_bindir}/bdj_test; install -Dp -m755 .libs/bdj_test %{buildroot}%{_bindir}/bdj_test;
%endif
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -151,10 +143,8 @@ install -Dp -m755 .libs/bdj_test %{buildroot}%{_bindir}/bdj_test;
%doc COPYING README.txt %doc COPYING README.txt
%{_libdir}/*.so.* %{_libdir}/*.so.*
%ifnarch ppc ppc64 ppc64le
%files bdj %files bdj
%{_javadir}/libbluray-j2se-%{version}.jar %{_javadir}/libbluray-j2se-%{version}.jar
%endif
%files utils %files utils
%{_bindir}/* %{_bindir}/*
@ -170,6 +160,9 @@ install -Dp -m755 .libs/bdj_test %{buildroot}%{_bindir}/bdj_test;
%changelog %changelog
* Thu Jun 11 2015 Karsten Hopp <karsten@redhat.com> 0.8.0-2git}
- openjdk is available on all archs now, drop ppc* special cases
* Wed Apr 29 2015 Xavier Bachelot <xavier@bachelot.org> 0.8.0-1 * Wed Apr 29 2015 Xavier Bachelot <xavier@bachelot.org> 0.8.0-1
- Update to 0.8.0 (RHBZ#1217475). - Update to 0.8.0 (RHBZ#1217475).