From 2d1367dfd8cdca17d707433181c2178a44885c96026f7d4c27e5c015268be2be Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Sun, 26 Jun 2011 02:07:12 +0000 Subject: [PATCH] trigger service run OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/celt?expand=0&rev=27 --- _service:download_url:celt-0.11.1.tar.gz | 3 + _service:set_version:celt.spec | 94 ++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 _service:download_url:celt-0.11.1.tar.gz create mode 100644 _service:set_version:celt.spec diff --git a/_service:download_url:celt-0.11.1.tar.gz b/_service:download_url:celt-0.11.1.tar.gz new file mode 100644 index 0000000..c6750a6 --- /dev/null +++ b/_service:download_url:celt-0.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01c2579fba8b283c9068cb704a70a6e654aa74ced064c091cafffbe6fb1d4cbf +size 465853 diff --git a/_service:set_version:celt.spec b/_service:set_version:celt.spec new file mode 100644 index 0000000..1cd9cb6 --- /dev/null +++ b/_service:set_version:celt.spec @@ -0,0 +1,94 @@ +# +# spec file for package celt +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: celt +Version: 0.11.1 +Release: 0 +License: BSD3c(or similar) +Group: Productivity/Multimedia/Other +Summary: Ultra-Low Delay Audio Codec +Url: http://www.celt-codec.org/ +Source: http://downloads.xiph.org/releases/celt/%{name}-%{version}.tar.gz +Source1: baselibs.conf +BuildRequires: libogg-devel pkg-config +# Patch configure.ac to remove the "0" suffix from libcelt +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The CELT codec is an experimental audio codec for use in low-delay +speech and audio communication. + +%package -n libcelt-devel +License: BSD3c(or similar) +Summary: Ultra-Low Delay Audio Codec +Group: Development/Libraries/C and C++ +Requires: celt = %{version} glibc-devel pkg-config + +%description -n libcelt-devel +The CELT codec is an experimental audio codec for use in low-delay +speech and audio communication. + +%package -n libcelt0-2 +License: BSD3c(or similar) +Summary: Ultra-Low Delay Audio Codec +Group: System/Libraries + +%description -n libcelt0-2 +The CELT codec is an experimental audio codec for use in low-delay +speech and audio communication. + +%prep +%setup -q + +%build +autoreconf -f -i +%configure\ + --disable-static\ + --with-pic +%{__make} %{?jobs:-j%jobs} + +%install +make DESTDIR=%buildroot install +rm -f %{buildroot}%{_libdir}/*.la + +%clean +rm -rf %buildroot + +%post -n libcelt0-2 -p /sbin/ldconfig + +%postun -n libcelt0-2 -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc README COPYING TODO +%{_bindir}/celt* + +%files -n libcelt-devel +%defattr(-,root,root) +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/*.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/celt.pc + +%files -n libcelt0-2 +%defattr(-,root,root) +%{_libdir}/libcelt0.so.2* + +%changelog