Репозитории 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 |
Группа :: Офис
Пакет: tomboy
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_with dbus
%define major 1.0
Name: tomboy
Version: %major.0
Release: alt1
Summary: Tomboy is a desktop note-taking application
Group: Office
License: LGPLv2.1
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
Source1: %name.sh
Patch0: %name-%version-%release.patch
#add_findprov_lib_path %_libdir/%name
# Typical environment for GNOME program
Requires(post): GConf
Requires(post,postun): librarian
BuildPreReq: libGConf-devel
BuildPreReq: desktop-file-utils
BuildRequires: libgtkspell-devel >= 2.0.9
BuildRequires: gcc-c++ intltool >= 0.35.0
%{?_with_dbus:BuildRequires: ndesk-dbus-devel >= 0.4 ndesk-dbus-glib-devel >= 0.3}
BuildRequires: libgtk+2-devel >= 2.14.0
BuildRequires: libatk-devel >= 1.2.4
BuildRequires: mono-addins-devel >= 0.3
BuildRequires: libgtk-sharp2-devel >= 2.10.1
BuildRequires: libgnome-sharp-devel >= 2.15
BuildRequires: libgnome-desktop-sharp-devel
BuildRequires: libgmime-sharp-devel
BuildRequires: libgalago-sharp-devel >= 0.5.0
BuildRequires: mono-nunit-devel
BuildRequires: libX11-devel
BuildPreReq: gnome-doc-utils gnome-common
BuildRequires: /proc rpm-build-mono mono-mcs mono-devel >= 1.9.1
%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
# %patch0 -p1
%build
./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_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 MAINTAINERS README NEWS COPYING COPYING-DOCS
%_bindir/%name
%_bindir/%name-panel
%dir %_libdir/%name/
%_libdir/%name/addins/
%_libdir/%name/Tomboy.exe
%_libdir/%name/Tomboy.exe.*
%_libdir/%name/libtomboy.so
%_man1dir/*
#%_pixmapsdir/*
%_desktopdir/*
#%_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 можно просмотреть здесь
%define major 1.0
Name: tomboy
Version: %major.0
Release: alt1
Summary: Tomboy is a desktop note-taking application
Group: Office
License: LGPLv2.1
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
Source1: %name.sh
Patch0: %name-%version-%release.patch
#add_findprov_lib_path %_libdir/%name
# Typical environment for GNOME program
Requires(post): GConf
Requires(post,postun): librarian
BuildPreReq: libGConf-devel
BuildPreReq: desktop-file-utils
BuildRequires: libgtkspell-devel >= 2.0.9
BuildRequires: gcc-c++ intltool >= 0.35.0
%{?_with_dbus:BuildRequires: ndesk-dbus-devel >= 0.4 ndesk-dbus-glib-devel >= 0.3}
BuildRequires: libgtk+2-devel >= 2.14.0
BuildRequires: libatk-devel >= 1.2.4
BuildRequires: mono-addins-devel >= 0.3
BuildRequires: libgtk-sharp2-devel >= 2.10.1
BuildRequires: libgnome-sharp-devel >= 2.15
BuildRequires: libgnome-desktop-sharp-devel
BuildRequires: libgmime-sharp-devel
BuildRequires: libgalago-sharp-devel >= 0.5.0
BuildRequires: mono-nunit-devel
BuildRequires: libX11-devel
BuildPreReq: gnome-doc-utils gnome-common
BuildRequires: /proc rpm-build-mono mono-mcs mono-devel >= 1.9.1
%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
# %patch0 -p1
%build
./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_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 MAINTAINERS README NEWS COPYING COPYING-DOCS
%_bindir/%name
%_bindir/%name-panel
%dir %_libdir/%name/
%_libdir/%name/addins/
%_libdir/%name/Tomboy.exe
%_libdir/%name/Tomboy.exe.*
%_libdir/%name/libtomboy.so
%_man1dir/*
#%_pixmapsdir/*
%_desktopdir/*
#%_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 можно просмотреть здесь