libXmu/libXmu.spec
2019-09-30 10:59:40 -04:00

71 lines
1.7 KiB
RPMSpec

Name: libXmu
Version: 1.1.2
Release: 13
License: MIT
Summary: X.Org X11 libXmu/libXmuu runtime libraries
URL: https://www.x.org
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
#From: Alan Coopersmith <alan.coopersmith@oracle.com>
#Date: Mon, 2 Dec 2013 13:00:05 -0800
Patch1: 0001-ShapeEllipseOrRoundedRectangle-Check-height-AND-widt.patch
#From: Alan Coopersmith <alan.coopersmith@oracle.com>
#Date: Sat, 5 May 2018 11:26:17 -0700
Patch2: 0001-Convert-tabs-to-spaces-in-StrToWidg.c.patch
#From: Alan Coopersmith <alan.coopersmith@oracle.com>
#Date: Sat, 5 May 2018 11:32:12 -0700
Patch3: 0002-Apply-standard-X.Org-formatting-bracketing-to-StrToW.patch
BuildRequires: autoconf automake libtool xorg-x11-util-macros
BuildRequires: libX11-devel libXext-devel libXt-devel xmlto
%description
X.Org X11 libXmu/libXmuu runtime libraries
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -ivf
%configure
%make_build
%install
%make_install
%delete_la
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc COPYING
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/X11/Xmu/*.h
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/*.pc
%files help
%defattr(-,root,root)
%doc README ChangeLog
%exclude %{_docdir}
%changelog
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-13
- Package init