SHA256
1
0
forked from pool/quvi

Accepting request 99633 from multimedia:libs

Update to 0.4.1 (forwarded request 99629 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/99633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/quvi?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2012-01-24 11:21:26 +00:00 committed by Git OBS Bridge
parent 30bee5450f
commit 34ca4f57ed
5 changed files with 42 additions and 82 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e325e3782371f2f8e6fc882c872d375fba3c6b9eff77f05e3345f7220bc0025
size 442814

3
quvi-0.4.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97e06e3f7f856458355f979459636cd2dce2c265075ff442f23afaf333b074d0
size 128226

View File

@ -1,11 +0,0 @@
--- src/libquvi/net_api.c
+++ src/libquvi/net_api.c
@@ -24,6 +24,8 @@
#include "quvi/llst.h"
#include "internal.h"
+#include <string.h>
+#include "util.h"
extern const char empty[]; /* quvi_api.c */

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue Jan 10 13:15:16 UTC 2012 - vuntz@opensuse.org
- Update to version 0.4.1:
+ Accept multiple occurences of --exec
+ Add verbosity level 'mute'
+ Add new options: --export-format, --export-level, --verbosity,
--category, --feature
+ Deprecate options: --verbose-libcurl, --category-*, --quiet,
--no-*, --xml
+ Properly escape strings passed to shell
- Changes from version 0.4.0:
+ Split old code in three modules: quvi, libquvi,
libquvi-scripts.
+ Make --category-all new default (prev. --category-http)
+ Extend --exec to support %t, page title
+ Remove deprecated "--format (help|list)"
+ Remove deprecated "--no-shortened"
+ Remove deprecated "--old"
- Completely rework packaging, following the upstream split in
three modules. This can be considered as a new package.
-------------------------------------------------------------------
Tue Nov 29 14:52:36 CET 2011 - ro@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package quvi
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@ -15,90 +15,39 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define soname 6
Name: quvi
Version: 0.2.19
Release: 1
Summary: Parsing video downloads links for Youtube and others
Version: 0.4.1
Release: 0
Summary: Command line tool for parsing flash media stream URLs
License: LGPL-2.1+
Group: Productivity/Multimedia/Other
License: GNU LGPLv2.1
Url: http://sourceforge.net/projects/quvi/files/0.2/
Url: http://quvi.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
Patch0: quvi-include_stdio.patch
BuildRequires: pkg-config
BuildRequires: pkgconfig(libcurl) >= 7.18.2
BuildRequires: pkgconfig(libquvi) >= 0.4.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcurl) >= 7.18.0
BuildRequires: pkgconfig(libpcre) >= 7.8
BuildRequires: pkgconfig(lua) >= 5.1
%description
quvi is a commandline tool for parsing video download links. It supports
Youtube and other similar video Web sites.
%package -n libquvi%{soname}
Summary: Parsing video downloads links for Youtube and others
Group: Development/Libraries/C and C++
%description -n libquvi%{soname}
libquvi is a library for parsing video download links with a C API. It is
written in C and intended to be a cross-platform library.
%package -n libquvi-devel
Summary: Parsing video downloads links for Youtube and others
Group: Development/Libraries/C and C++
Requires: libquvi%{soname} = %{version}-%{release}
Requires: pkg-config
Requires: %{name} = %{version}
%description -n libquvi-devel
libquvi is a library for parsing video download links with a C API. It is
written in C and intended to be a cross-platform library.
quvi is a command line tool for parsing flash media stream URLs.
It supports many websites including YouTube and Dailymotion.
%prep
%setup -q
%patch0
%build
%{configure} \
--enable-smut \
--enable-broken \
--disable-rpath \
%configure \
--disable-static
make %{?_smp_mflags}
%install
%{makeinstall}
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%post -n libquvi%{soname} -p /sbin/ldconfig
%postun -n libquvi%{soname} -p /sbin/ldconfig
%make_install
%files
%defattr(-,root,root,0755)
%doc COPYING README
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_mandir}/man1/%{name}*
%files -n libquvi%{soname}
%defattr(-,root,root,0755)
%doc COPYING
%{_libdir}/*.so.*
%files -n libquvi-devel
%defattr(-,root,root,0755)
%doc ChangeLog
%{_includedir}/%{name}/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/quvi
%{_mandir}/man1/quvi.1%{?ext_man}
%changelog