diff --git a/libquvi-0.4.1.tar.bz2 b/libquvi-0.4.1.tar.bz2 deleted file mode 100644 index e30ceb5..0000000 --- a/libquvi-0.4.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5a2fb0571634483e8a957910f44e739f5a72eb9a1900bd10b453c49b8d5f49d -size 308126 diff --git a/libquvi-0.9.2.tar.xz b/libquvi-0.9.2.tar.xz new file mode 100644 index 0000000..03abc17 --- /dev/null +++ b/libquvi-0.9.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30f567e805641e582df9219db6ef3e642989b29c10ece0cbd58b002ad14c89a2 +size 370052 diff --git a/libquvi-rpmlintrc b/libquvi-rpmlintrc new file mode 100644 index 0000000..be4ee7e --- /dev/null +++ b/libquvi-rpmlintrc @@ -0,0 +1 @@ +addFilter("shlib-policy-name-error") diff --git a/libquvi.changes b/libquvi.changes index aea393b..77e5f8d 100644 --- a/libquvi.changes +++ b/libquvi.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed Aug 14 09:08:35 UTC 2013 - dimstar@opensuse.org + +- Update to version 0.9.2: + + One year of bugfixing and improvements. Please see NEWS for + a full list of changes. +- Add -DLUA_COMPAT_MODULE to CFLAGS, allowing to use compatibility + features of LUA 5.1, using LUA 5.2. +- Move the library to libquvi. NOTE: the current library is a .so + file only and does not have version information. This is an + intentional behavior from upstream and accepted during the 0.9 + release cycle. The versions are ABI incompatible to each other. + See http://repo.or.cz/w/libquvi.git/commit/20b1e for a rationale. +- Add libquvi-rpmlintrc: we need to filter out the library being + in the main package now. rpmlintrc does not know correcly about + this case, and considering that this is a temporary situation + during the 0.9 cycle, it's also not worthy to address this in + rpmlintrc code. + ------------------------------------------------------------------- Sat Dec 29 18:01:49 UTC 2012 - p.drouand@gmail.com diff --git a/libquvi.spec b/libquvi.spec index 94f2a9f..056a615 100644 --- a/libquvi.spec +++ b/libquvi.spec @@ -1,7 +1,7 @@ # # spec file for package libquvi # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -16,21 +16,24 @@ # -%define soname 7 +%define soname -0_9-0_9_2 Name: libquvi -Version: 0.4.1 +Version: 0.9.2 Release: 0 Summary: Library to parse flash media stream URLs License: LGPL-2.1+ Group: System/Libraries Url: http://quvi.sourceforge.net/ -Source: %{name}-%{version}.tar.bz2 -BuildRequires: lua-devel >= 5.1 +Source: http://downloads.sourceforge.net/project/quvi/0.9/libquvi/libquvi-0.9.2.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(libquvi-scripts) >= 0.4.0 +BuildRequires: pkgconfig(libproxy-1.0) >= 0.3.1 +BuildRequires: pkgconfig(libquvi-scripts-0.9) >= 0.9 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -49,7 +52,7 @@ 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} +Requires: libquvi = %{version} %description devel libquvi is a cross-platform library for parsing flash media stream @@ -59,6 +62,7 @@ URLs with C API. %setup -q %build +export CFLAGS="%{optflags} -DLUA_COMPAT_MODULE" %configure \ --disable-static make %{?_smp_mflags} @@ -67,20 +71,21 @@ make %{?_smp_mflags} %make_install find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print -%post -n libquvi%{soname} -p /sbin/ldconfig +%post -p /sbin/ldconfig -%postun -n libquvi%{soname} -p /sbin/ldconfig +%postun -p /sbin/ldconfig -%files -n libquvi%{soname} +%files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README -%{_libdir}/*.so.* -%{_mandir}/man3/libquvi.3%{?ext_man} +%{_libdir}/*.so %files devel %defattr(-,root,root) -%{_includedir}/quvi/ -%{_libdir}/*.so -%{_libdir}/pkgconfig/libquvi.pc +%{_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