|
|
@ -1,36 +1,27 @@
|
|
|
|
%global build_pdf_doc 0
|
|
|
|
%global build_pdf_doc 0
|
|
|
|
%ifarch %{java_arches}
|
|
|
|
|
|
|
|
%global build_bdj 1
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global build_bdj 0
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: libbluray
|
|
|
|
Name: libbluray
|
|
|
|
Version: 1.3.4
|
|
|
|
Version: 1.0.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 3%{?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: https://www.videolan.org/developers/libbluray.html
|
|
|
|
URL: http://www.videolan.org/developers/libbluray.html
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
Source0: ftp://ftp.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
Patch0: libbluray-0.8.0-no_doxygen_timestamp.patch
|
|
|
|
Patch0: libbluray-0.8.0-no_doxygen_timestamp.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ant
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
|
|
|
BuildRequires: java-devel >= 1:1.8.0
|
|
|
|
|
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libudfread-devel >= 1.1.1
|
|
|
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: texlive-latex
|
|
|
|
BuildRequires: texlive-latex
|
|
|
|
%if %{build_bdj}
|
|
|
|
|
|
|
|
BuildRequires: ant
|
|
|
|
|
|
|
|
BuildRequires: java-devel >= 1:1.8.0
|
|
|
|
|
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This package is aiming to provide a full portable free open source Blu-Ray
|
|
|
|
This package is aiming to provide a full portable free open source Blu-Ray
|
|
|
@ -39,7 +30,6 @@ navigation and playback on Linux. It will eventually be compatible with all
|
|
|
|
current titles, and will be easily portable and embeddable in standard players
|
|
|
|
current titles, and will be easily portable and embeddable in standard players
|
|
|
|
such as MPlayer and VLC.
|
|
|
|
such as MPlayer and VLC.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{build_bdj}
|
|
|
|
|
|
|
|
%package bdj
|
|
|
|
%package bdj
|
|
|
|
Summary: BDJ support for %{name}
|
|
|
|
Summary: BDJ support for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
@ -49,7 +39,6 @@ Requires: jpackage-utils
|
|
|
|
%description bdj
|
|
|
|
%description bdj
|
|
|
|
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}. BD-J support is still considered alpha.
|
|
|
|
%{name}. BD-J support is still considered alpha.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
%package utils
|
|
|
|
Summary: Test utilities for %{name}
|
|
|
|
Summary: Test utilities for %{name}
|
|
|
@ -72,15 +61,10 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%if %{build_bdj}
|
|
|
|
export JDK_HOME="%{_jvmdir}/java-1.8.0"
|
|
|
|
export JDK_HOME="%{_jvmdir}/java"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
autoreconf -vif
|
|
|
|
autoreconf -vif
|
|
|
|
%configure --disable-static \
|
|
|
|
%configure --disable-static \
|
|
|
|
%if ! %{build_bdj}
|
|
|
|
|
|
|
|
--disable-bdjava-jar \
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{build_pdf_doc}
|
|
|
|
%if %{build_pdf_doc}
|
|
|
|
--enable-doxygen-pdf \
|
|
|
|
--enable-doxygen-pdf \
|
|
|
|
%else
|
|
|
|
%else
|
|
|
@ -90,7 +74,7 @@ autoreconf -vif
|
|
|
|
--enable-doxygen-html \
|
|
|
|
--enable-doxygen-html \
|
|
|
|
--enable-examples
|
|
|
|
--enable-examples
|
|
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make doxygen-doc
|
|
|
|
make doxygen-doc
|
|
|
|
# Remove uneeded script
|
|
|
|
# Remove uneeded script
|
|
|
|
rm -f doc/doxygen/html/installdox
|
|
|
|
rm -f doc/doxygen/html/installdox
|
|
|
@ -99,18 +83,24 @@ rm -f doc/doxygen/html/installdox
|
|
|
|
%make_install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
# Install test utilities
|
|
|
|
|
|
|
|
for i in bdjo_dump bdsplice clpi_dump hdmv_test index_dump libbluray_test \
|
|
|
|
|
|
|
|
list_titles mobj_dump mpls_dump sound_dump
|
|
|
|
|
|
|
|
do install -Dp -m 0755 .libs/$i %{buildroot}%{_bindir}/$i; done;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -Dp -m755 .libs/bdj_test %{buildroot}%{_bindir}/bdj_test;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog README.md
|
|
|
|
%doc ChangeLog README.txt
|
|
|
|
%{_libdir}/*.so.2*
|
|
|
|
%{_libdir}/*.so.2*
|
|
|
|
|
|
|
|
|
|
|
|
%if %{build_bdj}
|
|
|
|
|
|
|
|
%files bdj
|
|
|
|
%files bdj
|
|
|
|
%{_javadir}/libbluray-j2se-%{version}.jar
|
|
|
|
%{_javadir}/libbluray-j2se-%{version}.jar
|
|
|
|
%{_javadir}/libbluray-awt-j2se-%{version}.jar
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%files utils
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
@ -125,78 +115,6 @@ find %{buildroot} -name '*.la' -delete
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Nov 30 2022 Xavier Bachelot <xavier@bachelot.org> - 1.3.4-1
|
|
|
|
|
|
|
|
- Update to 1.3.4 (RHBZ#2149455)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 26 2022 Xavier Bachelot <xavier@bachelot.org> - 1.3.3-1
|
|
|
|
|
|
|
|
- Update to 1.3.3 (RHBZ#2128242, RHBZ#2120442)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 10 2022 Xavier Bachelot <xavier@bachelot.org> - 1.3.2-1
|
|
|
|
|
|
|
|
- Update to 1.3.2 (RHBZ#2112605, RHBZ#2113476, RHBZ#2089046)
|
|
|
|
|
|
|
|
- Don't build bdj on i386 (RHBZ#2104068)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Mar 06 2022 Xavier Bachelot <xavier@bachelot.org> - 1.3.1-1
|
|
|
|
|
|
|
|
- Update to 1.3.1 (RHBZ#2061184)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.3.0-4
|
|
|
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 07 2021 Xavier Bachelot <xavier@bachelot.org> 1.3.0-1
|
|
|
|
|
|
|
|
- Update to 1.3.0 (RHBZ#1946585)
|
|
|
|
|
|
|
|
- Enable external libudfread
|
|
|
|
|
|
|
|
- Use https for URL and Source0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 30 2020 Xavier Bachelot <xavier@bachelot.org> 1.2.1-2
|
|
|
|
|
|
|
|
- Disable external libudfread (RHBZ#1892856)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Oct 24 2020 Xavier Bachelot <xavier@bachelot.org> 1.2.1-1
|
|
|
|
|
|
|
|
- Update to 1.2.1 (RHBZ#1891243)
|
|
|
|
|
|
|
|
- Enable external libudfread
|
|
|
|
|
|
|
|
- Drop most test utilities
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1.2.0-2
|
|
|
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 06 2020 Xavier Bachelot <xavier@bachelot.org> 1.2.0-1
|
|
|
|
|
|
|
|
- Update to 1.2.0
|
|
|
|
|
|
|
|
- Use unversioned JDK_HOME
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 10 2019 Xavier Bachelot <xavier@bachelot.org> 1.1.2-1
|
|
|
|
|
|
|
|
- Update to 1.1.2 (RHBZ#1718617).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 08 2019 Xavier Bachelot <xavier@bachelot.org> 1.1.1-1
|
|
|
|
|
|
|
|
- Update to 1.1.1 (RHBZ#1676566).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 12 2019 Xavier Bachelot <xavier@bachelot.org> 1.1.0-1
|
|
|
|
|
|
|
|
- Update to 1.1.0 (RHBZ#1676566).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|