File gnote.spec of Package gnote

#
# spec file for package gnote (Version 1.2.0)
#
# Copyright (c) 2009 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/
#

# nodebuginfo

Summary:        GNOME Note Taking Application

Name:           gnote
Version:        0.5.3
Release:        1
Url:            http://live.gnome.org/Gnote
Source0:        gnote-%{version}.tar.bz2
License:        GPLv3+
Group:          Productivity/Office/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++
BuildRequires:  boost-devel >= 1.34
BuildRequires:  fdupes
BuildRequires:  gconf2-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gtkmm2-devel >= 2.12
BuildRequires:  gtkspell-devel
BuildRequires:  intltool
BuildRequires:  libpanelappletmm-devel
BuildRequires:  libxslt-devel
BuildRequires:  pcre-devel
BuildRequires:  libxml2-devel
BuildRequires:  libuuid-devel
BuildRequires:  update-desktop-files
Requires:     %{name}-lang = %{version}
%gconf_schemas_prereq

%description
Gnote is a desktop note taking application for Linux and Unix. Simple
and easy to use, but with potential to help you organize the ideas and
information you deal with every day.

Authors:
--------
    Hubert Figuiere

%lang_package

%prep
%setup -q

%build
%configure \
    --disable-static \
    --disable-schemas-install --disable-scrollkeeper
%__make %{?jobs:-j%jobs} 


%install
%makeinstall
%suse_update_desktop_file gnote     Utility  DesktopUtility
%find_gconf_schemas
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun

%posttrans -f %{name}.schemas_posttrans

%files -f %{name}.schemas_list
%defattr(-,root,root,-)
%doc COPYING 
%{_bindir}/*
%doc %{_mandir}/man1/gnote.1.gz
%{_datadir}/applications/gnote.desktop
%{_datadir}/gnote/
%{_datadir}/icons/hicolor/16x16/apps
%{_datadir}/icons/hicolor/22x22/apps
%{_datadir}/icons/hicolor/24x24/apps
%{_datadir}/icons/hicolor/32x32/apps
%{_datadir}/icons/hicolor/48x48/apps
%{_datadir}/icons/hicolor/scalable/apps
%{_libdir}/gnote-applet
%{_libdir}/%{name}/
%{_libdir}/bonobo/
%doc %{_datadir}/gnome/help/gnote
%doc %{_datadir}/omf/gnote

%files lang -f %{name}.lang

%changelog

openSUSE Build Service is sponsored by