[packages/bcmatroska2] - new

qboosh qboosh at pld-linux.org
Sun Jun 2 11:41:33 CEST 2019


commit 499a8ada7922089fb953014898015c9187442bd3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 2 11:42:21 2019 +0200

    - new

 bcmatroska2.spec | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)
---
diff --git a/bcmatroska2.spec b/bcmatroska2.spec
new file mode 100644
index 0000000..72af199
--- /dev/null
+++ b/bcmatroska2.spec
@@ -0,0 +1,90 @@
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+#
+Summary:	Matroska2 library for Belledonne Communications projects
+Summary(pl.UTF-8):	Biblioteka Matroska2 do projektów Belledonne Communications
+Name:		bcmatroska2
+Version:	0.23
+Release:	1
+License:	BSD
+Group:		Libraries
+Source0:	https://linphone.org/releases/sources/bcmatroska2/%{name}-%{version}.tar.gz
+# Source0-md5:	bc9d6dbdfb9790c10051294cc4293476
+URL:		https://linphone.org/
+BuildRequires:	cmake >= 3.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Matroska2 library for Belledonne Communications projects.
+
+%description -l pl.UTF-8
+Biblioteka Matroska2 do projektów Belledonne Communications.
+
+%package devel
+Summary:	Header files for bcmatroska2 library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki bcmatroska2
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Obsoletes:	matroska-foundation-devel
+
+%description devel
+Header files for bcmatroska2 library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki bcmatroska2.
+
+%package static
+Summary:	Static bcmatroska2 library
+Summary(pl.UTF-8):	Statyczna biblioteka bcmatroska2
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static bcmatroska2 library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka bcmatroska2.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake .. \
+	%{!?with_static_libs:-DENABLE_STATIC=OFF}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbcmatroska2.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libbcmatroska2.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbcmatroska2.so
+%{_includedir}/corec
+%{_includedir}/ebml
+%{_includedir}/matroska
+%dir %{_datadir}/bcmatroska2
+%{_datadir}/bcmatroska2/cmake
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libbcmatroska2.a
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bcmatroska2.git/commitdiff/499a8ada7922089fb953014898015c9187442bd3



More information about the pld-cvs-commit mailing list