commit 296c9bbc6d69744c81cafa075567ffac57512198 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:59:20 2019 -0400 Package init diff --git a/index.theme b/index.theme new file mode 100644 index 0000000..cda0b19 --- /dev/null +++ b/index.theme @@ -0,0 +1,2 @@ +[Icon Theme] +Inherits=Adwaita diff --git a/libXcursor-1.1.15.tar.bz2 b/libXcursor-1.1.15.tar.bz2 new file mode 100644 index 0000000..3d320da Binary files /dev/null and b/libXcursor-1.1.15.tar.bz2 differ diff --git a/libXcursor.spec b/libXcursor.spec new file mode 100644 index 0000000..e99bb5b --- /dev/null +++ b/libXcursor.spec @@ -0,0 +1,75 @@ +%global gitversion 8f677eaea + +Name: libXcursor +Summary: Cursor management library +Version: 1.1.15 +Release: 5 +License: MIT +URL: https://xorg.freedesktop.org/ +Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 +Source1: index.theme + +Requires: libX11 +BuildRequires: autoconf automake libtool xorg-x11-util-macros +BuildRequires: xorg-x11-proto-devel libX11-devel +BuildRequires: libXfixes-devel libXrender-devel +BuildRequires: autoconf automake libtool pkgconfig + +%description +libXcursor is a library designed to help locate and load cursors. +Cursors can be loaded from files or memory. A library of common cursors +exists which map to the standard X cursor names.Cursors can exist in +several sizes and the library automatically picks the best size. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +libXcursor development package. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 +iconv --from=ISO-8859-2 --to=UTF-8 COPYING > COPYING.new && \ +touch -r COPYING COPYING.new && mv COPYING.new COPYING + + +%build +autoreconf -vif +%configure +%make_build + +%install +%make_install + +install -d $RPM_BUILD_ROOT%{_datadir}/icons/default +install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/default/index.theme + +%delete_la + +%ldconfig_scriptlets + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING +%{_libdir}/*.so.* +%{_datadir}/icons/*/*.theme + +%files devel +%defattr(-,root,root) +%{_includedir}/X11/*/*.h +%{_libdir}/*.a +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%files help +%defattr(-,root,root) +%doc README +%{_mandir}/man3/Xcursor*.3* + +%changelog +* Tue Sep 10 2019 openEuler Buildteam - 1.1.15-5 +- Package init +