[packages/l-smash] - new

qboosh qboosh at pld-linux.org
Sat Apr 18 18:52:28 CEST 2015


commit b251c772360e94a86acf8b3ddd0736cc31886f29
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 18 18:54:15 2015 +0200

    - new

 l-smash.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)
---
diff --git a/l-smash.spec b/l-smash.spec
new file mode 100644
index 0000000..c1bd8f1
--- /dev/null
+++ b/l-smash.spec
@@ -0,0 +1,87 @@
+Summary:	Loyal to Spec of MPEG4, and Ad-hock Simple Hackwork library
+Summary(pl.UTF-8):	Biblioteka L-SMASH (Loyal to Spec of MPEG4, and Ad-hock Simple Hackwork)
+Name:		l-smash
+Version:	2.3.0
+Release:	1
+License:	ISC
+Group:		Libraries
+Source0:	https://github.com/l-smash/l-smash/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	72e68a32e6a671afebbfbbab3b5dd47c
+URL:		http://l-smash.github.io/l-smash/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Loyal to Spec of MPEG4, and Ad-hock Simple Hackwork library.
+
+%description -l pl.UTF-8
+Biblioteka L-SMASH (Loyal to Spec of MPEG4, and Ad-hock Simple
+Hackwork).
+
+%package devel
+Summary:	Header files for L-SMASH library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki L-SMASH
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for L-SMASH library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki L-SMASH.
+
+%package static
+Summary:	Static L-SMASH library
+Summary(pl.UTF-8):	Statyczna biblioteka L-SMASH
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static L-SMASH library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka L-SMASH.
+
+%prep
+%setup -q
+
+%build
+# not autoconf script
+./configure \
+	--prefix=%{_prefix} \
+	--libdir=%{_libdir} \
+	--cc="%{__cc}" \
+	--extra-cflags="%{rpmcflags}" \
+	--extra-ldflags="%{rpmldflags}" \
+	--enable-shared
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} 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)
+%doc LICENSE
+%attr(755,root,root) %{_bindir}/boxdumper
+%attr(755,root,root) %{_bindir}/muxer
+%attr(755,root,root) %{_bindir}/remuxer
+%attr(755,root,root) %{_bindir}/timelineeditor
+%attr(755,root,root) %{_libdir}/liblsmash.so.2
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/liblsmash.so
+%{_includedir}/lsmash.h
+%{_pkgconfigdir}/liblsmash.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/liblsmash.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/l-smash.git/commitdiff/b251c772360e94a86acf8b3ddd0736cc31886f29



More information about the pld-cvs-commit mailing list