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

# This spec for backport to M40 is autogenerated. Do not edit it.
%def_with dbus
%define major 0.8

Name: tomboy
Version: %major.0
Release: alt0.M40.2

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://ftp.gnome.org/pub/GNOME/sources/%name/%major/%name-%version.tar.bz2
Source1: %name
#Source2: %name.menu
Patch: %name.patch
Patch1: %name-noroot.patch

# Typical environment for GNOME program

Requires(post): GConf2
Requires(post,postun): scrollkeeper
BuildPreReq: libGConf-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

BuildRequires: rpm-build-compat >= 0.4

%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
%patch1

%build


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

%install
%make_install install DESTDIR=%buildroot
install %SOURCE1 %buildroot/%_bindir
%__subst "s|/usr/lib|%_libdir|g" %buildroot/%_bindir/%name

%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:%_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