Xaw3d/Xaw3d.spec
2019-09-30 11:20:07 -04:00

71 lines
1.8 KiB
RPMSpec

Name: Xaw3d
Version: 1.6.3
Release: 1
Summary: A version of the MIT Athena widget set for X
License: MIT
URL: https://xorg.freedesktop.org/
Source0: https://xorg.freedesktop.org/archive/individual/lib/libXaw3d-%{version}.tar.bz2
# Patch5 doesn't apply cleanly, but has not been applied
#Patch5: Xaw3d-1.5-debian-fixes.patch
Patch7: Xaw3d-1.6.1-3Dlabel.patch
Patch10: Xaw3d-1.6.1-fontset.patch
Patch11: Xaw3d-1.6.1-hsbar.patch
BuildRequires: libXmu-devel libXt-devel libSM-devel libXext-devel libX11-devel
BuildRequires: xorg-x11-util-macros bison flex ed gnupg2 libXpm-devel
%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 Xaw3d if you are using applications which incorporate
the MIT Athena widget set and you'd like to incorporate a 3D look into
those applications.
%package devel
Summary: Header files for Xaw3d
Requires: %{name} = %{version}-%{release} libX11-devel libXpm-devel
Requires: libXmu-devel libXt-devel libSM-devel libXext-devel
%description devel
Header files for Xaw3d
%package_help
%prep
%autosetup -n libXaw3d-%{version} -p1
%build
%configure --enable-arrow-scrollbars --enable-gray-stipples --enable-multiplane-bitmaps
%make_build
%install
%make_install
%delete_la
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc COPYING
%license COPYING
%{_libdir}/*.so.8*
%exclude %{_docdir}/libXaw3d/README.XAW3D
%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/X11/*
%files help
%defattr(-,root,root)
%doc ChangeLog README src/README.XAW3D
%changelog
* Mon Sep 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.3-1
- Package init