Группа :: Офис
Пакет: iceb
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname iceB
Name: iceb
Version: 20.12
Release: alt1
Summary: Free financial accounting system (console)
Packager: Andrey Cherepanov <cas at altlinux.org>
Group: Office
License: GPL-2.0
Url: http://iceb.net.ua
Source: %name-%version.tar
Source1: %name.watch
Patch2: %name-fix-mariadb-link-library.patch
BuildRequires(pre): cmake
BuildRequires(pre): rpm-build-ninja
BuildRequires: gcc-c++
BuildRequires: glib2-devel
BuildRequires: libmariadb-devel
BuildRequires: libncursesw-devel
BuildRequires: libpcre-devel
Conflicts: python-module-spec
%description
Free financial accounting system.
%prep
%setup -q -c
%patch2 -p2
%build
%cmake -GNinja
%cmake_build
%install
%cmake_install
install -d %buildroot%_bindir
find %_cmake__builddir/buhg -perm 0755 -a -type f -exec cp '{}' %buildroot%_bindir ';'
#find %_cmake__builddir/additionally/other -perm 0755 -a -type f -exec cp '{}' %buildroot%_bindir ';'
install -d %buildroot%_desktopdir
cp -a desktop/applications/*.desktop %buildroot%_desktopdir
install -d %buildroot%_pixmapsdir
cp -a desktop/pixmaps/*.png %buildroot%_pixmapsdir
# Remove terminfo
rm -rf %buildroot/lib/terminfo
%files
%doc CHANGES COPYING READMI.TXT
%_bindir/*
%_datadir/%oname
%_desktopdir/*.desktop
%_pixmapsdir/*.png
%_sysconfdir/cups/iceb.*
%_libexecdir/cups/filter/iceb_ps
%changelog
…
Полный changelog можно просмотреть здесь
Name: iceb
Version: 20.12
Release: alt1
Summary: Free financial accounting system (console)
Packager: Andrey Cherepanov <cas at altlinux.org>
Group: Office
License: GPL-2.0
Url: http://iceb.net.ua
Source: %name-%version.tar
Source1: %name.watch
Patch2: %name-fix-mariadb-link-library.patch
BuildRequires(pre): cmake
BuildRequires(pre): rpm-build-ninja
BuildRequires: gcc-c++
BuildRequires: glib2-devel
BuildRequires: libmariadb-devel
BuildRequires: libncursesw-devel
BuildRequires: libpcre-devel
Conflicts: python-module-spec
%description
Free financial accounting system.
%prep
%setup -q -c
%patch2 -p2
%build
%cmake -GNinja
%cmake_build
%install
%cmake_install
install -d %buildroot%_bindir
find %_cmake__builddir/buhg -perm 0755 -a -type f -exec cp '{}' %buildroot%_bindir ';'
#find %_cmake__builddir/additionally/other -perm 0755 -a -type f -exec cp '{}' %buildroot%_bindir ';'
install -d %buildroot%_desktopdir
cp -a desktop/applications/*.desktop %buildroot%_desktopdir
install -d %buildroot%_pixmapsdir
cp -a desktop/pixmaps/*.png %buildroot%_pixmapsdir
# Remove terminfo
rm -rf %buildroot/lib/terminfo
%files
%doc CHANGES COPYING READMI.TXT
%_bindir/*
%_datadir/%oname
%_desktopdir/*.desktop
%_pixmapsdir/*.png
%_sysconfdir/cups/iceb.*
%_libexecdir/cups/filter/iceb_ps
%changelog
…
Полный changelog можно просмотреть здесь