Package init

This commit is contained in:
overweight 2019-09-30 10:59:20 -04:00
commit 296c9bbc6d
3 changed files with 77 additions and 0 deletions

2
index.theme Normal file
View File

@ -0,0 +1,2 @@
[Icon Theme]
Inherits=Adwaita

BIN
libXcursor-1.1.15.tar.bz2 Normal file

Binary file not shown.

75
libXcursor.spec Normal file
View File

@ -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 <buildteam@openeuler.org> - 1.1.15-5
- Package init