forked from pool/libquvi
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
This commit is contained in:
85
libquvi.spec
Normal file
85
libquvi.spec
Normal file
@@ -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
|
Reference in New Issue
Block a user