Hello community, here is the log from the commit of package switchboard-plug-display for openSUSE:Factory checked in at 2018-12-28 12:34:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/switchboard-plug-display (Old) and /work/SRC/openSUSE:Factory/.switchboard-plug-display.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "switchboard-plug-display" Fri Dec 28 12:34:10 2018 rev:2 rq:660538 version:2.1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/switchboard-plug-display/switchboard-plug-display.changes 2018-03-29 11:54:06.673626340 +0200 +++ /work/SRC/openSUSE:Factory/.switchboard-plug-display.new.28833/switchboard-plug-display.changes 2018-12-28 12:34:11.988010452 +0100 @@ -1,0 +2,25 @@ +Thu Nov 8 02:29:37 UTC 2018 - Alexei Podvalsky <avvissu@yandex.by> + +- Add regex for filtering provided libraries + +------------------------------------------------------------------- +Mon Oct 8 12:56:40 UTC 2018 - Alexei Podvalsky <avvissu@yandex.by> + +- Update to 2.1.5: + * New upstream release. + +------------------------------------------------------------------- +Sat Jun 23 16:46:25 UTC 2018 - avvissu@yandex.by + +- Update to 0.1.4: + * New upstream release.. + +------------------------------------------------------------------- +Sat Jun 9 02:31:02 UTC 2018 - avvissu@yandex.by + +- Switch to github +- Switch to meson +- Add COPYING and README files +- Spec file cleanup + +------------------------------------------------------------------- Old: ---- switchboard-plug-display-0.1.3.tar.xz New: ---- switchboard-plug-display-2.1.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ switchboard-plug-display.spec ++++++ --- /var/tmp/diff_new_pack.Qzrmrk/_old 2018-12-28 12:34:12.532010073 +0100 +++ /var/tmp/diff_new_pack.Qzrmrk/_new 2018-12-28 12:34:12.532010073 +0100 @@ -1,7 +1,7 @@ # # spec file for package switchboard-plug-display # -# Copyright (c) 2016 SUSE LINUX 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,32 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + Name: switchboard-plug-display -Version: 0.1.3 +Version: 2.1.5 Release: 0 -License: GPL-3.0 Summary: Switchboard Display Plug -Url: https://launchpad.net/switchboard-plug-display +License: GPL-3.0-only Group: System/GUI/Other -Source: https://launchpad.net/switchboard-plug-display/loki/%{version}/+download/%{name}-%{version}.tar.xz -BuildRequires: glibc-devel -BuildRequires: gcc-c++ -BuildRequires: cmake +URL: https://elementary.io/ +Source: https://github.com/elementary/switchboard-plug-display/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: meson +BuildRequires: pkgconfig BuildRequires: vala >= 0.28.0 -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(switchboard-2.0) -BuildRequires: pkgconfig(granite) -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(gnome-desktop-3.0) +BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(clutter-1.0) BuildRequires: pkgconfig(clutter-gtk-1.0) -BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gee-1.0) -BuildRequires: fdupes +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gnome-desktop-3.0) +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(switchboard-2.0) +Requires: colord Requires: switchboard Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Switchboard plug to show display information. @@ -49,28 +50,22 @@ %prep %setup -q -# NOTE: cmake macro optflags seems to swallow -lm which would break the build -sed -e '/target_link_libraries/s/\((.*\}\)/\1 -lm/' \ - -i src/CMakeLists.txt - %build -%cmake -make %{?_smp_mflags} +%meson +%meson_build %install -%cmake_install -%fdupes %{buildroot}%{_datadir}/locale - -%find_lang pantheon-display-plug +%meson_install +%fdupes %{buildroot}%{_datadir} +%find_lang display-plug %{name}.lang %files -%defattr(-,root,root) -%dir %{_libdir}/switchboard/ -%dir %{_libdir}/switchboard/hardware/ -%dir %{_libdir}/switchboard/hardware/pantheon-display/ -%{_libdir}/switchboard/hardware/pantheon-display/libpantheon-display.so +%license COPYING +%doc README.md +%dir %{_libdir}/switchboard +%dir %{_libdir}/switchboard/hardware +%{_libdir}/switchboard/hardware/libdisplay.so -%files lang -f pantheon-display-plug.lang -%defattr(-,root,root) +%files lang -f %{name}.lang %changelog