Hello community, here is the log from the commit of package fcitx-ui-light for openSUSE:Factory checked in at 2018-02-14 10:52:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcitx-ui-light (Old) and /work/SRC/openSUSE:Factory/.fcitx-ui-light.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fcitx-ui-light" Wed Feb 14 10:52:50 2018 rev:7 rq:576422 version:0.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/fcitx-ui-light/fcitx-ui-light.changes 2012-06-26 15:34:16.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fcitx-ui-light.new/fcitx-ui-light.changes 2018-02-14 10:52:53.410945155 +0100 @@ -1,0 +2,6 @@ +Tue Feb 13 19:25:03 UTC 2018 - crrodrig...@opensuse.org + +- Do not BuildRequire xorg-x11-devel +- use cmake macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcitx-ui-light.spec ++++++ --- /var/tmp/diff_new_pack.ze5edV/_old 2018-02-14 10:52:54.166917945 +0100 +++ /var/tmp/diff_new_pack.ze5edV/_new 2018-02-14 10:52:54.182917369 +0100 @@ -1,7 +1,7 @@ # # spec file for package fcitx-ui-light # -# Copyright (c) 2010 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,31 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: fcitx-ui-light Version: 0.1.3 Release: 0 -License: GPL-2.0+ Summary: Light Weight UI for Fcitx -Url: https://github.com/fcitx/fcitx-ui-light +License: GPL-2.0+ Group: System/I18n/Chinese +Url: https://github.com/fcitx/fcitx-ui-light Source: %{name}-%{version}.tar.bz2 BuildRequires: cmake -BuildRequires: gcc-c++ BuildRequires: fcitx-devel +BuildRequires: fontconfig-devel +BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: intltool -BuildRequires: xorg-x11-devel BuildRequires: pkg-config -BuildRequires: freetype2-devel -BuildRequires: fontconfig-devel -%if 0%{?suse_version} BuildRequires: update-desktop-files -%else -BuildRequires: desktop-file-utils -BuildRequires: libX11-devel -BuildRequires: libXft-devel -BuildRequires: libXpm-devel -%endif +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xft) +BuildRequires: pkgconfig(xpm) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -50,16 +45,10 @@ %setup -q %build -%{__mkdir} -pv build -pushd build -cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} .. -make %{?_smp_mflags} - +%cmake +%make_jobs %install -pushd build -make DESTDIR=%{buildroot} install -popd - +%cmake_install %if 0%{?suse_version} %suse_update_desktop_file fcitx-light Utility DesktopUtility @@ -71,8 +60,6 @@ %find_lang fcitx-light-ui -%__strip %{buildroot}%{_libdir}/fcitx/fcitx-light-ui.so - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig