Группа :: Офис
Пакет: grisbi
Главная Изменения Спек Патчи Загрузить Bugs and FR
%def_with M24
%if_with M24
%define _release alt0.M24.1
%else
%define _release alt1
%endif
Name: grisbi
Version: 0.5.9
Release: %_release
Summary: Personal accounting application
Summary(ru_RU.KOI8-R): Программа персонального учёта финансов
License: GPL
Group: Office
URL: http://www.grisbi.org
Source: http://prdownloads.sourceforge.net/grisbi/%name-%version.tar.bz2
Patch0: grisbi-0.5.9-alt-intl.patch
Patch1: grisbi-0.5.6-alt-docdir.patch
Patch2: grisbi-0.5.8-alt-no_toupper.patch
Patch3: grisbi-0.5.5-alt-rouble.patch
# Added on Tue Jul 05 2005
BuildRequires: glib2-devel libatk-devel libgtk+2-devel libpango-devel libxml2-devel pkgconfig zlib-devel
%description
Grisbi is a personal accounting application for Linux, written
with Gnome and Gtk, and is released under the GPL licence.
%description -l ru_RU.KOI8-R
Grisbi - это программа персонального учёта финансов для Linux,
написанная под Gnome и Gtk и распространяемая на условиях GPL.
%prep
%setup -q
%patch0 -p1
rm -fR intl
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
autoreconf -ifsv
%configure --without-included-gettext
%make_build docdir='%_defaultdocdir/%name-%version'
%install
%makeinstall docdir='%buildroot%_defaultdocdir/%name-%version'
install -m 644 ABOUT-NLS AUTHORS COPYING INSTALL NEWS OLDNEWS README \
%buildroot%_defaultdocdir/%name-%version/
# menu
mkdir -p %buildroot/%_menudir
echo > %buildroot/%_menudir/%name <<EOF
?package(grisbi):needs=X11 \
section="Applications/Finances" title="Grisbi" \
longtitle="Personnal accounting application" \
description="Grisbi is a personnal accounting application \
for Linux, written with Gnome and Gtk" \
command="%_bindir/grisbi" icon=grisbi.png
EOF
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc %_defaultdocdir/%name-%version
%_datadir/pixmaps/%name
%_man1dir/%name.1.gz
%_datadir/mime-info/%name.keys
%_datadir/mime-info/%name.mime
%_menudir/%name
%_bindir/%name
%changelog
…
Полный changelog можно просмотреть здесь
%if_with M24
%define _release alt0.M24.1
%else
%define _release alt1
%endif
Name: grisbi
Version: 0.5.9
Release: %_release
Summary: Personal accounting application
Summary(ru_RU.KOI8-R): Программа персонального учёта финансов
License: GPL
Group: Office
URL: http://www.grisbi.org
Source: http://prdownloads.sourceforge.net/grisbi/%name-%version.tar.bz2
Patch0: grisbi-0.5.9-alt-intl.patch
Patch1: grisbi-0.5.6-alt-docdir.patch
Patch2: grisbi-0.5.8-alt-no_toupper.patch
Patch3: grisbi-0.5.5-alt-rouble.patch
# Added on Tue Jul 05 2005
BuildRequires: glib2-devel libatk-devel libgtk+2-devel libpango-devel libxml2-devel pkgconfig zlib-devel
%description
Grisbi is a personal accounting application for Linux, written
with Gnome and Gtk, and is released under the GPL licence.
%description -l ru_RU.KOI8-R
Grisbi - это программа персонального учёта финансов для Linux,
написанная под Gnome и Gtk и распространяемая на условиях GPL.
%prep
%setup -q
%patch0 -p1
rm -fR intl
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
autoreconf -ifsv
%configure --without-included-gettext
%make_build docdir='%_defaultdocdir/%name-%version'
%install
%makeinstall docdir='%buildroot%_defaultdocdir/%name-%version'
install -m 644 ABOUT-NLS AUTHORS COPYING INSTALL NEWS OLDNEWS README \
%buildroot%_defaultdocdir/%name-%version/
# menu
mkdir -p %buildroot/%_menudir
echo > %buildroot/%_menudir/%name <<EOF
?package(grisbi):needs=X11 \
section="Applications/Finances" title="Grisbi" \
longtitle="Personnal accounting application" \
description="Grisbi is a personnal accounting application \
for Linux, written with Gnome and Gtk" \
command="%_bindir/grisbi" icon=grisbi.png
EOF
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc %_defaultdocdir/%name-%version
%_datadir/pixmaps/%name
%_man1dir/%name.1.gz
%_datadir/mime-info/%name.keys
%_datadir/mime-info/%name.mime
%_menudir/%name
%_bindir/%name
%changelog
…
Полный changelog можно просмотреть здесь