Hello community, here is the log from the commit of package gnome-subtitles for openSUSE:Factory checked in at 2018-06-29 22:25:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-subtitles (Old) and /work/SRC/openSUSE:Factory/.gnome-subtitles.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-subtitles" Fri Jun 29 22:25:37 2018 rev:16 rq:616458 version:1.3+142 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-subtitles/gnome-subtitles.changes 2013-04-20 17:41:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-subtitles.new/gnome-subtitles.changes 2018-06-29 22:25:41.922515365 +0200 @@ -1,0 +2,24 @@ +Mon Jun 11 22:44:14 UTC 2018 - luc1...@linuxmail.org + +- Update to version 1.3+142: + + Several minor fixes. + + Update translation. +- Replace devel packages BuildRequires with their respective + pkgconfig modules for gstreamer, gstreamer-plugins-base, + gtk-sharp3, gtk3 and mono: these are what configure really looks + for. +- Update post(un) scriptlets to be ran in release versions < 1500. +- Add conditionalized gnome-common and gtk-doc BuildRequires when + building from a git tree. +- Pass enable-gtk-doc parameter to configure to allow building of + API docs while dropping disable-schemas-install configure + parameter, it doesn't exist anymore. +- Conditionalize gnome-doc-utils-devel BuildRequires: this is + required only when building from a git tree. +- Drop: + + suse_update_desktop_file macro call: it is no longer required. + + gconf-sharp2, gconf2-devel, glade-sharp3 and gtkspell + BuildRequires, and glade-sharp2, gnome-sharp2 and gtkspell + Requires: they are no longer required nor used. + +------------------------------------------------------------------- Old: ---- gnome-subtitles-1.3.tar.gz New: ---- _service _servicedata gnome-subtitles-1.3+142.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-subtitles.spec ++++++ --- /var/tmp/diff_new_pack.f1R3af/_old 2018-06-29 22:25:42.354515038 +0200 +++ /var/tmp/diff_new_pack.f1R3af/_new 2018-06-29 22:25:42.354515038 +0200 @@ -1,7 +1,7 @@ # # spec file for package gnome-subtitles # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX 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,38 +16,39 @@ # +%if %(if [ ! -e "%{buildroot}/%{name}-%{version}*/configure" ]; then echo "ok"; fi) == "ok" +%bcond_without from_git +%endif Name: gnome-subtitles -Version: 1.3 +Version: 1.3+142 Release: 0 Summary: Subtitle editor for GNOME -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Editors and Convertors -Url: http://gnome-subtitles.sourceforge.net -Source0: http://downloads.sourceforge.net/project/gnome-subtitles/gnome-subtitles/1.3/%{name}-%{version}.tar.gz +URL: http://gnome-subtitles.sourceforge.net +Source0: %{name}-%{version}.tar.xz BuildRequires: fdupes -BuildRequires: gconf-sharp2 -BuildRequires: gconf2-devel -BuildRequires: glade-sharp2 -BuildRequires: gnome-doc-utils-devel -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -BuildRequires: gtk-sharp2 -BuildRequires: gtk3-devel -BuildRequires: gtkspell BuildRequires: intltool -BuildRequires: mono-devel +BuildRequires: pkgconfig BuildRequires: translation-update-upstream -BuildRequires: update-desktop-files -Requires: glade-sharp2 -Requires: gnome-sharp2 +BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.0 +BuildRequires: pkgconfig(gstreamer-video-1.0) >= 1.0 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.12 +BuildRequires: pkgconfig(gtk-sharp-3.0) >= 2.99.3 +BuildRequires: pkgconfig(mono) >= 4.0 Requires: gstreamer-plugins-base -Requires: gtkspell Requires: mono-core Recommends: %{name}-lang - -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%gconf_schemas_prereq +%if %{with from_git} +BuildRequires: gnome-common +BuildRequires: gnome-doc-utils-devel +BuildRequires: gtk-doc +%endif +%if 0%{?suse_version} < 1330 +BuildRequires: update-desktop-files +Requires(post): update-desktop-files +Requires(postun): update-desktop-files +%endif %description Gnome Subtitles is a subtitle editor for the GNOME desktop. It supports @@ -55,42 +56,39 @@ editing, translation and synchronization. %lang_package + %prep %setup -q translation-update-upstream %build -%{configure} --disable-scrollkeeper \ - --disable-schemas-install +%if %{with from_git} +cp %{_datadir}/gnome-doc-utils/gnome-doc-utils.make . +NOCONFIGURE=1 gnome-autogen.sh +%endif +%configure \ + --disable-scrollkeeper \ + --enable-gtk-doc # Disable parallel build - mono fails to often with it -make +make -j1 %install -%{makeinstall} -%{__rm} %{buildroot}%{_libdir}/%{name}/libgstreamer_playbin.la -%suse_update_desktop_file %{name} +%make_install +find %{buildroot}%{_libdir} -type f -name "*.la" -delete %find_lang %{name} %{?no_lang_C} -%find_gconf_schemas -%fdupes -s %{buildroot} - -%clean -%{__rm} -rf '%{buildroot}' - -%pre -f %{name}.schemas_pre - -%posttrans -f %{name}.schemas_posttrans - -%preun -f %{name}.schemas_preun +#fdupes %{buildroot} +%if 0%{?suse_version} < 1330 %post %desktop_database_post %postun %desktop_database_postun +%endif -%files -f %{name}.schemas_list -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README +%files +%license COPYING +%doc AUTHORS ChangeLog NEWS README %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/%{name}/ @@ -101,8 +99,10 @@ %{_bindir}/%{name} %{_libdir}/%{name}/ %{_datadir}/applications/%{name}.desktop -%{_mandir}/man1/gnome-subtitles.1* +%{_mandir}/man1/gnome-subtitles.1%{ext_man} %{_datadir}/pixmaps/gnome-subtitles.svg +%{_datadir}/appdata/gnome-subtitles.appdata.xml +%{_datadir}/glib-2.0/schemas/org.gnome.GnomeSubtitles.gschema.xml %files lang -f %{name}.lang ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="url">https://gitlab.gnome.org/GNOME/gnome-subtitles.git</param> <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="versionrewrite-pattern">gnomesubtitles(\d+)\.(\d+)</param> <param name="versionrewrite-replacement">\1.\2</param> <param name="changesgenerate">enable</param> <param name="revision">master</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/hughsie/appstream-glib.git</param> <param name="changesrevision">4e30302953a7e7b89c57b717e2aa0096c17ac166</param></service><service name="tar_scm"> <param name="url">https://gitlab.gnome.org/GNOME/gnome-subtitles.git</param> <param name="changesrevision">f7562a20514322acb642ba7814af5eda08a4d029</param></service></servicedata>