Hello community, here is the log from the commit of package tomoe-gtk for openSUSE:Factory checked in at 2018-02-02 22:22:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tomoe-gtk (Old) and /work/SRC/openSUSE:Factory/.tomoe-gtk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tomoe-gtk" Fri Feb 2 22:22:01 2018 rev:15 rq:571914 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tomoe-gtk/tomoe-gtk.changes 2011-09-23 12:48:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tomoe-gtk.new/tomoe-gtk.changes 2018-02-02 22:22:02.718539132 +0100 @@ -1,0 +2,13 @@ +Fri Feb 2 08:41:10 UTC 2018 - [email protected] + +- Removed patches: + * gucharmap.patch + + Commented out, thus not needed for build + * fix-build.patch + + Unnecessary and actually breaks build +- Regenerate the build files with modern tools +- Pass explicitely --without-python and remove python dependencies, + since the tomoe package does not build them either +- Run spec-cleaner + +------------------------------------------------------------------- Old: ---- fix-build.patch gucharmap.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tomoe-gtk.spec ++++++ --- /var/tmp/diff_new_pack.ydN5Wr/_old 2018-02-02 22:22:03.394507574 +0100 +++ /var/tmp/diff_new_pack.ydN5Wr/_new 2018-02-02 22:22:03.394507574 +0100 @@ -1,7 +1,7 @@ # -# spec file for package tomoe-gtk (Version 0.6.0) +# spec file for package tomoe-gtk # -# Copyright (c) 2009 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 @@ -15,44 +15,32 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: tomoe-gtk Version: 0.6.0 -Release: 23 -BuildRequires: gtk2-devel gucharmap-devel python python-cairo-devel python-gobject2-devel python-gtk-devel tomoe-devel update-desktop-files -%if %suse_version >= 1030 -BuildRequires: fdupes -%endif -# for /usr/share/gtk-doc -BuildRequires: gtk-doc +Release: 0 +Summary: TOMOE GTK+ library License: LGPL-2.1+ Group: System/I18n/Japanese -AutoReqProv: on -Requires: libtomoe-gtk0 = %{version} -Provides: libtomoe-gtk-0.5.1 -Obsoletes: libtomoe-gtk-0.5.1 Url: http://sourceforge.net/projects/tomoe/ Source0: http://kent.dl.sourceforge.net/sourceforge/tomoe/tomoe-gtk-0.6.0.tar.bz2 -Patch0: fix-build.patch -Patch1: gucharmap.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake +# for /usr/share/gtk-doc +BuildRequires: gtk-doc +BuildRequires: gtk2-devel +BuildRequires: gucharmap-devel +BuildRequires: libtool +BuildRequires: tomoe-devel +BuildRequires: update-desktop-files Requires: %{name}-lang = %{version} -Summary: TOMOE GTK+ library +Requires: libtomoe-gtk0 = %{version} +BuildRequires: fdupes %description TOMOE GTK+ library - - -Authors: --------- - Takuro Ashie <[email protected]> - HIGUCHI Daisuke <[email protected]> - %package -n libtomoe-gtk0 -License: LGPL-2.1+ Summary: TOMOE GTK+ library Group: System/I18n/Japanese Requires: %{name} = %{version} @@ -60,101 +48,66 @@ %description -n libtomoe-gtk0 TOMOE GTK+ library - - -Authors: --------- - Takuro Ashie <[email protected]> - HIGUCHI Daisuke <[email protected]> - %package devel -License: LGPL-2.1+ Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/GNOME -Requires: %{name} = %{version} tomoe-devel gucharmap-devel -Provides: libtomoe-gtk-devel-0.5.1 -Obsoletes: libtomoe-gtk-devel-0.5.1 +Requires: %{name} = %{version} +Requires: gucharmap-devel +Requires: tomoe-devel %description devel This package contains all necessary include files and libraries needed to develop applications that require these. - - -Authors: --------- - Takuro Ashie <[email protected]> - HIGUCHI Daisuke <[email protected]> - %package doc -License: LGPL-2.1+ Summary: TOMOE GTK+ library Group: System/I18n/Japanese Requires: %{name} = %{version} -Provides: libtomoe-gtk-doc-0.5.1 -Obsoletes: libtomoe-gtk-doc-0.5.1 %description doc TOMOE GTK+ library - - -Authors: --------- - Takuro Ashie <[email protected]> - HIGUCHI Daisuke <[email protected]> - %lang_package + %prep %setup -q -%patch0 -p 1 -%if %suse_version > 1100 -#%patch1 -p 1 -%endif %build -#autoreconf --force --install -export CFLAGS="$RPM_OPT_FLAGS" +./autogen.sh +export CFLAGS="%{optflags}" %configure\ -%if %suse_version > 1100 +%if 0%{?suse_version} > 1100 --without-gucharmap \ --enable-gtk-doc \ + --without-python \ %endif --disable-static -make CFLAGS="$CFLAGS" %{?jobs:-j%jobs} +make CFLAGS="$CFLAGS" %{?_smp_mflags} %install -%makeinstall +%make_install %find_lang tomoe-gtk -%fdupes $RPM_BUILD_ROOT - -%clean -rm -rf $RPM_BUILD_ROOT +%fdupes %{buildroot} %post -n libtomoe-gtk0 -p /sbin/ldconfig - %postun -n libtomoe-gtk0 -p /sbin/ldconfig %files -%defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_datadir}/tomoe-gtk %files -n libtomoe-gtk0 -%defattr(-, root, root) %{_libdir}/*.so.* %files lang -f tomoe-gtk.lang %files devel -%defattr(-, root, root) %{_libdir}/*.so %{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc %{_includedir}/tomoe/* %files doc -%defattr(-, root, root) %{_datadir}/gtk-doc/html/libtomoe-gtk %changelog
