Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568058
en ru br
ALT Linux repos
S:1.6.5-alt1
5.0: 1.5e-alt2
4.1: 1.5e-alt1
4.0: 1.5e-alt1
3.0: 1.5-alt2

Group :: System/Libraries
RPM: libXaw3d

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# $Id: libXaw3d,v 1.5 2006/02/04 16:32:27 me Exp $ -*- rpm-spec -*-

%define realname Xaw3d

Name: lib%realname
Version: 1.5e
Release: alt1

Summary: A version of the MIT Athena widget set for X
License: MIT
Group: System/Libraries
Url: ftp://ftp.visi.com/users/hawkeyd/

Source: %url/X/Xaw3d-1.5E.tar.bz2
Patch0: Xaw3d-1.5E-debian-misc.patch
Patch1: Xaw3d-1.5E-alt-compile.patch
Patch2: Xaw3d-1.5E-alt-defines.patch

Provides: %realname
Obsoletes: %realname

# Automatically added by buildreq on Sat Feb 04 2006

BuildRequires: flex imake libICE-devel libSM-devel libX11-devel libXext-devel libXmu-devel libXp-devel libXpm-devel libXt-devel xorg-cf-files xorg-x11-proto-devel

%package devel
Summary: Header files for development using Xaw3d
Group: Development/C
Provides: %realname-devel
Obsoletes: %realname-devel
Requires: %name = %version-%release

%description
Xaw3d is an enhanced version of the MIT Athena Widget set for
the X Window System.  Xaw3d adds a three-dimensional look to applications
with minimal or no source code changes.

You should install this package if you are using applications which incorporate
the MIT Athena widget set and you'd like to incorporate a 3D look into
those applications.

%description devel
Xaw3d is an enhanced version of the MIT Athena widget set for
the X Window System.  Xaw3d adds a three-dimensional look to those
applications with minimal or no source code changes.

This package includes the header files and development libraries required
for building programs that take full advantage of Xaw3d's features.

%prep
%setup -qc
%patch0 -p1
%patch1 -p1
%patch2 -p1

cd xc/lib/Xaw3d
%__ln_s .. X11

%build
cd xc/lib/Xaw3d
xmkmf
make CDEBUGFLAGS="$RPM_OPT_FLAGS" CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
   EXTRA_DEFINES="-D_REENTRANT" SHLIBDEF="-D_REENTRANT"

%install
cd xc/lib/Xaw3d
%make_install install DESTDIR=%buildroot

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%doc xc/lib/Xaw3d/README*

%files devel
%_libdir/*.so
%_includedir/X11/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin