Hello community, here is the log from the commit of package switchboard-plug-datetime for openSUSE:Factory checked in at 2018-12-28 12:34:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/switchboard-plug-datetime (Old) and /work/SRC/openSUSE:Factory/.switchboard-plug-datetime.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "switchboard-plug-datetime" Fri Dec 28 12:34:07 2018 rev:2 rq:660537 version:2.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/switchboard-plug-datetime/switchboard-plug-datetime.changes 2018-03-29 11:54:04.257713670 +0200 +++ /work/SRC/openSUSE:Factory/.switchboard-plug-datetime.new.28833/switchboard-plug-datetime.changes 2018-12-28 12:34:11.268010954 +0100 @@ -1,0 +2,25 @@ +Thu Nov 8 02:29:35 UTC 2018 - Alexei Podvalsky <avvissu@yandex.by> + +- Add regex for filtering provided libraries + +------------------------------------------------------------------- +Wed Oct 17 18:57:37 UTC 2018 - Alexei Podvalsky <avvissu@yandex.by> + +- Update to 2.1.4: + * New upstream release. + +------------------------------------------------------------------- +Mon Jun 11 12:44:45 UTC 2018 - avvissu@yandex.by + +- Update to 0.1.3: + * 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-datetime-0.1.2.tar.xz New: ---- switchboard-plug-datetime-2.1.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ switchboard-plug-datetime.spec ++++++ --- /var/tmp/diff_new_pack.PX2yuM/_old 2018-12-28 12:34:11.732010631 +0100 +++ /var/tmp/diff_new_pack.PX2yuM/_new 2018-12-28 12:34:11.736010628 +0100 @@ -1,7 +1,7 @@ # # spec file for package switchboard-plug-datetime # -# Copyright (c) 2015 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,62 +15,54 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + Name: switchboard-plug-datetime -Version: 0.1.2 +Version: 2.1.4 Release: 0 -License: GPL-3.0 Summary: Configure the date and time for the user -Url: https://launchpad.net/switchboard-plug-datetime +License: GPL-3.0-only Group: System/GUI/Other -Source: https://launchpad.net/switchboard-plug-datetime/loki/%{version}/+download/%{name}-%{version}.tar.xz -BuildRequires: gcc-c++ -BuildRequires: cmake +URL: https://elementary.io/ +Source: https://github.com/elementary/switchboard-plug-datetime/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: meson >= 0.40.0 +BuildRequires: pkgconfig BuildRequires: vala >= 0.28.0 -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(switchboard-2.0) -BuildRequires: pkgconfig(granite) -BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(glib-2.0) -BuildRequires: glibc-devel -BuildRequires: fdupes +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(switchboard-2.0) Requires: switchboard Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Date, time and timezone management for Elementary through a Switchboard plug. +Date, time and timezone management for elementary through a switchboard plug. %lang_package %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 -%fdupes %{buildroot}%{_libdir}/switchboard/system/pantheon-datetime/images/ - -%find_lang pantheon-datetime-plug +%meson_install +%fdupes %{buildroot}%{_datadir} +%find_lang datetime-plug %{name}.lang %files -%defattr(-,root,root) -%dir %{_libdir}/switchboard/ -%dir %{_libdir}/switchboard/system/ -%dir %{_libdir}/switchboard/system/pantheon-datetime/ -%{_libdir}/switchboard/system/pantheon-datetime/images/ -%{_libdir}/switchboard/system/pantheon-datetime/libpantheon-datetime.so +%license COPYING +%doc README.md +%dir %{_libdir}/switchboard +%dir %{_libdir}/switchboard/system +%{_libdir}/switchboard/system/libdatetime.so -%files lang -f pantheon-datetime-plug.lang -%defattr(-,root,root) +%files lang -f %{name}.lang %changelog