xorg-x11-xtrans-devel/xorg-x11-xtrans-devel.spec
2019-12-14 21:52:29 +08:00

51 lines
1.1 KiB
RPMSpec

Name: xorg-x11-xtrans-devel
Version: 1.3.5
Release: 8
Summary: X.Org X11 developmental X transport library
License: MIT
URL: http://www.x.org
Source0: https://www.x.org/archive/individual/lib/xtrans-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: pkgconfig
BuildRequires: xorg-x11-util-macros
Patch1: xtrans-1.0.3-avoid-gethostname.patch
%description
xtrans is a library of code that is shared among various X packages to
handle network protocol transport in a modular fashion, allowing a
single place to add new transport types. This is X.Org X11 developmental
X transport library.
%prep
%autosetup -n xtrans-%{version} -p1
%build
%configure --libdir=%{_datadir} --docdir=%{_pkgdocdir}
%install
%make_install INSTALL="install -p"
install -pm 644 AUTHORS ChangeLog COPYING README $RPM_BUILD_ROOT%{_pkgdocdir}
%check
%pre
%preun
%post
%postun
%files
%{_pkgdocdir}
%dir %{_includedir}/X11
%dir %{_includedir}/X11/Xtrans
%{_includedir}/X11/Xtrans/*
%{_datadir}/aclocal/xtrans.m4
%{_datadir}/pkgconfig/xtrans.pc
%changelog
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.5-8
- Package init