61 lines
1.4 KiB
RPMSpec
61 lines
1.4 KiB
RPMSpec
Name: libXi
|
|
Version: 1.7.9
|
|
Release: 9
|
|
Summary: X.Org X11 libXi runtime library
|
|
License: MIT
|
|
URL: http://xorg.freedesktop.org/
|
|
Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: autoconf automake libtool xorg-x11-util-macros libXext-devel xmlto asciidoc
|
|
BuildRequires: xorg-x11-proto-devel pkgconfig(inputproto) libX11-devel libXfixes-devel git
|
|
Requires: libX11 >= 1.5.99.902
|
|
|
|
%description
|
|
libXi is the client-side library for the X Input Extension.
|
|
|
|
%package devel
|
|
Summary: Development files and Header files for %{name}
|
|
Requires: %{name} = %{version}-%{release} xorg-x11-proto-devel pkgconfig
|
|
Provides: libXi-static
|
|
Obsoletes: libXi-static
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure --disable-specs
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
%{_libdir}/libXi.so.*
|
|
%{_libdir}/libXi.so
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/X11/extensions/*.h
|
|
%{_libdir}/libXi.so
|
|
%{_libdir}/pkgconfig/xi.pc
|
|
%{_libdir}/*.a
|
|
%exclude %{_libdir}/*.la
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.7.9-9
|
|
- Package init
|