Accepting request 582691 from GNOME:Apps

spec-cleaner (forwarded request 581123 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/582691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnote?expand=0&rev=58
This commit is contained in:
Dominique Leuenberger 2018-03-08 09:57:26 +00:00 committed by Git OBS Bridge
commit 0ca65b27e3
2 changed files with 13 additions and 11 deletions

View File

@ -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

View File

@ -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