commit c42445054d03fee6765fb7c6bc3e1a1911c635ec Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:59:15 2019 -0400 Package init diff --git a/libXaw-1.0.13.tar.bz2 b/libXaw-1.0.13.tar.bz2 new file mode 100644 index 0000000..b6da2e9 Binary files /dev/null and b/libXaw-1.0.13.tar.bz2 differ diff --git a/libXaw.spec b/libXaw.spec new file mode 100644 index 0000000..de00fe0 --- /dev/null +++ b/libXaw.spec @@ -0,0 +1,63 @@ +%global _pkgdocdir %{_docdir}/%{name}-%{version} + +Name: libXaw +Version: 1.0.13 +Release: 12 +License: MIT +Summary: X Athena Widget Set +URL: https://www.x.org +Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 +BuildRequires: autoconf automake libtool xorg-x11-proto-devel libX11-devel libXt-devel +BuildRequires: libXmu-devel libXpm-devel libXext-devel xorg-x11-util-macros xmlto lynx + +%description +Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig xorg-x11-proto-devel libXmu-devel libXt-devel libXpm-devel + +%description devel +The %{name}-devel package contains development files for %{name}. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +autoreconf -ivf +export CFLAGS="$RPM_OPT_FLAGS -Os" +%configure --docdir=%{_pkgdocdir} --disable-xaw8 --disable-xaw6 --without-fop --without-xmlto +%make_build + +%install +%make_install INSTALL="install -p" +install -pm 644 COPYING README ChangeLog $RPM_BUILD_ROOT%{_pkgdocdir} +%delete_la_and_a + +%ldconfig_scriptlets + +%files +%defattr(-,root,root) +%{_pkgdocdir}/COPYING +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/X11/Xaw/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%files help +%defattr(-,root,root) +%{_pkgdocdir}/ChangeLog +%{_pkgdocdir}/README +%{_pkgdocdir}/*.xml +%{_mandir}/man3/*.3* + + +%changelog +* Mon Sep 2 2019 openEuler Buildteam - 1.0.13-12 +- Package init