Группа :: Офис
Пакет: icebw
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# For build on x86_64 fix (via macros?)
#gpointer knop=gtk_object_get_user_data(GTK_OBJECT(widget));
#switch ((gint)knop)
%define build_lang uk_UA.KOI8-U
%define oname iceBw
%define oversion 4_0
Name: icebw
Version: 4.0
Release: alt1
Summary: Free financial accounting system with GTK interface
Group: Office
License: GPL
Url: http://www.iceb.com.ua
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %url/download/%oname-%oversion.tar.bz2
Patch: %name-%version.patch
# Automatically added by buildreq on Sun Dec 28 2008
BuildRequires: gcc-c++ libMySQL-devel libgtk+2-devel
%description
Free financial accounting system.
%prep
%setup -q -c
%patch
%__subst "s|/usr/share/locale/ru/|%buildroot%_datadir/locale/uk/|g" locale/Makefile
%build
export LANG=%build_lang
%make_build
%install
mkdir -p %buildroot%_bindir %buildroot%_datadir/locale/uk/LC_MESSAGES/
make install install \
BINDIR=%buildroot%_bindir
%files
%_bindir/*
%_datadir/locale/uk/LC_MESSAGES/%oname.mo
%changelog
…
Полный changelog можно просмотреть здесь
#gpointer knop=gtk_object_get_user_data(GTK_OBJECT(widget));
#switch ((gint)knop)
%define build_lang uk_UA.KOI8-U
%define oname iceBw
%define oversion 4_0
Name: icebw
Version: 4.0
Release: alt1
Summary: Free financial accounting system with GTK interface
Group: Office
License: GPL
Url: http://www.iceb.com.ua
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %url/download/%oname-%oversion.tar.bz2
Patch: %name-%version.patch
# Automatically added by buildreq on Sun Dec 28 2008
BuildRequires: gcc-c++ libMySQL-devel libgtk+2-devel
%description
Free financial accounting system.
%prep
%setup -q -c
%patch
%__subst "s|/usr/share/locale/ru/|%buildroot%_datadir/locale/uk/|g" locale/Makefile
%build
export LANG=%build_lang
%make_build
%install
mkdir -p %buildroot%_bindir %buildroot%_datadir/locale/uk/LC_MESSAGES/
make install install \
BINDIR=%buildroot%_bindir
%files
%_bindir/*
%_datadir/locale/uk/LC_MESSAGES/%oname.mo
%changelog
…
Полный changelog можно просмотреть здесь