Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37864931
en ru br
ALT Linux repositórios
S:1.1-alt4
5.0: 1.1-alt2
4.1: 1.1-alt1
4.0: 1.1-alt1

Group :: Sistema/Bibliotecas
RPM: Xaw95

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define name Xaw95
%define version 1.1
%define release alt2

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 Mon Dec 01 2008

BuildRequires: flex gccmakedep imake libXext-devel libXmu-devel libXp-devel libXpm-devel rpm-build-java 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*


%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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009