From 73f84c57ae781b8fc6fe442dd5b1b7ded8b776efa05dee4454199d275db0b36c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 10 Jan 2012 13:38:55 +0000 Subject: [PATCH] Accepting request 99626 from home:vuntz:branches:multimedia:libs New package: quvi got split in three modules, and this is one of the two new modules; moving to multimedia:libs at the same time since it makes sense OBS-URL: https://build.opensuse.org/request/show/99626 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquvi?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ libquvi-0.4.0.tar.bz2 | 3 ++ libquvi.changes | 7 ++++ libquvi.spec | 85 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 118 insertions(+) create mode 100644 .gitattributes create mode 100644 libquvi-0.4.0.tar.bz2 create mode 100644 libquvi.changes create mode 100644 libquvi.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/libquvi-0.4.0.tar.bz2 b/libquvi-0.4.0.tar.bz2 new file mode 100644 index 0000000..ea8ea98 --- /dev/null +++ b/libquvi-0.4.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:763a7876274cba3824f4c74b7efd555b3886e2a25c03fe6c8cdca20d67bfcf04 +size 301644 diff --git a/libquvi.changes b/libquvi.changes new file mode 100644 index 0000000..6fb3182 --- /dev/null +++ b/libquvi.changes @@ -0,0 +1,7 @@ +------------------------------------------------------------------- +Tue Jan 10 13:13:14 UTC 2012 - vuntz@opensuse.org + +- New package (version 0.4.0). +- This is based on the quvi 0.2.19 package: quvi got split in three + modules upstream for 0.4.x. + diff --git a/libquvi.spec b/libquvi.spec new file mode 100644 index 0000000..bf38acf --- /dev/null +++ b/libquvi.spec @@ -0,0 +1,85 @@ +# +# spec file for package libquvi +# +# 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/ +# + +%define soname 7 + +Name: libquvi +Version: 0.4.0 +Release: 1 +Summary: Library to parse flash media stream URLs +Group: System/Libraries +License: LGPL-2.1+ +Url: http://quvi.sourceforge.net/ +Source: %{name}-%{version}.tar.bz2 +BuildRequires: lua51-devel +# For pkgconfig() Provides +BuildRequires: pkg-config +BuildRequires: pkgconfig(libcurl) >= 7.18.2 +BuildRequires: pkgconfig(libquvi-scripts) >= 0.4.0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +libquvi is a cross-platform library for parsing flash media stream +URLs with C API. + +%package -n libquvi%{soname} +Summary: Library to parse flash media stream URLs +Group: System/Libraries +Recommends: libquvi-scripts + +%description -n libquvi%{soname} +libquvi is a cross-platform library for parsing flash media stream +URLs with C API. + +%package devel +Summary: Library to parse flash media stream URLs -- Development Files +Group: Development/Libraries/C and C++ +Requires: libquvi%{soname} = %{version} + +%description devel +libquvi is a cross-platform library for parsing flash media stream +URLs with C API. + +%prep +%setup -q + +%build +%configure \ + --disable-static +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print + +%post -n libquvi%{soname} -p /sbin/ldconfig + +%postun -n libquvi%{soname} -p /sbin/ldconfig + +%files -n libquvi%{soname} +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING NEWS README +%{_libdir}/*.so.* +%{_mandir}/man3/libquvi.3%{?ext_man} + +%files devel +%defattr(-,root,root) +%{_includedir}/quvi/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/libquvi.pc + +%changelog