]> git.pld-linux.org Git - packages/libbluray.git/commitdiff
- new
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sun, 11 Mar 2012 22:29:10 +0000 (22:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libbluray.spec -> 1.1

libbluray.spec [new file with mode: 0644]

diff --git a/libbluray.spec b/libbluray.spec
new file mode 100644 (file)
index 0000000..5e42461
--- /dev/null
@@ -0,0 +1,99 @@
+#
+# 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
This page took 0.183744 seconds and 4 git commands to generate.