Group :: System/Libraries
RPM: libXaw3d
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define realname Xaw3d
Name: lib%realname
Version: 1.5
Release: alt2
%define old_release ipl9mdk
Summary: A version of the MIT Athena widget set for X
License: MIT
Group: System/Libraries
Url: ftp://ftp.x.org/contrib/widgets/Xaw3d/
Source: ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/%realname-%version.tar.bz2
Patch1: Xaw3d-1.1-rh-shlib.patch
Patch2: Xaw3d-1.5-alt-compile.patch
Patch3: Xaw3d-1.5-rh-compile_warnings.patch
Patch4: Xaw3d-1.5-rh-i18n.patch
Provides: %realname = %version-%old_release
Obsoletes: %realname
# Automatically added by buildreq on Fri Sep 12 2003
BuildRequires: XFree86-devel flex xpm-devel
%package devel
Summary: Header files for development using Xaw3d
Group: Development/C
Provides: %realname-devel = %version-%old_release
Obsoletes: %realname-devel
Requires: %name = %version-%release
%package devel-static
Summary: Static libraries for development using Xaw3d
Group: Development/C
Provides: %realname-devel-static = %version-%old_release
Obsoletes: %realname-devel-static
Requires: %name-devel = %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.
%description devel-static
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 static library required for developing programs
that take full advantage of Xaw3d's features.
%prep
%setup -qc
cd xc/lib/Xaw3d
%patch1 -p0
%patch2 -p4
%patch3 -p4
# Strange i18n patch from RH.
#%patch4 -p4
%__ln_s .. X11
%build
cd xc/lib/Xaw3d
export PATH=%_x11bindir:$PATH
xmkmf
make CDEBUGFLAGS="$RPM_OPT_FLAGS" CXXDEBUGFLAGS="$RPM_OPT_FLAGS"
%install
cd xc/lib/Xaw3d
%make_install install DESTDIR=$RPM_BUILD_ROOT
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_x11libdir/*.so.*
%doc xc/lib/Xaw3d/README*
%files devel
%_x11libdir/*.so
%_x11includedir/X11/*
%files devel-static
%_x11libdir/*.a
%changelog
…
Full changelog you can see here
Name: lib%realname
Version: 1.5
Release: alt2
%define old_release ipl9mdk
Summary: A version of the MIT Athena widget set for X
License: MIT
Group: System/Libraries
Url: ftp://ftp.x.org/contrib/widgets/Xaw3d/
Source: ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/%realname-%version.tar.bz2
Patch1: Xaw3d-1.1-rh-shlib.patch
Patch2: Xaw3d-1.5-alt-compile.patch
Patch3: Xaw3d-1.5-rh-compile_warnings.patch
Patch4: Xaw3d-1.5-rh-i18n.patch
Provides: %realname = %version-%old_release
Obsoletes: %realname
# Automatically added by buildreq on Fri Sep 12 2003
BuildRequires: XFree86-devel flex xpm-devel
%package devel
Summary: Header files for development using Xaw3d
Group: Development/C
Provides: %realname-devel = %version-%old_release
Obsoletes: %realname-devel
Requires: %name = %version-%release
%package devel-static
Summary: Static libraries for development using Xaw3d
Group: Development/C
Provides: %realname-devel-static = %version-%old_release
Obsoletes: %realname-devel-static
Requires: %name-devel = %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.
%description devel-static
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 static library required for developing programs
that take full advantage of Xaw3d's features.
%prep
%setup -qc
cd xc/lib/Xaw3d
%patch1 -p0
%patch2 -p4
%patch3 -p4
# Strange i18n patch from RH.
#%patch4 -p4
%__ln_s .. X11
%build
cd xc/lib/Xaw3d
export PATH=%_x11bindir:$PATH
xmkmf
make CDEBUGFLAGS="$RPM_OPT_FLAGS" CXXDEBUGFLAGS="$RPM_OPT_FLAGS"
%install
cd xc/lib/Xaw3d
%make_install install DESTDIR=$RPM_BUILD_ROOT
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_x11libdir/*.so.*
%doc xc/lib/Xaw3d/README*
%files devel
%_x11libdir/*.so
%_x11includedir/X11/*
%files devel-static
%_x11libdir/*.a
%changelog
…
Full changelog you can see here