diff --git a/gnote.changes b/gnote.changes index 24fc697..766a00f 100644 --- a/gnote.changes +++ b/gnote.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:30:25 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Sun Feb 11 05:51:40 UTC 2018 - qzheng@suse.com diff --git a/gnote.spec b/gnote.spec index 06c2f96..2488d94 100644 --- a/gnote.spec +++ b/gnote.spec @@ -21,17 +21,12 @@ Name: gnote Version: 3.26.0 Release: 0 Summary: A Port of Tomboy to C++ -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Text/Editors -Url: http://live.gnome.org/Gnote +URL: http://live.gnome.org/Gnote Source: http://download.gnome.org/sources/gnote/3.26/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM shortkey-ctrl-o-alt-w.patch bsc#1075335 bgo#792859 qzheng@suse.com -- When left-click the note tree view, shortkey should be enable. Patch0: shortkey-ctrl-o-alt-w.patch -%if 0%{?suse_version} > 1325 -BuildRequires: libboost_test-devel -%else -BuildRequires: boost-devel >= 1.34 -%endif BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: intltool @@ -48,8 +43,12 @@ BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(uuid) Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_test-devel +%else +BuildRequires: boost-devel >= 1.34 +%endif %description It is the same note taking application, including most of the add-ins (more are @@ -100,7 +99,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %icon_theme_cache_postun %files -%defattr(-,root,root) +%license COPYING %doc %{_datadir}/help/C/%{name}/ %{_bindir}/gnote %{_libdir}/gnote/ @@ -116,10 +115,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_datadir}/appdata/gnote.appdata.xml %files lang -f %{name}.lang -%defattr(-,root,root) %files -n gnome-shell-search-provider-%{name} -%defattr(-,root,root) %{_datadir}/dbus-1/services/org.gnome.Gnote.service %dir %{_datadir}/gnome-shell %dir %{_datadir}/gnome-shell/search-providers