Disable BD-J support for ppc64le arch (RHBZ#1051604)

This commit is contained in:
Xavier Bachelot 2014-01-10 19:33:36 +01:00
parent 5dbfa8b733
commit b372b19fc4

View File

@ -9,7 +9,7 @@ Version: 0.5.0
%if %{snapshot} %if %{snapshot}
Release: 0.1.%{tarball_date}git%{git_short}%{?dist} Release: 0.1.%{tarball_date}git%{git_short}%{?dist}
%else %else
Release: 2%{?dist} Release: 3%{?dist}
%endif %endif
Summary: Library to access Blu-Ray disks for video playback Summary: Library to access Blu-Ray disks for video playback
Group: System Environment/Libraries Group: System Environment/Libraries
@ -32,7 +32,7 @@ BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
%endif %endif
%ifnarch ppc ppc64 %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
@ -56,7 +56,7 @@ 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 %ifnarch ppc ppc64 ppc64le
%package bdj %package bdj
Summary: BDJ support for %{name} Summary: BDJ support for %{name}
Group: Development/Libraries Group: Development/Libraries
@ -113,7 +113,7 @@ export JDK_HOME="%{_jvmdir}/java-1.7.0"
--disable-doxygen-ps \ --disable-doxygen-ps \
--enable-doxygen-html \ --enable-doxygen-html \
--enable-examples \ --enable-examples \
%ifnarch ppc ppc64 %ifnarch ppc ppc64 ppc64le
--enable-bdjava --enable-bdjava
%endif %endif
@ -137,7 +137,7 @@ for i in 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 src/$i $RPM_BUILD_ROOT%{_bindir}/$i; done; do install -Dp -m 0755 src/$i $RPM_BUILD_ROOT%{_bindir}/$i; done;
%ifnarch ppc ppc64 %ifnarch ppc ppc64 ppc64le
install -Dp -m755 src/bdj_test %{buildroot}%{_bindir}/bdj_test; install -Dp -m755 src/bdj_test %{buildroot}%{_bindir}/bdj_test;
%endif %endif
@ -156,7 +156,7 @@ rm -rf $RPM_BUILD_ROOT
%doc COPYING README.txt %doc COPYING README.txt
%{_libdir}/*.so.* %{_libdir}/*.so.*
%ifnarch ppc ppc64 %ifnarch ppc ppc64 ppc64le
%files bdj %files bdj
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/libbluray/libbluray.jar %{_libdir}/libbluray/libbluray.jar
@ -178,6 +178,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Jan 10 2013 Xavier Bachelot <xavier@bachelot.org> 0.5.0-3
- Disable BD-J support for ppc64le arch (RHBZ#1051604).
* Sun Dec 22 2013 Xavier Bachelot <xavier@bachelot.org> 0.5.0-2 * Sun Dec 22 2013 Xavier Bachelot <xavier@bachelot.org> 0.5.0-2
- Fix build on EL6 (BR: java7-devel instead of java-devel). - Fix build on EL6 (BR: java7-devel instead of java-devel).