2012-07-01 21:55:31 +00:00
|
|
|
%global build_pdf_doc 0
|
2010-10-26 19:19:28 +00:00
|
|
|
|
|
|
|
Name: libbluray
|
2017-12-04 08:18:54 +00:00
|
|
|
Version: 1.0.2
|
|
|
|
Release: 1%{?dist}
|
2010-10-26 19:19:28 +00:00
|
|
|
Summary: Library to access Blu-Ray disks for video playback
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://www.videolan.org/developers/libbluray.html
|
2016-12-03 09:06:33 +00:00
|
|
|
|
2011-12-04 12:13:33 +00:00
|
|
|
Source0: ftp://ftp.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
2015-05-01 07:58:52 +00:00
|
|
|
Patch0: libbluray-0.8.0-no_doxygen_timestamp.patch
|
2010-10-26 19:19:28 +00:00
|
|
|
|
2016-12-03 09:06:33 +00:00
|
|
|
%if 0%{?rhel} == 6
|
2013-12-22 09:33:57 +00:00
|
|
|
BuildRequires: java7-devel >= 1:1.7.0
|
|
|
|
%else
|
|
|
|
BuildRequires: java-devel >= 1:1.7.0
|
|
|
|
%endif
|
2010-10-26 19:19:28 +00:00
|
|
|
BuildRequires: ant
|
2016-12-03 09:06:33 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2010-10-26 19:19:28 +00:00
|
|
|
BuildRequires: doxygen
|
2015-01-27 18:26:55 +00:00
|
|
|
BuildRequires: fontconfig-devel
|
2016-12-03 09:06:33 +00:00
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: texlive-latex
|
2010-10-26 19:19:28 +00:00
|
|
|
|
|
|
|
%description
|
2016-12-03 09:06:33 +00:00
|
|
|
This package is aiming to provide a full portable free open source Blu-Ray
|
|
|
|
library, which can be plugged into popular media players to allow full Blu-Ray
|
2010-10-26 19:19:28 +00:00
|
|
|
navigation and playback on Linux. It will eventually be compatible with all
|
|
|
|
current titles, and will be easily portable and embeddable in standard players
|
2016-12-03 09:06:33 +00:00
|
|
|
such as MPlayer and VLC.
|
2010-10-26 19:19:28 +00:00
|
|
|
|
2013-11-29 19:04:35 +00:00
|
|
|
%package bdj
|
2011-01-25 23:39:08 +00:00
|
|
|
Summary: BDJ support for %{name}
|
2011-12-04 12:13:33 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2014-02-21 13:24:20 +00:00
|
|
|
%if 0%{?fedora} > 20
|
2014-02-21 13:20:01 +00:00
|
|
|
Requires: java-headless >= 1:1.7.0
|
|
|
|
%else
|
|
|
|
Requires: java >= 1:1.7.0
|
|
|
|
%endif
|
2011-01-25 23:39:08 +00:00
|
|
|
Requires: jpackage-utils
|
|
|
|
|
2013-11-29 19:04:35 +00:00
|
|
|
%description bdj
|
2013-12-22 08:59:20 +00:00
|
|
|
The %{name}-bdj package contains the jar file needed to add BD-J support to
|
2016-12-03 09:06:33 +00:00
|
|
|
%{name}. BD-J support is still considered alpha.
|
2011-01-25 23:39:08 +00:00
|
|
|
|
2016-12-03 09:06:33 +00:00
|
|
|
%package utils
|
2013-11-29 19:04:35 +00:00
|
|
|
Summary: Test utilities for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
2016-12-03 09:06:33 +00:00
|
|
|
%description utils
|
2013-11-29 19:04:35 +00:00
|
|
|
The %{name}-utils package contains test utilities for %{name}.
|
2011-01-25 23:39:08 +00:00
|
|
|
|
2010-10-26 19:19:28 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2011-12-04 12:13:33 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2010-10-26 19:19:28 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2011-12-04 12:13:33 +00:00
|
|
|
%setup -q
|
2016-12-03 14:39:49 +00:00
|
|
|
%patch0 -p1 -b .no_timestamp
|
|
|
|
|
2010-10-26 19:19:28 +00:00
|
|
|
|
|
|
|
%build
|
2016-12-03 09:06:33 +00:00
|
|
|
%if 0%{?fedora}
|
2014-08-04 23:47:43 +00:00
|
|
|
export JDK_HOME="%{_jvmdir}/java-1.8.0"
|
|
|
|
%else
|
2013-09-20 09:15:43 +00:00
|
|
|
export JDK_HOME="%{_jvmdir}/java-1.7.0"
|
2014-08-04 23:47:43 +00:00
|
|
|
%endif
|
2016-12-03 09:06:33 +00:00
|
|
|
|
|
|
|
autoreconf -vif
|
2011-05-14 22:23:32 +00:00
|
|
|
%configure --disable-static \
|
2012-07-01 21:55:31 +00:00
|
|
|
%if %{build_pdf_doc}
|
|
|
|
--enable-doxygen-pdf \
|
|
|
|
%else
|
|
|
|
--disable-doxygen-pdf \
|
|
|
|
%endif
|
|
|
|
--disable-doxygen-ps \
|
|
|
|
--enable-doxygen-html \
|
2017-06-30 15:40:13 +00:00
|
|
|
--enable-examples
|
2011-07-16 20:42:33 +00:00
|
|
|
|
2010-10-26 19:19:28 +00:00
|
|
|
make %{?_smp_mflags}
|
2012-07-01 21:55:31 +00:00
|
|
|
make doxygen-doc
|
2010-10-26 19:19:28 +00:00
|
|
|
# Remove uneeded script
|
2012-03-15 20:05:56 +00:00
|
|
|
rm -f doc/doxygen/html/installdox
|
2010-10-26 19:19:28 +00:00
|
|
|
|
|
|
|
%install
|
2016-12-03 09:06:33 +00:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
2010-10-26 19:19:28 +00:00
|
|
|
|
|
|
|
# Install test utilities
|
2015-05-01 07:58:52 +00:00
|
|
|
for i in bdjo_dump bdsplice clpi_dump hdmv_test index_dump libbluray_test \
|
2013-12-22 08:59:20 +00:00
|
|
|
list_titles mobj_dump mpls_dump sound_dump
|
2016-12-03 09:06:33 +00:00
|
|
|
do install -Dp -m 0755 .libs/$i %{buildroot}%{_bindir}/$i; done;
|
2013-09-20 09:15:43 +00:00
|
|
|
|
2015-05-01 07:58:52 +00:00
|
|
|
install -Dp -m755 .libs/bdj_test %{buildroot}%{_bindir}/bdj_test;
|
2010-10-26 19:19:28 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2015-11-13 16:53:14 +00:00
|
|
|
%license COPYING
|
2017-03-17 10:07:48 +00:00
|
|
|
%doc ChangeLog README.txt
|
|
|
|
%{_libdir}/*.so.2*
|
2011-01-25 23:39:08 +00:00
|
|
|
|
2013-11-29 19:04:35 +00:00
|
|
|
%files bdj
|
2014-06-06 21:08:47 +00:00
|
|
|
%{_javadir}/libbluray-j2se-%{version}.jar
|
2010-10-26 19:19:28 +00:00
|
|
|
|
2013-11-29 19:04:35 +00:00
|
|
|
%files utils
|
|
|
|
%{_bindir}/*
|
2010-10-26 19:19:28 +00:00
|
|
|
|
|
|
|
%files devel
|
2012-07-01 21:55:31 +00:00
|
|
|
%doc doc/doxygen/html
|
|
|
|
%if %{build_pdf_doc}
|
2016-12-03 09:06:33 +00:00
|
|
|
%doc doc/doxygen/%{name}.pdf
|
2012-07-01 21:55:31 +00:00
|
|
|
%endif
|
2010-10-26 19:19:28 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
2016-12-03 09:06:33 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2010-10-26 19:19:28 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-12-04 08:18:54 +00:00
|
|
|
* Sun Dec 03 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.2-1
|
|
|
|
- Update to 1.0.2.
|
|
|
|
|
2017-08-03 01:13:27 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 18:34:29 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-30 15:40:13 +00:00
|
|
|
* Wed Jun 21 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.1-1
|
|
|
|
- Update to 1.0.1.
|
|
|
|
|
2017-03-17 10:07:48 +00:00
|
|
|
* Thu Mar 02 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.0-1
|
|
|
|
- Update to 1.0.0.
|
|
|
|
|
2017-02-10 18:24:51 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-03 14:39:49 +00:00
|
|
|
* Sat Dec 03 2016 Xavier Bachelot <xavier@bachelot.org> 0.9.3-3
|
|
|
|
- Add patch to fix search paths for libjvm.so (RHBZ#1380437).
|
|
|
|
|
2016-12-03 09:06:33 +00:00
|
|
|
* Sat Dec 03 2016 Simone Caronni <negativo17@gmail.com> - 0.9.3-2
|
|
|
|
- Use autotools to get rid of RPATH.
|
|
|
|
- Fix Java build requirements for RHEL/CentOS 7.
|
|
|
|
- Clean up SPEC file, rpmlint fixes.
|
|
|
|
- Add license macro.
|
|
|
|
|
2016-05-18 10:32:46 +00:00
|
|
|
* Wed May 18 2016 Xavier Bachelot <xavier@bachelot.org> 0.9.3-1
|
|
|
|
- Update to 0.9.3.
|
|
|
|
|
2016-03-01 15:31:14 +00:00
|
|
|
* Tue Mar 01 2016 Xavier Bachelot <xavier@bachelot.org> 0.9.2-1
|
|
|
|
- Update to 0.9.2 (RHBZ#1287343).
|
|
|
|
|
2016-02-04 02:56:10 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-14 09:43:34 +00:00
|
|
|
* Fri Nov 13 2015 Dominik Mierzejewski <rpm@greysector.net> - 0.9.1-1
|
|
|
|
- update to 0.9.1
|
2015-11-13 16:53:14 +00:00
|
|
|
- mark license text as such
|
|
|
|
|
2015-06-17 14:17:34 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-11 15:23:27 +00:00
|
|
|
* Thu Jun 11 2015 Karsten Hopp <karsten@redhat.com> 0.8.0-2git}
|
|
|
|
- openjdk is available on all archs now, drop ppc* special cases
|
|
|
|
|
2015-05-01 07:58:52 +00:00
|
|
|
* Wed Apr 29 2015 Xavier Bachelot <xavier@bachelot.org> 0.8.0-1
|
|
|
|
- Update to 0.8.0 (RHBZ#1217475).
|
|
|
|
|
2015-01-27 18:26:55 +00:00
|
|
|
* Tue Jan 27 2015 Xavier Bachelot <xavier@bachelot.org> 0.7.0-1
|
|
|
|
- Update to 0.7.0.
|
|
|
|
|
2014-09-04 18:49:05 +00:00
|
|
|
* Thu Sep 04 2014 Xavier Bachelot <xavier@bachelot.org> 0.6.2-1
|
|
|
|
- Update to 0.6.2.
|
|
|
|
|
2014-08-17 02:25:45 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-04 22:47:45 +00:00
|
|
|
* Tue Aug 05 2014 Xavier Bachelot <xavier@bachelot.org> 0.6.1-1
|
|
|
|
- Update to 0.6.1.
|
2014-08-04 23:47:43 +00:00
|
|
|
- Fix building with openJDK 8.
|
2014-08-04 22:47:45 +00:00
|
|
|
|
2014-06-06 21:08:47 +00:00
|
|
|
* Wed Jun 04 2014 Xavier Bachelot <xavier@bachelot.org> 0.6.0-1
|
|
|
|
- Update to 0.6.0.
|
|
|
|
|
2014-05-27 19:00:03 +00:00
|
|
|
* Sat Apr 26 2014 Xavier Bachelot <xavier@bachelot.org> 0.5.0-5
|
|
|
|
- Tweak the Release: tag to accomodate rpmdev-bumpspec.
|
|
|
|
|
2014-02-21 13:20:01 +00:00
|
|
|
* Fri Feb 21 2014 Xavier Bachelot <xavier@bachelot.org> 0.5.0-4
|
|
|
|
- Requires: java-headless for Fedora 21+ (RHBZ#1068351).
|
|
|
|
- Modernize specfile.
|
|
|
|
|
2014-01-10 19:03:16 +00:00
|
|
|
* Fri Jan 10 2014 Xavier Bachelot <xavier@bachelot.org> 0.5.0-3
|
2014-01-10 18:33:36 +00:00
|
|
|
- Disable BD-J support for ppc64le arch (RHBZ#1051604).
|
|
|
|
|
2013-12-22 09:33:57 +00:00
|
|
|
* Sun Dec 22 2013 Xavier Bachelot <xavier@bachelot.org> 0.5.0-2
|
|
|
|
- Fix build on EL6 (BR: java7-devel instead of java-devel).
|
|
|
|
|
2013-12-22 08:59:20 +00:00
|
|
|
* Sat Dec 21 2013 Xavier Bachelot <xavier@bachelot.org> 0.5.0-1
|
|
|
|
- Update to 0.5.0.
|
|
|
|
|
2013-11-29 19:04:35 +00:00
|
|
|
* Tue Nov 26 2013 Xavier Bachelot <xavier@bachelot.org> 0.4.0-2
|
|
|
|
- Move test utilities to their own subpackage to avoid multilib conflict.
|
|
|
|
Fix RHBZ#1034307.
|
|
|
|
- Rename java subpackage to bdj.
|
|
|
|
- Remove obsolete xine-lib bluray input plugin from doc files.
|
|
|
|
|
2013-09-20 09:15:43 +00:00
|
|
|
* Fri Sep 20 2013 Xavier Bachelot <xavier@bachelot.org> 0.4.0-1
|
|
|
|
- Update to 0.4.0.
|
|
|
|
- Fix rpath issues with some test utilities.
|
|
|
|
|
2013-08-03 04:54:19 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 04:04:31 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-21 17:59:40 +00:00
|
|
|
* Tue Aug 21 2012 Xavier Bachelot <xavier@bachelot.org> 0.2.3-1
|
|
|
|
- Update to 0.2.3.
|
|
|
|
|
2012-07-19 19:19:25 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-01 21:55:31 +00:00
|
|
|
* Tue Jun 12 2012 Xavier Bachelot <xavier@bachelot.org> 0.2.2-3
|
|
|
|
- Don't build pdf doc, it breaks multilib (see RHBZ#835952).
|
|
|
|
|
2012-06-12 23:16:13 +00:00
|
|
|
* Tue Jun 12 2012 Xavier Bachelot <xavier@bachelot.org> 0.2.2-2
|
|
|
|
- Fix multilib conflict in doxygen docs (RHBZ#831401).
|
|
|
|
|
2012-03-20 20:35:24 +00:00
|
|
|
* Tue Mar 20 2012 Xavier Bachelot <xavier@bachelot.org> 0.2.2-1
|
|
|
|
- Update to 0.2.2.
|
|
|
|
|
2012-03-20 14:03:51 +00:00
|
|
|
* Tue Mar 20 2012 Karsten Hopp <karsten@redhat.com> 0.2.1-4
|
|
|
|
- ppc(64) has no java-1.7.0-open yet, disable java subpackage on both PPC archs
|
|
|
|
|
2012-03-15 20:05:56 +00:00
|
|
|
* Thu Mar 15 2012 Rex Dieter <rdieter@fedoraproject.org> 0.2.1-3
|
|
|
|
- make build non-fatal when using doxygen-1.8 (doesn't produce installdox anymore)
|
|
|
|
|
2012-02-01 21:51:33 +00:00
|
|
|
* Wed Feb 01 2012 Xavier Bachelot <xavier@bachelot.org> 0.2.1-2
|
|
|
|
- Rebuild for openjdk 7.
|
|
|
|
|
2012-01-13 07:24:46 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2012-02-01 21:51:33 +00:00
|
|
|
* Thu Dec 01 2011 Xavier Bachelot <xavier@bachelot.org> 0.2.1-1
|
2011-12-04 12:13:33 +00:00
|
|
|
- First upstream official release.
|
|
|
|
- Fix BD-J build (missing files in upstream tarball).
|
|
|
|
- Have subpackages require an arch-specific base package.
|
|
|
|
|
2011-10-23 12:00:05 +00:00
|
|
|
* Sun Oct 23 2011 Xavier Bachelot <xavier@bachelot.org> 0.2-0.7.20111023gite037110f11e70
|
|
|
|
- Update to latest snapshot.
|
|
|
|
|
2011-07-16 21:16:24 +00:00
|
|
|
* Sat Jul 16 2011 Xavier Bachelot <xavier@bachelot.org> 0.2-0.6.20110710git51d7d60a96d06
|
2011-07-16 20:42:33 +00:00
|
|
|
- Don't build java subpackage on ppc64, no java-1.6.0-devel package.
|
|
|
|
|
2011-07-10 13:24:49 +00:00
|
|
|
* Sun Jul 10 2011 Xavier Bachelot <xavier@bachelot.org> 0.2-0.5.20110710git51d7d60a96d06
|
|
|
|
- Update to latest snapshot.
|
|
|
|
|
2011-05-14 22:28:37 +00:00
|
|
|
* Sat May 14 2011 Xavier Bachelot <xavier@bachelot.org> 0.2-0.4.20110514git46ee2766038e9
|
2011-05-14 22:23:32 +00:00
|
|
|
- Update to latest snapshot.
|
|
|
|
- Drop -static subpackage.
|
|
|
|
|
2011-02-08 04:48:42 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-0.3.20110126gitbbf11e43bd82e
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-25 23:39:08 +00:00
|
|
|
* Wed Jan 26 2011 Xavier Bachelot <xavier@bachelot.org> 0.2-0.2.20110126gitbbf11e43bd82e
|
|
|
|
- Update to latest snapshot.
|
|
|
|
- Split the BDJ support to a -java subpackage.
|
|
|
|
|
2010-11-25 20:58:52 +00:00
|
|
|
* Fri Jan 07 2011 Xavier Bachelot <xavier@bachelot.org> 0.2-0.1.20110107git0e5902ff9a6f1
|
2011-01-25 23:39:08 +00:00
|
|
|
- Update to latest snapshot.
|
2010-11-25 20:58:52 +00:00
|
|
|
- Add BR: libxml2-devel for metadata parser.
|
|
|
|
- Add BR: graphviz for doc generation.
|
|
|
|
|
2010-11-09 09:01:52 +00:00
|
|
|
* Thu Oct 28 2010 Xavier Bachelot <xavier@bachelot.org> 0.1-0.3.20101028gitc32862b77dea4
|
|
|
|
- Update to latest snapshot.
|
|
|
|
- Install BDJ jar.
|
|
|
|
|
2010-10-26 19:19:28 +00:00
|
|
|
* Thu Oct 21 2010 Xavier Bachelot <xavier@bachelot.org> 0.1-0.2.20101021git144a204c02687
|
|
|
|
- Fix release tag.
|
|
|
|
- Update to latest snapshot.
|
|
|
|
|
|
|
|
* Thu Aug 19 2010 Xavier Bachelot <xavier@bachelot.org> 0.1-0.1.20100819
|
|
|
|
- Initial Fedora release.
|