2011-02-11 01:59:50 +01:00
|
|
|
#
|
|
|
|
# spec file for package gnote
|
|
|
|
#
|
2012-01-04 14:17:52 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
2010-12-21 12:27:21 +01:00
|
|
|
Name: gnote
|
2012-01-04 14:17:52 +01:00
|
|
|
Version: 0.8.2
|
|
|
|
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
|
2012-01-04 14:17:52 +01:00
|
|
|
Source: http://download.gnome.org/sources/gnote/0.8/%{name}-%{version}.tar.xz
|
2012-01-06 15:48:02 +01:00
|
|
|
# PATCH-FIX-UPSTREAM gnote-new-glibmm.patch bgo#667349 vuntz@opensuse.org -- Fix build with recent versions of glibmm; taken from git
|
|
|
|
Patch0: gnote-new-glibmm.patch
|
2010-12-21 12:27:21 +01:00
|
|
|
BuildRequires: boost-devel >= 1.34
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
2011-09-27 13:53:07 +02:00
|
|
|
BuildRequires: gtkmm3-devel >= 3.0
|
2010-12-21 12:27:21 +01:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2012-01-04 14:17:52 +01:00
|
|
|
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
|
|
|
|
BuildRequires: xz
|
2011-09-27 13:53:07 +02:00
|
|
|
BuildRequires: pkgconfig(libpanelapplet-4.0) >= 3.0
|
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.
|
|
|
|
|
2011-02-11 01:59:50 +01:00
|
|
|
%lang_package
|
2010-12-21 12:27:21 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-01-06 15:48:02 +01:00
|
|
|
%patch0 -p1
|
2010-12-21 12:27:21 +01:00
|
|
|
|
|
|
|
%build
|
2012-01-04 14:17:52 +01:00
|
|
|
%configure --disable-static --disable-scrollkeeper --enable-applet
|
2011-09-27 13:53:07 +02:00
|
|
|
V=1 make %{?_smp_mflags}
|
2010-12-21 12:27:21 +01:00
|
|
|
|
|
|
|
%install
|
2011-09-27 13:53:07 +02:00
|
|
|
%make_install
|
2010-12-21 12:27:21 +01:00
|
|
|
%suse_update_desktop_file gnote Utility DesktopUtility
|
2011-02-13 21:57:15 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
2010-12-21 12:27:21 +01:00
|
|
|
|
2011-02-13 21:57:15 +01:00
|
|
|
%if 0%{?suse_version} > 1130
|
2011-04-04 15:07:01 +02:00
|
|
|
|
2011-02-13 21:57:15 +01:00
|
|
|
%post
|
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
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?suse_version} > 1130
|
2011-04-04 15:07:01 +02:00
|
|
|
|
2011-02-13 21:57:15 +01:00
|
|
|
%postun
|
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
|
|
|
|
%endif
|
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)
|
2011-02-13 21:57:15 +01:00
|
|
|
%dir %{_datadir}/gnome/
|
|
|
|
%dir %{_datadir}/gnome/help/
|
|
|
|
%dir %{_datadir}/gnome/help/%{name}/
|
|
|
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
2010-12-21 12:27:21 +01:00
|
|
|
%{_bindir}/gnote
|
2011-09-27 13:53:07 +02:00
|
|
|
%{_libexecdir}/gnote-applet
|
2011-02-13 21:57:15 +01:00
|
|
|
%{_libdir}/gnote/
|
2010-12-21 12:27:21 +01:00
|
|
|
%{_datadir}/applications/gnote.desktop
|
2011-09-27 13:53:07 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Gnote.service
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.panel.applet.GnoteAppletFactory.service
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
|
|
|
|
%{_datadir}/gnome-panel/4.0/applets/org.gnome.gnote.panel-applet
|
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*
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2011-02-11 01:59:50 +01:00
|
|
|
|
|
|
|
%changelog
|