2011-11-16 20:47:24 +01:00
|
|
|
#
|
2011-12-01 19:54:20 +01:00
|
|
|
# spec file for package libbluray
|
2011-11-16 20:47:24 +01:00
|
|
|
#
|
2016-05-17 22:36:11 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-11-16 20:47:24 +01:00
|
|
|
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-05-25 19:42:58 +02:00
|
|
|
|
2014-12-19 02:05:19 +01:00
|
|
|
%define soname 1
|
2011-11-16 20:47:24 +01:00
|
|
|
Name: libbluray
|
2016-05-17 22:36:11 +02:00
|
|
|
Version: 0.9.3
|
2012-01-09 11:55:47 +01:00
|
|
|
Release: 0
|
2011-11-16 20:47:24 +01:00
|
|
|
Summary: Library to access Blu-Ray disk
|
2012-01-09 11:55:47 +01:00
|
|
|
License: LGPL-2.1+
|
2012-09-16 13:05:31 +02:00
|
|
|
Group: Productivity/Multimedia/Other
|
2015-02-10 16:30:22 +01:00
|
|
|
Url: http://www.videolan.org/developers/libbluray.html
|
2016-05-19 12:14:28 +02:00
|
|
|
Source0: http://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
2015-02-10 16:30:22 +01:00
|
|
|
Source99: baselibs.conf
|
2014-12-21 18:42:27 +01:00
|
|
|
Patch2: libbluray-jvm_dir.patch
|
2015-02-10 16:30:22 +01:00
|
|
|
BuildRequires: ant
|
2015-08-10 09:53:47 +02:00
|
|
|
BuildRequires: java-devel >= 1.6
|
2014-01-07 10:01:15 +01:00
|
|
|
BuildRequires: libtool
|
2011-11-16 20:47:24 +01:00
|
|
|
BuildRequires: pkg-config
|
2015-01-27 14:30:37 +01:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
2013-10-04 22:01:12 +02:00
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2013-05-07 17:15:30 +02:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.6
|
2011-11-16 20:47:24 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This library is written for the purpose of playing Blu-ray movies. It is
|
|
|
|
intended for software that want to support Blu-ray playback (such as VLC and
|
|
|
|
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
|
|
|
|
2014-12-19 02:05:19 +01:00
|
|
|
%package -n libbluray%{soname}
|
2011-11-16 20:47:24 +01:00
|
|
|
Summary: Library to access Blu-Ray disk
|
2012-09-16 13:05:31 +02:00
|
|
|
Group: Productivity/Multimedia/Other
|
2011-11-16 20:47:24 +01:00
|
|
|
|
2014-12-19 02:05:19 +01:00
|
|
|
%description -n libbluray%{soname}
|
2011-11-16 20:47:24 +01:00
|
|
|
This library is written for the purpose of playing Blu-ray movies. It is
|
|
|
|
intended for software that want to support Blu-ray playback (such as VLC and
|
|
|
|
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
|
|
|
|
2012-09-16 13:05:31 +02:00
|
|
|
%package tools
|
|
|
|
Summary: Library to access Blu-Ray disk - Utilities
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This library is written for the purpose of playing Blu-ray movies. It is
|
|
|
|
intended for software that want to support Blu-ray playback (such as VLC and
|
|
|
|
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
|
|
|
|
2011-11-16 20:47:24 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Library to access Blu-Ray disks - Development files
|
|
|
|
Group: Development/Languages/C and C++
|
2014-12-19 02:05:19 +01:00
|
|
|
Requires: libbluray%{soname} = %{version}
|
2011-11-16 20:47:24 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This library is written for the purpose of playing Blu-ray movies. It is
|
|
|
|
intended for software that want to support Blu-ray playback (such as VLC and
|
|
|
|
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
|
|
|
|
2014-12-19 02:05:19 +01:00
|
|
|
%package bdj
|
|
|
|
Summary: Library to access Blu-Ray disk - BD-J support
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Requires: java >= 1.6
|
|
|
|
Requires: jpackage-utils
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description bdj
|
|
|
|
This library is written for the purpose of playing Blu-ray movies. It is
|
|
|
|
intended for software that want to support Blu-ray playback (such as VLC and
|
|
|
|
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
|
|
|
|
2011-11-16 20:47:24 +01:00
|
|
|
%prep
|
2011-12-02 08:26:44 +01:00
|
|
|
%setup -q
|
2015-02-10 16:30:22 +01:00
|
|
|
%patch2
|
|
|
|
|
2011-11-16 20:47:24 +01:00
|
|
|
%build
|
2015-03-06 11:23:59 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
2015-05-01 11:38:52 +02:00
|
|
|
--enable-bdjava \
|
|
|
|
--enable-udf
|
2011-11-16 20:47:24 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
2014-12-19 02:05:19 +01:00
|
|
|
%post -n libbluray%{soname} -p /sbin/ldconfig
|
2011-11-16 20:47:24 +01:00
|
|
|
|
2014-12-19 02:05:19 +01:00
|
|
|
%postun -n libbluray%{soname} -p /sbin/ldconfig
|
2011-11-16 20:47:24 +01:00
|
|
|
|
2012-09-16 13:05:31 +02:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/bd_info
|
|
|
|
|
2014-12-19 02:05:19 +01:00
|
|
|
%files -n libbluray%{soname}
|
2011-11-16 20:47:24 +01:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libbluray.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_libdir}/libbluray.so
|
|
|
|
%{_libdir}/pkgconfig/libbluray.pc
|
|
|
|
|
2014-12-19 02:05:19 +01:00
|
|
|
%files bdj
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_javadir}/libbluray-j2se-%{version}.jar
|
|
|
|
|
2011-11-16 20:47:24 +01:00
|
|
|
%changelog
|