Репозиторий Sisyphus
Последнее обновление: 8 декабря 2019 | Пакетов: 17493 | Посещений: 16010239
en ru br
Репозитории ALT
S:0.0.12-alt1.3
5.1: 0.0.10-alt1
4.1: 0.0.10-alt1
4.0: 0.0.10-alt1
www.altlinux.org/Changes

Группа :: Графика
Пакет: tuxpaint-config

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

#
# spec file for package tuxpaint-config
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

# norootforbuild


Name: tuxpaint-config
Summary: Configuration tool for Tux Paint
Url: http://www.tuxpaint.org/
License: GPL v2 or later
Group: Graphics
Version: 0.0.10
Release: alt1
BuildRequires: fltk-devel gcc-c++ libpaper-devel xorg-x11-proto-devel libXft-devel libXext-devel
Requires: tuxpaint
Packager: Alexandra Panyukova <mex3 at altlinux.ru>

Source: %name-%version.tar.bz2
Patch1: tuxpaint-config-docpath.patch
Patch2: tuxpaint-config-desktop.patch

%description
Tux Paint has a rich set of configuration options, controllable via
command-line options or configuration files. This configuration tool
provides a point-and-click interface for administrators to tailor
Tux Paint to suit the needs of their users.

%if "%(xft-config --prefix)" == "/usr"
%define _xorg_fontdir %_datadir/fonts
%else
%define _xorg_fontdir /usr/X11R6/lib/X11/fonts
%endif

%prep
%setup -q
find . -name CVS | xargs rm -rf
%patch1
%patch2 -p1

%build
make  PREFIX=%prefix X11_ICON_PREFIX=/usr/include/X11/pixmaps/

%install
mkdir -p %buildroot%_bindir
make PREFIX=%buildroot%prefix X11_ICON_PREFIX=%buildroot%_includedir/X11/pixmaps/ DOC_PREFIX=%buildroot%_defaultdocdir/%name install
install -D -m644 src/%name.desktop %buildroot%_desktopdir/%name.desktop

# fix file permissions

find %buildroot%_defaultdocdir/%name -type f -exec chmod 644 {} \;
find %buildroot%_mandir -type f -exec chmod 644 {} \;

%if 0%{?suse_version} > 1020
%fdupes -s %buildroot
%endif

%files
%_bindir/tuxpaint-config
%doc %_defaultdocdir/%name
%dir %_includedir/X11/pixmaps
%_includedir/X11/pixmaps/tuxpaint-config.xpm
%_man1dir/*
%_datadir/tuxpaint-config/
%_pixmapsdir/*.png
%_desktopdir/*.desktop

%changelog

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

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