Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37549344
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

Name: tomboy
Version: 0.4.1
Release: alt1

Summary: Tomboy is a desktop note-taking application

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

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://www.beatniksoftware.com/tomboy/releases/%name-%version.tar.bz2
Source1: %name
#Source2: %name.menu
#Patch: %name-%version.patch

# Typical environment for GNOME program

Requires(post): GConf2
Requires(post,postun): scrollkeeper
BuildPreReq: libGConf2-devel
BuildPreReq: desktop-file-utils
BuildPreReq: menu-devel

# Automatically added by buildreq on Sat Dec 30 2006 (-bi)

BuildRequires: docbook-dtds gcc-c++ GConf gnome-doc-utils libgmime-sharp libgnomeprintui-devel libgnome-sharp mono-mcs mono-nunit perl-XML-Parser python-modules-compiler python-modules-encodings rpm-build-mono

# manually:

%if_with dbus
BuildRequires: libdbus-mono-devel libdbus-glib-devel libdbus-devel
%endif
BuildRequires: libgnome-panel-devel libgtkspell-devel libgtk-sharp2-devel libgnome-sharp-devel
BuildRequires: /proc

%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
#%patch -p0

%build
#export PATH=${PATH}:%_libdir/mono/bin
#autoreconf -fisv
#./autogen.sh
%configure --disable-schemas-install --disable-scrollkeeper \
%{!?_with_dbus: --enable-dbus=no}
%__subst "s|%_libdir/bonobo/servers|\$(libdir)/bonobo/servers|" Makefile data/Makefile
%make

%install
%makeinstall
install %SOURCE1 %buildroot/%_bindir

%find_lang %name --with-gnome

%post
%gconf2_install %name
%update_menus
%update_scrollkeeper

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

%postun
%clean_menus
%clean_scrollkeeper

%files -f %name.lang
%doc AUTHORS ChangeLog README NEWS
%_bindir/*
%_libdir/%name/
%_man1dir/*
%_pixmapsdir/*
%_desktopdir/*
#%_libdir/dbus-1.0/services/*
#%_pkgconfigdir/*
%_libdir/bonobo/servers/*
#%_datadir/gnome-2.0/ui/*
%_iconsdir/*/*/*/*
%config %_sysconfdir/gconf/schemas/*
%{?_with_dbus:%_libdir/dbus-1.0/services/com.beatniksoftware.Tomboy.service}

%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