2011-02-11 01:59:50 +01:00
|
|
|
#
|
|
|
|
# spec file for package gnote
|
|
|
|
#
|
2017-02-01 16:38:27 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-02-11 01:59:50 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2016-05-17 13:39:38 +02:00
|
|
|
|
2017-09-22 22:32:29 +02:00
|
|
|
%define _gnote_version 3.26
|
2010-12-21 12:27:21 +01:00
|
|
|
Name: gnote
|
2017-09-22 22:32:29 +02:00
|
|
|
Version: 3.26.0
|
2012-01-04 14:17:52 +01:00
|
|
|
Release: 0
|
2011-02-13 21:57:15 +01:00
|
|
|
Summary: A Port of Tomboy to C++
|
2012-01-04 14:17:52 +01:00
|
|
|
License: GPL-3.0+
|
2010-12-21 12:27:21 +01:00
|
|
|
Group: Productivity/Text/Editors
|
|
|
|
Url: http://live.gnome.org/Gnote
|
2017-09-22 22:32:29 +02:00
|
|
|
Source: http://download.gnome.org/sources/gnote/3.26/%{name}-%{version}.tar.xz
|
2017-02-01 16:38:27 +01:00
|
|
|
%if 0%{?suse_version} > 1325
|
|
|
|
BuildRequires: libboost_test-devel
|
|
|
|
%else
|
2010-12-21 12:27:21 +01:00
|
|
|
BuildRequires: boost-devel >= 1.34
|
2017-02-01 16:38:27 +01:00
|
|
|
%endif
|
2010-12-21 12:27:21 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: intltool
|
2016-09-08 23:28:32 +02:00
|
|
|
BuildRequires: pkgconfig
|
2013-03-16 20:32:38 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2010-12-21 12:27:21 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2012-09-30 00:32:55 +02:00
|
|
|
BuildRequires: yelp-tools
|
2016-09-08 23:28:32 +02:00
|
|
|
BuildRequires: pkgconfig(glibmm-2.4) >= 2.32
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
|
|
|
|
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.18
|
2013-03-14 00:37:15 +01:00
|
|
|
BuildRequires: pkgconfig(gtkspell3-3.0) >= 3.0.0
|
2012-09-14 17:33:56 +02:00
|
|
|
BuildRequires: pkgconfig(libsecret-1) >= 0.8
|
2013-03-14 00:37:15 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2016-09-08 23:28:32 +02:00
|
|
|
BuildRequires: pkgconfig(libxslt)
|
|
|
|
BuildRequires: pkgconfig(uuid)
|
2011-02-13 21:57:15 +01:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-09-27 13:53:07 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2010-12-21 12:27:21 +01:00
|
|
|
|
|
|
|
%description
|
2011-02-13 21:57:15 +01:00
|
|
|
It is the same note taking application, including most of the add-ins (more are
|
2010-12-21 12:27:21 +01:00
|
|
|
to come). Synchronization support is being worked on.
|
|
|
|
|
2013-06-24 18:06:44 +02:00
|
|
|
%package -n gnome-shell-search-provider-%{name}
|
|
|
|
Summary: Note editor for GNOME -- Search Provider for GNOME Shell
|
|
|
|
Group: Productivity/Office/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: gnome-shell
|
|
|
|
Supplements: packageand(%{name}:gnome-shell)
|
|
|
|
|
|
|
|
%description -n gnome-shell-search-provider-%{name}
|
|
|
|
It is the same note taking application, including most of the add-ins (more are
|
|
|
|
to come). Synchronization support is being worked on.
|
|
|
|
|
|
|
|
This package contains a search provider to enable GNOME Shell to get
|
|
|
|
search results from documents.
|
|
|
|
|
2011-02-11 01:59:50 +01:00
|
|
|
%lang_package
|
2016-09-08 23:28:32 +02:00
|
|
|
|
2010-12-21 12:27:21 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2013-03-16 20:32:38 +01:00
|
|
|
translation-update-upstream
|
2010-12-21 12:27:21 +01:00
|
|
|
|
|
|
|
%build
|
2016-02-20 12:59:37 +01:00
|
|
|
%configure --disable-static
|
2013-09-29 13:53:14 +02:00
|
|
|
make %{?_smp_mflags}
|
2010-12-21 12:27:21 +01:00
|
|
|
|
|
|
|
%install
|
2011-09-27 13:53:07 +02:00
|
|
|
%make_install
|
2016-09-08 23:28:32 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-12-21 12:27:21 +01:00
|
|
|
%suse_update_desktop_file gnote Utility DesktopUtility
|
2015-09-30 11:29:24 +02:00
|
|
|
%fdupes %{buildroot}
|
2011-02-13 21:57:15 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
|
|
|
%post
|
2012-09-14 17:33:56 +02:00
|
|
|
/sbin/ldconfig
|
2011-09-27 13:53:07 +02:00
|
|
|
%glib2_gsettings_schema_post
|
2011-02-13 21:57:15 +01:00
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
2011-04-04 15:07:01 +02:00
|
|
|
|
2011-02-13 21:57:15 +01:00
|
|
|
%postun
|
2012-09-14 17:33:56 +02:00
|
|
|
/sbin/ldconfig
|
2011-09-27 13:53:07 +02:00
|
|
|
%glib2_gsettings_schema_postun
|
2011-02-13 21:57:15 +01:00
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
2010-12-21 12:27:21 +01:00
|
|
|
|
2011-09-27 13:53:07 +02:00
|
|
|
%files
|
2010-12-21 12:27:21 +01:00
|
|
|
%defattr(-,root,root)
|
2012-09-30 00:32:55 +02:00
|
|
|
%doc %{_datadir}/help/C/%{name}/
|
2010-12-21 12:27:21 +01:00
|
|
|
%{_bindir}/gnote
|
2011-02-13 21:57:15 +01:00
|
|
|
%{_libdir}/gnote/
|
2012-03-11 19:12:52 +01:00
|
|
|
# Splitting does not make sense as it's just a lib for gnote itself (and it's plugins)
|
2016-03-29 09:37:54 +02:00
|
|
|
%{_libdir}/libgnote-%{_gnote_version}.so*
|
2012-03-11 19:12:52 +01:00
|
|
|
%{_libdir}/libgnote.so
|
2010-12-21 12:27:21 +01:00
|
|
|
%{_datadir}/applications/gnote.desktop
|
2011-09-27 13:53:07 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
|
2011-02-13 21:57:15 +01:00
|
|
|
%{_datadir}/gnote/
|
2010-12-21 12:27:21 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/gnote.*
|
|
|
|
%{_mandir}/man1/gnote.1*
|
2013-09-29 13:53:14 +02:00
|
|
|
%dir %{_datadir}/appdata/
|
|
|
|
%{_datadir}/appdata/gnote.appdata.xml
|
2010-12-21 12:27:21 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2016-09-08 23:28:32 +02:00
|
|
|
%defattr(-,root,root)
|
2011-02-11 01:59:50 +01:00
|
|
|
|
2013-06-24 18:06:44 +02:00
|
|
|
%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
|
|
|
|
%{_datadir}/gnome-shell/search-providers/gnote-search-provider.ini
|
|
|
|
|
2011-02-11 01:59:50 +01:00
|
|
|
%changelog
|