libquvi/libquvi.spec
Cristian Rodríguez bc82cbce45 Accepting request 204195 from home:scarabeus_iv
- Version bump to 0.9.3:
  - AC_PREREQ: Bump to 2.69 [c591b1b]
  - API: Add QUVI_OPTION_ALLOW_COOKIES [f56798b]
  - API: Add QUVI_VERSION_SCRIPTS_CONFIGURATION [f0c95e0]
  - API: quvi_version: Read "version" file as ini-file [4466c98]
  - FIX: error: implicit declaration of function 'luaL_register' [f02cc3a]
  - FIX: Unescape input URL before URL resolving [f2ce9b7]
  - quvi.http.cookie: Return unless QUVI_OPTION_ALLOW_COOKIES is QUVI_TRUE [876949e]

OBS-URL: https://build.opensuse.org/request/show/204195
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquvi?expand=0&rev=12
2013-10-22 00:02:33 +00:00

92 lines
2.6 KiB
RPMSpec

#
# spec file for package libquvi
#
# Copyright (c) 2013 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 -0_9-0_9_3
Name: libquvi
Version: 0.9.3
Release: 0
Summary: Library to parse flash media stream URLs
License: LGPL-2.1+
Group: System/Libraries
Url: http://quvi.sourceforge.net/
Source: http://downloads.sourceforge.net/project/quvi/0.9/libquvi/libquvi-%{version}.tar.xz
BuildRequires: lua-devel
# For pkgconfig() Provides
BuildRequires: libgcrypt-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig(glib-2.0) >= 2.24
BuildRequires: pkgconfig(libcurl) >= 7.18.2
BuildRequires: pkgconfig(libproxy-1.0) >= 0.3.1
BuildRequires: pkgconfig(libquvi-scripts-0.9) >= 0.9
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 = %{version}
%description devel
libquvi is a cross-platform library for parsing flash media stream
URLs with C API.
%prep
%setup -q
%build
export CFLAGS="%{optflags} -DLUA_COMPAT_MODULE"
%configure \
--disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/*.so
%files devel
%defattr(-,root,root)
%{_includedir}/quvi-0.9/
#{_libdir}/*.so
%{_libdir}/pkgconfig/libquvi-0.9.pc
%{_mandir}/man3/libquvi.3%{?ext_man}
%{_mandir}/man7/quvi-object.7%{?ext_man}
%changelog