Accepting request 519091 from GNOME:Next

Looks like we will need this for the new gmime.
- Update to version 3.25.90:
  + Correct the soname of the install library.
  + Fix TOTEM_PL_PARSER_CHECK_VERSION() being missing.
  + Fix a small memory leak checking for videosite scripts and
    document the internal API.
  + Remove a number of obsolete files.
- Drop totem-pl-parser-header.patch: Fixed upstream.
- Conditionally apply translations-update-upstream BuildRequires
  and macro for non-openSUSE only.
- Set sover define to 18, upstream have sorted out it's versioning.
- Update to version 3.25.3:
  + Use meson instead of autotools as a build tool.
- Port to meson build system:
  + Add meson and gtk-doc BuildRequires.
  + use meson relevant macros in place of
    configure/make/make_install.
  + Delete %{_libdir}/pkgconfig/totem-pl-parser.spec: this file is
    being installed by error (bgo#784086).
- Introduce sover defines, set to 19_0_1, used for the shared
  library packages. Before setting the variable, the value would
  have beeen '18'. This resolts in renaming of the SLPP packages to
  *19_0_1.
- Add totem-pl-parser-header.patch: Use the header template to
  create the actual header file.
- Replace pkgconfig(gmime-2.6) with pkgconfig(gmime-3.0) following
  upstream changes.

OBS-URL: https://build.opensuse.org/request/show/519091
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/totem-pl-parser?expand=0&rev=116
This commit is contained in:
2017-08-28 14:36:17 +00:00
committed by Git OBS Bridge
parent f8a2d49c45
commit cb3b2679bf
4 changed files with 66 additions and 30 deletions
+34
View File
@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Mon Aug 14 18:56:34 UTC 2017 - zaitor@opensuse.org
- Update to version 3.25.90:
+ Correct the soname of the install library.
+ Fix TOTEM_PL_PARSER_CHECK_VERSION() being missing.
+ Fix a small memory leak checking for videosite scripts and
document the internal API.
+ Remove a number of obsolete files.
- Drop totem-pl-parser-header.patch: Fixed upstream.
- Conditionally apply translations-update-upstream BuildRequires
and macro for non-openSUSE only.
- Set sover define to 18, upstream have sorted out it's versioning.
-------------------------------------------------------------------
Thu Jun 22 10:33:32 UTC 2017 - dimstar@opensuse.org
- Update to version 3.25.3:
+ Use meson instead of autotools as a build tool.
- Port to meson build system:
+ Add meson and gtk-doc BuildRequires.
+ use meson relevant macros in place of
configure/make/make_install.
+ Delete %{_libdir}/pkgconfig/totem-pl-parser.spec: this file is
being installed by error (bgo#784086).
- Introduce sover defines, set to 19_0_1, used for the shared
library packages. Before setting the variable, the value would
have beeen '18'. This resolts in renaming of the SLPP packages to
*19_0_1.
- Add totem-pl-parser-header.patch: Use the header template to
create the actual header file.
- Replace pkgconfig(gmime-2.6) with pkgconfig(gmime-3.0) following
upstream changes.
-------------------------------------------------------------------
Wed Jun 21 18:18:07 UTC 2017 - zaitor@opensuse.org
+29 -27
View File
@@ -17,18 +17,23 @@
Name: totem-pl-parser
Version: 3.10.8
Version: 3.25.90
Release: 0
%define sover 18
Summary: A simple GObject-based library to parse playlist formats
License: LGPL-2.0+
Group: Productivity/Multimedia/Video/Players
Url: http://www.gnome.org/projects/totem/
Source0: http://download.gnome.org/sources/totem-pl-parser/3.10/%{name}-%{version}.tar.xz
Source0: http://download.gnome.org/sources/totem-pl-parser/3.25/%{name}-%{version}.tar.xz
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libgcrypt-devel
BuildRequires: meson
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
BuildRequires: pkgconfig(glib-2.0) >= 2.31.0
BuildRequires: pkgconfig(gmime-2.6)
BuildRequires: pkgconfig(gmime-3.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libarchive) >= 3.0
BuildRequires: pkgconfig(libquvi-0.9) >= 0.9.1
@@ -42,18 +47,18 @@ Recommends: %{name}-lang
totem-pl-parser is a simple GObject-based library to parse a host of
playlist formats, to save them too.
%package -n libtotem-plparser18
%package -n libtotem-plparser%{sover}
Summary: A simple GObject-based library to parse playlist formats
# Main package contains libexec files needed for full functionality
Group: System/Libraries
Requires: %{name} >= %{version}
%description -n libtotem-plparser18
%description -n libtotem-plparser%{sover}
totem-pl-parser is a simple GObject-based library to parse a host of
playlist formats, to save them too.
%package -n typelib-1_0-TotemPlParser-1_0
Summary: A simple GObject-based library to parse playlist formats -- Introspection bindings
Summary: Introspection bindings for libtotem-plparser
# Main package contains libexec files needed for full functionality
Group: System/Libraries
Requires: %{name} >= %{version}
@@ -65,21 +70,21 @@ playlist formats, to save them too.
This package provides the GObject Introspection bindings for the
totem-pl-parser library.
%package -n libtotem-plparser-mini18
%package -n libtotem-plparser-mini%{sover}
Summary: A simple GObject-based library to parse playlist formats -- Mini version
# Main package contains libexec files needed for full functionality
Group: System/Libraries
Requires: %{name} >= %{version}
%description -n libtotem-plparser-mini18
%description -n libtotem-plparser-mini%{sover}
totem-pl-parser is a simple GObject-based library to parse a host of
playlist formats, to save them too.
%package devel
Summary: A simple GObject-based library to parse playlist formats
Group: Development/Libraries/GNOME
Requires: libtotem-plparser-mini18 = %{version}
Requires: libtotem-plparser18 = %{version}
Requires: libtotem-plparser%{sover} = %{version}
Requires: libtotem-plparser-mini%{sover} = %{version}
Requires: typelib-1_0-TotemPlParser-1_0 = %{version}
%description devel
@@ -89,35 +94,32 @@ playlist formats, to save them too.
%lang_package
%prep
%setup -q
%if !0%{?is_opensuse}
translation-update-upstream
%endif
%build
%configure \
--disable-static \
--enable-quvi
make %{?jobs:-j%jobs}
%post -n libtotem-plparser18 -p /sbin/ldconfig
%postun -n libtotem-plparser18 -p /sbin/ldconfig
%post -n libtotem-plparser-mini18 -p /sbin/ldconfig
%postun -n libtotem-plparser-mini18 -p /sbin/ldconfig
%meson \
-Denable-gtk-doc=true \
%{nil}
%meson_build
%install
%makeinstall
find %{buildroot}%{_libdir} -name "*.la" -type f -print -delete
%meson_install
%find_lang %{name}
%clean
%post -n libtotem-plparser%{sover} -p /sbin/ldconfig
%postun -n libtotem-plparser%{sover} -p /sbin/ldconfig
%post -n libtotem-plparser-mini%{sover} -p /sbin/ldconfig
%postun -n libtotem-plparser-mini%{sover} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%dir %{_libexecdir}/totem-pl-parser/
%{_libexecdir}/totem-pl-parser/99-totem-pl-parser-videosite
%files -n libtotem-plparser18
%files -n libtotem-plparser%{sover}
%defattr(-, root, root)
%{_libdir}/libtotem-plparser.so.*
@@ -125,7 +127,7 @@ find %{buildroot}%{_libdir} -name "*.la" -type f -print -delete
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TotemPlParser-1.0.typelib
%files -n libtotem-plparser-mini18
%files -n libtotem-plparser-mini%{sover}
%defattr(-, root, root)
%{_libdir}/libtotem-plparser-mini.so.*
Binary file not shown.
Binary file not shown.