Hello community, here is the log from the commit of package libgnomeui for openSUSE:Factory checked in at 2017-09-13 21:44:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgnomeui (Old) and /work/SRC/openSUSE:Factory/.libgnomeui.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgnomeui" Wed Sep 13 21:44:20 2017 rev:51 rq:522344 version:2.24.6+20170807.30334c28 Changes: -------- --- /work/SRC/openSUSE:Factory/libgnomeui/libgnomeui.changes 2016-06-03 16:34:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomeui.new/libgnomeui.changes 2017-09-13 21:44:21.715781813 +0200 @@ -1,0 +2,27 @@ +Fri Sep 8 13:32:28 UTC 2017 - [email protected] + +- Update old boilerplate summaries and macros. + +------------------------------------------------------------------- +Wed Aug 16 11:31:21 UTC 2017 - [email protected] + +- Update to version 2.24.6+20170807.30334c28: + + Fix compiler warnings. + + Add DOAP file. + + Doap category deprecated. + + Explicitly link against libm for floor(). + + gnome-scores.h: Convert to UTF-8. + + Updated translations. +- Switch to source service git based checkout. +- Following the above, add gnome-common BuildRequires and pass + NOCONFIGURE=1 ./autogen.sh, we need to bootstrap. +- Also add export CFLAGS="%{optflags} -Wno-error=format-nonliteral" + as some warnings are fatal when building a gitcheckout. +- Pass --enable-gtk-doc to configure, needed now to build docs. +- Drop conditionals for obsolete versions of openSUSE. +- Add Url, silence rpmlint. +- Modernize spec. +- Conditionally apply translations-update-upstream BuildRequires + and macro for non-openSUSE only. + +------------------------------------------------------------------- Old: ---- libgnomeui-2.24.5.tar.bz2 New: ---- _service _servicedata libgnomeui-2.24.6+20170807.30334c28.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgnomeui.spec ++++++ --- /var/tmp/diff_new_pack.i2HYJa/_old 2017-09-13 21:44:22.411683905 +0200 +++ /var/tmp/diff_new_pack.i2HYJa/_new 2017-09-13 21:44:22.411683905 +0200 @@ -1,7 +1,7 @@ # # spec file for package libgnomeui # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,35 +17,42 @@ Name: libgnomeui -# bug437293 -%ifarch ppc64 -Obsoletes: libgnomeui-64bit -%endif -# -Requires: shared-mime-info -Version: 2.24.5 +Version: 2.24.6+20170807.30334c28 Release: 0 Summary: The GNOME User Interface Library -License: GPL-2.0+ and LGPL-2.1+ +License: GPL-2.0+ AND LGPL-2.1+ Group: Development/Libraries/GNOME -Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.24/%{name}-%{version}.tar.bz2 +Url: http://www.gnome.org/ +# Source based on tar_scm _service +Source: %{name}-%{version}.tar.xz +#Source: http://ftp.gnome.org/pub/GNOME/sources/%%{name}/2.24/%%{name}-%%{version}.tar.bz2 Source99: baselibs.conf # PATCH-FIX-UPSTREAM libgnomeui-bnc468821-do-not-steal-sm-connection.patch bnc468821 bgo573058 [email protected] -- Make libgnomeui only handle SM connection it has initiated Patch0: libgnomeui-bnc468821-do-not-steal-sm-connection.patch +# BuildRequires: fdupes +BuildRequires: gnome-common BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: libbonoboui-devel BuildRequires: libglade2-devel BuildRequires: libgnome-keyring-devel BuildRequires: libjpeg-devel -BuildRequires: pkg-config -BuildRequires: translation-update-upstream +BuildRequires: pkgconfig BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(x11) +Requires: shared-mime-info Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# +# bug437293 +%ifarch ppc64 +Obsoletes: libgnomeui-64bit +%endif +# +%if !0%{?is_opensuse} +BuildRequires: translation-update-upstream +%endif %description This library contains all the user interface-related functions for @@ -53,7 +60,7 @@ to develop GNOME 2.x Desktop software. %package devel -Summary: Include files and libraries mandatory for development with libgnomeui +Summary: Development files for libgnomeui Group: Development/Libraries/GNOME Requires: libgnomeui = %{version} # Those are listed as Libs in libgnomeui-2.0.pc, and therefore are not @@ -67,53 +74,50 @@ # %description devel -This package contains all necessary include files and libraries needed -to develop applications that require these. +This subpackage contains the header files for developing +applications that want to make use of libgnomeui. %package doc Summary: Documentation for libgnomeui Group: Documentation/HTML Requires: %{name} = %{version} -%if 0%{?suse_version} >= 1120 BuildArch: noarch -%endif %description doc -This library contains all the User-Interface related functions for -GNOME-based Software. You need the libgnomeui-devel package too if you -want to develop GNOME 2.x Desktop-based Software. +This library contains all the user interface related functions for +GNOME-based software. You need the libgnomeui-devel package too if you +want to develop GNOME 2.x desktop based software. %lang_package + %prep %setup -q +%if !0%{?is_opensuse} translation-update-upstream -%patch0 -p0 +%endif +%patch0 %build +NOCONFIGURE=1 ./autogen.sh +export CFLAGS="%{optflags} -Wno-error=format-nonliteral" %configure \ - --libexecdir=%{_prefix}/lib/libgnomeui-2\ - --disable-static + --enable-gtk-doc \ + --libexecdir=%{_prefix}/lib/libgnomeui-2 \ + --disable-static \ + %{nil} make %{?_smp_mflags} %install -%makeinstall -%if 0%{?suse_version} <= 1110 -%{__rm} %{buildroot}%{_datadir}/locale/la/LC_MESSAGES/* -%endif -%if 0%{?suse_version} <= 1120 -%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* -%endif +%make_install %find_lang libgnomeui-2.0 -find %{buildroot} -type f -name "*.la" -print -delete -%fdupes $RPM_BUILD_ROOT +find %{buildroot} -type f -name "*.la" -delete -print +%fdupes %{buildroot} %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc AUTHORS COPYING.LIB README NEWS ChangeLog +%license COPYING.LIB %{_datadir}/pixmaps/*.png %{_libdir}/*.so.* %{_libdir}/libglade/2.0/libgnome*.so @@ -121,13 +125,12 @@ %files lang -f libgnomeui-2.0.lang %files devel -%defattr(-,root,root) %{_includedir}/libgnomeui-2.0 %{_libdir}/*.so %{_libdir}/pkgconfig/libgnomeui-2.0.pc %files doc -%defattr(-,root,root) +%doc AUTHORS README NEWS ChangeLog %{_datadir}/gtk-doc/html/libgnomeui %changelog ++++++ _service ++++++ <services> <service mode="disabled" name="tar_scm"> <param name="url">git://git.gnome.org/libgnomeui</param> <param name="scm">git</param> <param name="versionformat">2.24.6+%cd.%h</param> <param name="changesgenerate">enable</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service mode="disabled" name="set_version" /> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">git://git.gnome.org/libgnomeui</param> <param name="changesrevision">30334c28794ef85d8973f4ed0779b5ceed6594f2</param></service></servicedata>
