Репозиторий Sisyphus
Последнее обновление: 5 октября 2022 | Пакетов: 17717 | Посещений: 25062131
en ru br
Репозитории ALT
S:15.10-alt1
5.1: 4.0-alt1
www.altlinux.org/Changes

Группа :: Офис
Пакет: 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 14_14

Name:    icebw
Version: 15.10
Release: alt1
Summary: Free financial accounting system with GTK interface

Group:   Office
License: GPL-2.0
Url:     http://www.iceb.net.ua

Packager: Andrey Cherepanov <cas at altlinux.org>

Source:  %url/download/%name-%oversion.tar.bz2
Source1: %name.watch
Patch1: %name-fix-pathes.patch
Patch2:  %name-alt-fix-missing-global-variables.patch
Patch3:  %name-bindir.patch
Patch4:  %name-fix-mariadb-link-library.patch

BuildRequires(pre): cmake
BuildRequires(pre): rpm-build-ninja
BuildRequires: gcc-c++
BuildRequires: libmariadb-devel
BuildRequires: libgtk+3-devel
BuildRequires: libpcre-devel

%description
Free financial accounting system.

%prep
%setup -q -c
%patch1 -p2
%patch2 -p2
%patch3 -p2
%patch4 -p2
subst "s|/usr/share/locale/ru/|%buildroot%_datadir/locale/uk/|g" locale/uk_ru

%build
%cmake_insource -GNinja
%ninja_build

%install
%ninja_install
#mkdir -p %buildroot%_bindir
#find buhg_g -perm 0755 -a -name i_\* -a ! -name \*.dir -exec cp -v '{}' %buildroot%_bindir ';'
mkdir -p %buildroot%_datadir/locale/uk/LC_MESSAGES
pushd locale
./uk_ru
popd
mkdir -p %buildroot%_desktopdir
cp -v desktop/applications/*.desktop %buildroot%_desktopdir
mkdir -p %buildroot%_pixmapsdir
cp -v desktop/pixmaps/*.png %buildroot%_pixmapsdir

%files
%_bindir/*
%_desktopdir/*.desktop
%_pixmapsdir/*.png
%_datadir/locale/uk/LC_MESSAGES/%oname.mo

%changelog

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

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