Package init
This commit is contained in:
commit
552f5fc1a1
BIN
libXi-1.7.9.tar.bz2
Normal file
BIN
libXi-1.7.9.tar.bz2
Normal file
Binary file not shown.
60
libXi.spec
Normal file
60
libXi.spec
Normal file
@ -0,0 +1,60 @@
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user