commit 95da909781990a89d3aa679470eb0e0d0ec8ca59 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:59:45 2019 -0400 Package init diff --git a/libXres-1.2.0.tar.bz2 b/libXres-1.2.0.tar.bz2 new file mode 100644 index 0000000..79402a0 Binary files /dev/null and b/libXres-1.2.0.tar.bz2 differ diff --git a/libXres.spec b/libXres.spec new file mode 100644 index 0000000..6e25c95 --- /dev/null +++ b/libXres.spec @@ -0,0 +1,56 @@ +Name: libXres +Version: 1.2.0 +Release: 6 +License: MIT +Summary: X-Resource extension client library +URL: https://www.x.org +Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 +BuildRequires: xorg-x11-util-macros autoconf automake libtool libXext-devel libX11-devel +Requires: libX11 >= 1.5.99.902 + +%description +X-Resource is an extension that allows a client to query +the X server about its usage of various resources. + +%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 AUTHORS COPYING +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/X11/extensions/*.h +%{_libdir}/*.so +%{_libdir}/*.a +%{_libdir}/pkgconfig/*.pc + +%files help +%defattr(-,root,root) +%{_mandir}/man3/*.3* + +%changelog +* Thu Sep 12 2019 openEuler Buildteam - 1.2.0-6 +- Package init