Package init
This commit is contained in:
commit
c42445054d
BIN
libXaw-1.0.13.tar.bz2
Normal file
BIN
libXaw-1.0.13.tar.bz2
Normal file
Binary file not shown.
63
libXaw.spec
Normal file
63
libXaw.spec
Normal file
@ -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 <buildteam@openeuler.org> - 1.0.13-12
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user