libXaw/libXaw.spec

70 lines
1.7 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:59:15 -04:00
%global _pkgdocdir %{_docdir}/%{name}-%{version}
Name: libXaw
Version: 1.0.13
2019-11-06 19:35:48 +08:00
Release: 13
2019-09-30 10:59:15 -04:00
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"
2019-11-06 19:35:48 +08:00
install -pm 644 README ChangeLog $RPM_BUILD_ROOT%{_pkgdocdir}
2019-09-30 10:59:15 -04:00
%delete_la_and_a
%ldconfig_scriptlets
%files
%defattr(-,root,root)
2019-11-06 19:35:48 +08:00
%license COPYING
2019-09-30 10:59:15 -04:00
%{_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
2019-11-06 19:35:48 +08:00
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.13-13
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license file
2019-09-30 10:59:15 -04:00
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.13-12
- Package init