From 7b8700879e59372a837d393d15fc6b83782e9231ac2977cfd4988c1ebf7e010d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 16 Nov 2011 19:47:24 +0000 Subject: [PATCH] Accepting request 91879 from home:dimstar New package, libbluray. The purpose of the library is easily guessable: playing bluray disks. The library itself does NOT contain codecs or anything. Equally to libdvdnav (which we ship), the access to the BD disk can be and should be provided by us to the users. Please review and forward to Factory. I will keep on maintaining the library. OBS-URL: https://build.opensuse.org/request/show/91879 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + libbluray.changes | 5 +++ libbluray.spec | 81 +++++++++++++++++++++++++++++++++++++++++++++++ libbluray.tar.bz2 | 3 ++ 5 files changed, 113 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libbluray.changes create mode 100644 libbluray.spec create mode 100644 libbluray.tar.bz2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libbluray.changes b/libbluray.changes new file mode 100644 index 0000000..0415cea --- /dev/null +++ b/libbluray.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Nov 16 19:19:40 UTC 2011 - dimstar@opensuse.org + +- Initial package, version 0.1.99 (a git-snapshot) + diff --git a/libbluray.spec b/libbluray.spec new file mode 100644 index 0000000..3b0a2df --- /dev/null +++ b/libbluray.spec @@ -0,0 +1,81 @@ +# +# spec file for package +# +# 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/ +# + +Name: libbluray +Version: 0.1.99_0.2 +Release: 1.1 +License: LGPL-2.1+ +Summary: Library to access Blu-Ray disk +Url: http://bd.videolan.org +Group: System/Libraries +# This is currently a git snapshot / 2011-11-16 +Source: %{name}.tar.bz2 +BuildRequires: pkg-config +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. + +%package -n libbluray0 +Summary: Library to access Blu-Ray disk +Group: System/Libraries + +%description -n libbluray0 +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. + +%package devel +Summary: Library to access Blu-Ray disks - Development files +Group: Development/Languages/C and C++ +Requires: libbluray0 = %{version} + +%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. + +%prep +%setup -q -n %{name} + +%build +./bootstrap +%configure --disable-static +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n libbluray0 -p /sbin/ldconfig + +%postun -n libbluray0 -p /sbin/ldconfig + +%files -n libbluray0 +%defattr(-, root, root) +%doc COPYING +%{_libdir}/libbluray.so.* + +%files devel +%defattr(-, root, root) +%{_includedir}/%{name}/ +%{_libdir}/libbluray.so +%{_libdir}/pkgconfig/libbluray.pc + +%changelog diff --git a/libbluray.tar.bz2 b/libbluray.tar.bz2 new file mode 100644 index 0000000..22027d8 --- /dev/null +++ b/libbluray.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddf627c912f5dbde375a985dbcc00c9c57a0dad74d76f5fabb5209dd53a7d9b8 +size 3082216