packages: libbluray/libbluray.spec (NEW)=?UTF-8?Q?=20?=- new
megabajt
megabajt at pld-linux.org
Sun Mar 11 23:29:15 CET 2012
Author: megabajt Date: Sun Mar 11 22:29:15 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/libbluray:
libbluray.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libbluray/libbluray.spec
diff -u /dev/null packages/libbluray/libbluray.spec:1.1
--- /dev/null Sun Mar 11 23:29:15 2012
+++ packages/libbluray/libbluray.spec Sun Mar 11 23:29:10 2012
@@ -0,0 +1,110 @@
+# $Revision$, $Date$
+#
+# TODO:
+# Build with bdjava (0.2.1 tarball doesn't have all necessary files)
+#
+# Conditional build:
+%bcond_without static_libs # don't build static libraries
+#
+Summary: Library to access Blu-Ray disks for video playback
+Name: libbluray
+Version: 0.2.1
+Release: 1
+License: LGPL v2+
+Group: Libraries
+Source0: ftp://ftp.videolan.org/pub/videolan/libbluray/0.2.1/%{name}-%{version}.tar.bz2
+# Source0-md5: d4cfcf3f110e9d2afe01d29feb8c842b
+URL: http://www.videolan.org/developers/libbluray.html
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: doxygen
+BuildRequires: libtool
+BuildRequires: libxml2-devel >= 1:2.6.0
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package is aiming to provide a full portable free open source
+bluray library, which can be plugged into popular media players to
+allow full bluray navigation and playback on Linux. It will eventually
+be compatible with all current titles, and will be easily portable and
+embeddable in standard players such as mplayer and vlc.
+
+%package devel
+Summary: Header files for libbluray library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libbluray
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for libbluray library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libbluray.
+
+%package static
+Summary: Static libbluray library
+Summary(pl.UTF-8): Statyczna biblioteka libbluray
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libbluray library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libbluray.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ %{__enable_disable static_libs static}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%attr(755,root,root) %{_libdir}/libbluray.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libbluray.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbluray.so
+%{_includedir}/libbluray
+%{_pkgconfigdir}/libbluray.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libbluray.a
+%endif
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/03/11 22:29:10 megabajt
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list