Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37479445
en ru br
Репозитории ALT
5.1: 1.0.0-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
www.altlinux.org/Changes

Группа :: Офис
Пакет: tomboy

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_with dbus
%define major 0.10

Name: tomboy
Version: %major.0
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://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

# for spelling support

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

# Automatically added by buildreq on Sat Jan 12 2008 (-bi)

BuildRequires: GConf docbook-dtds gcc-c++ gnome-doc-utils-xslt libgalago-sharp libgmime-sharp libgnome-sharp libgnomeprintui-devel mono-addins mono-mcs mono-nunit perl-XML-Parser

# manually:

%if_with dbus
#BuildRequires: libdbus-mono-devel libdbus-glib-devel libdbus-devel
BuildRequires: ndesk-dbus ndesk-dbus-glib
%endif
#BuildRequires: libgnome-panel-devel libgtk-sharp2-devel libgnome-sharp-devel
BuildPreReq: gnome-doc-utils
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
#%patch1
# Why tomboy finds nunit pkgconfig?
%__subst 's|"nunit"|"mono-nunit"|g' configure

%build
%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
%__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
%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/%name
%_bindir/%name-panel
%dir %_libdir/%name/
%_libdir/%name/addins/
%_libdir/%name/Tomboy.exe
%_libdir/%name/Tomboy.exe.config
%_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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin