commit ef724bd74a2f964d4aaaa39ba02112d4de6a08f5 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:59:42 2019 -0400 Package init diff --git a/libXrandr-1.5.1.tar.bz2 b/libXrandr-1.5.1.tar.bz2 new file mode 100644 index 0000000..01f8a11 Binary files /dev/null and b/libXrandr-1.5.1.tar.bz2 differ diff --git a/libXrandr.spec b/libXrandr.spec new file mode 100644 index 0000000..ec70692 --- /dev/null +++ b/libXrandr.spec @@ -0,0 +1,58 @@ +Name: libXrandr +Version: 1.5.1 +Release: 9 +License: MIT +Summary: X.Org X11 libXrandr runtime library +URL: https://www.x.org +Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 + +BuildRequires: xorg-x11-util-macros autoconf automake libtool +BuildRequires: xorg-x11-proto-devel libX11-devel libXext-devel libXrender-devel + +Requires: libX11 >= 1.6.0 + +%description +X.Org X11 libXrandr runtime library + +%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 +* Tue Sep 10 2019 openEuler Buildteam - 1.5.1-9 +- Package init