Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046160
en ru br
ALT Linux repos
5.0: 0.14.1-alt1
4.1: 0.10.0-alt1
4.0: 0.4.1-alt1
+backports:0.8.0-alt0.M40.2
3.0: 0.2.2-alt1.1

Group :: Office
RPM: tomboy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_with dbus
%define major 0.14

Name: tomboy
Version: %major.1
Release: alt1

Summary: Tomboy is a desktop note-taking application

Group: Office
License: LGPL
Url: http://www.beatniksoftware.com/tomboy

Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

Source: http://ftp.gnome.org/pub/GNOME/sources/%name/%major/%name-%version.tar.bz2
Source1: %name.sh

# Typical environment for GNOME program

Requires(post): GConf
Requires(post,postun): librarian
BuildPreReq: libGConf-devel
BuildPreReq: desktop-file-utils

# for spelling support

BuildPreReq: libgtkspell-devel >= 2.0.9
#add_findprov_lib_path %_libdir/%name

# Automatically added by buildreq on Wed Oct 22 2008 (-bi)

BuildRequires: GConf docbook-dtds gcc-c++ gnome-doc-utils imake intltool libSM-devel libgalago-sharp libgmime-sharp libgnome-sharp libgnome-desktop-sharp libgtk+2-devel mono-addins mono-nunit python-modules-compiler xorg-cf-files libatk-devel libgtk-sharp2-devel

# manually:

%if_with dbus
BuildRequires: ndesk-dbus ndesk-dbus-glib
%endif

BuildPreReq: gnome-doc-utils
BuildRequires: /proc rpm-build-mono mono-mcs mono-devel

%description
Tomboy 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.  The key to Tomboy's usefulness lies
in the ability to relate notes and ideas together.  Using a WikiWiki-like
linking system, organizing ideas is as simple as typing a name.
Branching an idea off is easy as pressing the Link button. And links
between your ideas won't break, even when renaming and reorganizing them.

%prep
%setup -q

%__subst 's|gmime-sharp\,|gmime-sharp-2\.4\,|' configure.in
# Why tomboy finds nunit pkgconfig?
%__subst 's|nunit\,|mono-nunit\,|' configure.in

%build
%autoreconf
%configure --disable-schemas-install --disable-scrollkeeper \
%{!?_with_dbus: --enable-dbus=no} \
--with-mono-addins=system
%__subst "s|%_libdir/bonobo/servers|\$(libdir)/bonobo/servers|" Makefile data/Makefile
%make_build

%install
%make_install install DESTDIR=%buildroot
install %SOURCE1 %buildroot/%_bindir/%name
%__subst "s|/usr/lib/|%_libdir/|g" %buildroot/%_bindir/*
#%__subst "s|tomboy --search|tomboy|g" %buildroot%_desktopdir/%name.desktop
%find_lang %name --with-gnome

%post
%gconf2_install %name

%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi

%files -f %name.lang
%doc AUTHORS ChangeLog README NEWS
%_bindir/%name
%_bindir/%name-panel
%dir %_libdir/%name/
%_libdir/%name/addins/
%_libdir/%name/Tomboy.exe
%_libdir/%name/Tomboy.exe.*
#%_libdir/%name/libprintnotes.so
%_libdir/%name/libtomboy.so
%_man1dir/*
#%_pixmapsdir/*
%_desktopdir/*
#%_libdir/dbus-1.0/services/*
#%_pkgconfigdir/*
%_libdir/bonobo/servers/*
%_datadir/%name/
%_iconsdir/*/*/apps/tomboy.png
%_iconsdir/*/*/apps/tomboy.svg
%config %_sysconfdir/gconf/schemas/*
%{?_with_dbus:%_datadir/dbus-1/services/*}

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin