Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37728654
en ru br
Репозитории ALT
S:1.1-alt4
5.1: 1.1-alt2
4.1: 1.1-alt1
4.0: 1.1-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: Xaw95

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

%define name Xaw95
%define version 1.1
%define release alt1

Summary: 3D Athena Widgets with W95 look and feel
Name: %name
Version: %version
Release: %release
Url: http://www.netsw.org/x11/libs/xaw95/
Packager: Hihin Ruslan <ruslandh at altlinux.ru>
Source: %name-%version-src.tar.gz
Patch0: %name-%version.dif
Patch1: %name-%version-nocrash.patch
Patch2: %name-%version-secure.patch
License: GPL
Distribution: ALTLinux
Group: System/Libraries

%define libname lib%name

# Automatically added by buildreq on Sat Jul 22 2006

BuildRequires: flex gccmakedep imake libXmu-devel libXp-devel libXpm-devel xorg-cf-files

%description
Written by Eddie Hiu-Fung Lau, this widget set approximates
the look and feel of windows 95.

Differences between Xaw3d and Xaw95 are primarily minor
changes in appearance to make widgets look more like Windows '95:

   * AsciiSink seems to handle clipping better.
   * Many widgets have different defaults for background
     pixel (gray) and border width (0)
   * Command, Repeater, Toggle are not drawn inverted when
     pressed, and the label is offset slightly when pressed.
   * Scrollbar is slightly wider and includes arrow buttons.
   * Menu items have a 3-d look.

%package -n %libname
Summary: Widget based on Xaw3d
Group: System/Libraries

%description -n %libname
3D Athena Widgets with W95 look and feel

%package -n %libname-devel
Summary: Widget based on Xaw3d
Group: Development/C
Requires: %libname = %version

%package -n %libname-devel-static
Summary: Widget based on Xaw3d
Group: Development/C
Requires: %libname = %version

%description -n %libname-devel
3D Athena Widgets with W95 look and feel

%description -n %libname-devel-static
3D Athena Widgets with W95 look and feel

%prep
%setup -n %name-%version
%patch1 -p0 -b .secure
%patch2 -p0 -b .nocrash
%patch0
rm -rf laylex.c laygram.h laygram.c
rm -rf exports/
mkdir -p exports/include/X11/Xaw95
mkdir -p X11
ln -sf ../exports/include/X11/Xaw95 X11/Xaw95
xmkmf -a

%build
%make

%install
%make DESTDIR=%buildroot install
rm -rf %buildroot/%_x11libdir/Xaw95/*so*

%post -n %libname -p %post_ldconfig
%postun -n %libname -p %postun_ldconfig

%files -n %libname
%doc README.XAW3D
%_x11libdir/libXaw95.so.*

%files -n %libname-devel
%_x11libdir/libXaw95.so
%_includedir/X11/Xaw95/*

%files -n %libname-devel-static
%_x11libdir/libXaw95.a

%changelog

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

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