Package init
This commit is contained in:
commit
950153c37d
11
libbluray-0.8.0-no_doxygen_timestamp.patch
Normal file
11
libbluray-0.8.0-no_doxygen_timestamp.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- libbluray-0.2.2/doc/doxygen-footer.html.orig 2012-06-13 02:25:30.740725465 +0200
|
||||||
|
+++ libbluray-0.2.2/doc/doxygen-footer.html 2012-06-13 02:25:56.585725752 +0200
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
<hr size="1">
|
||||||
|
<div id="footer">
|
||||||
|
<small>
|
||||||
|
- Generated on $datetime for $projectname by
|
||||||
|
+ Generated for $projectname by
|
||||||
|
<a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1<br />
|
||||||
|
Copyright © 2010 John Stebbins et al.<br />
|
||||||
BIN
libbluray-1.1.2.tar.bz2
Normal file
BIN
libbluray-1.1.2.tar.bz2
Normal file
Binary file not shown.
83
libbluray.spec
Normal file
83
libbluray.spec
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
Name: libbluray
|
||||||
|
Version: 1.1.2
|
||||||
|
Release: 1
|
||||||
|
Summary: Library used to access Blu-ray Disc for video playback
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: https://www.videolan.org/developers/libbluray.html
|
||||||
|
Source0: https://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
|
Patch0: libbluray-0.8.0-no_doxygen_timestamp.patch
|
||||||
|
|
||||||
|
BuildRequires: ant autoconf automake doxygen fontconfig-devel freetype-devel graphviz
|
||||||
|
BuildRequires: java-1.8.0-openjdk-devel javapackages-tools libtool libxml2-devel texlive-latex
|
||||||
|
Provides: %{name}-utils
|
||||||
|
Obsoletes: %{name}-utils
|
||||||
|
|
||||||
|
%description
|
||||||
|
Libbluray is an open-source library designed for Blu-Ray Discs playback for media players, like
|
||||||
|
VLC or MPlayer.Contain The %{name}-utils package contains test utilities for %{name}.
|
||||||
|
|
||||||
|
%package bdj
|
||||||
|
Summary: BDJ support for %{name}
|
||||||
|
Requires: %{name}=%{version}-%{release} java-headless >= 1:1.8 jpackage-utils
|
||||||
|
|
||||||
|
%description bdj
|
||||||
|
The %{name}-bdj contains the jar file for %{name} to provide BD-J support.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Contain header files for %{name}
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for use %{name}.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
export JDK_HOME="%{_jvmdir}/java-1.8.0"
|
||||||
|
|
||||||
|
autoreconf -ivf
|
||||||
|
%configure --disable-doxygen-pdf --disable-doxygen-ps \
|
||||||
|
--enable-doxygen-html --enable-examples
|
||||||
|
|
||||||
|
%make_build
|
||||||
|
make doxygen-doc
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%delete_la
|
||||||
|
|
||||||
|
for i in bdjo_dump bdsplice bdj_test 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;
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.txt
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files bdj
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_javadir}/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/*.a
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc ChangeLog
|
||||||
|
%doc doc/doxygen/html
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Sep 05 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user