gnote/gnote.spec
Dominique Leuenberger c0570a5b93 Accepting request 128138 from home:Zaitor:branches:GNOME:Apps
Update. Wanted for 12.2 as it fixes bnc#771705
- gnote shows empty gray windows

Gnote does not start at all for anyone atm in 12.2 so getting this before goldmaster would be nice.

Gnote is a leaf package so it should be perfectly safe.

OBS-URL: https://build.opensuse.org/request/show/128138
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnote?expand=0&rev=24
2012-07-17 15:40:46 +00:00

101 lines
2.8 KiB
RPMSpec

#
# spec file for package gnote
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: gnote
Version: 0.9.1
Release: 0
Summary: A Port of Tomboy to C++
License: GPL-3.0+
Group: Productivity/Text/Editors
Url: http://live.gnome.org/Gnote
Source: http://download.gnome.org/sources/gnote/0.9/%{name}-%{version}.tar.xz
BuildRequires: boost-devel >= 1.34
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gnome-doc-utils-devel
BuildRequires: gtkmm3-devel >= 3.4
BuildRequires: intltool
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: pcre-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gnome-keyring-1) >= 3.0
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
It is the same note taking application, including most of the add-ins (more are
to come). Synchronization support is being worked on.
%lang_package
%prep
%setup -q
%build
%configure --disable-static --disable-scrollkeeper
V=1 make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
%suse_update_desktop_file gnote Utility DesktopUtility
%find_lang %{name} %{?no_lang_C}
%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%if 0%{?suse_version} > 1130
%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%endif
%if 0%{?suse_version} > 1130
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%endif
%files
%defattr(-,root,root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%{_bindir}/gnote
%{_libdir}/gnote/
# Splitting does not make sense as it's just a lib for gnote itself (and it's plugins)
%{_libdir}/libgnote-0.9.so*
%{_libdir}/libgnote.so
%{_datadir}/applications/gnote.desktop
%{_datadir}/dbus-1/services/org.gnome.Gnote.service
%{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
%{_datadir}/gnote/
%{_datadir}/icons/hicolor/*/apps/gnote.*
%{_mandir}/man1/gnote.1*
%files lang -f %{name}.lang
%changelog