Package init

This commit is contained in:
overweight 2019-09-30 10:59:55 -04:00
commit cfc56297c1
2 changed files with 61 additions and 0 deletions

BIN
libXtst-1.2.3.tar.bz2 Normal file

Binary file not shown.

61
libXtst.spec Normal file
View File

@ -0,0 +1,61 @@
Summary: X.Org X11 libXtst runtime library
Name: libXtst
Version: 1.2.3
Release: 9
License: MIT
URL: https://www.x.org
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
Requires: libX11 >= 1.5.99.902
BuildRequires: xorg-x11-util-macros autoconf automake libtool xorg-x11-proto-devel
BuildRequires: libX11-devel libXext-devel libXi-devel xmlto
%description
X.Org X11 libXtst runtime library
%package devel
Summary: Development package for ${name}
Requires: %{name} = %{version}-%{release} libXi-devel
%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 COPYING
%{_libdir}/*.so.*
%exclude %{_docdir}
%files devel
%defattr(-,root,root)
%{_includedir}/X11/extensions/*.h
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/*.pc
%files help
%defattr(-,root,root)
%{_mandir}/man3/XTest*.3*
%changelog
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.3-9
- Package init