libXft/libXft.spec

64 lines
1.3 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:59:28 -04:00
Name: libXft
Version: 2.3.2
Release: 12
Summary: X FreeType library
License: MIT
URL: https://xorg.freedesktop.org/
Source0: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: xorg-x11-util-macros autoconf automake libtool
BuildRequires: freetype-devel fontconfig-devel pkgconfig(xrender)
Requires: fontconfig
%description
Xft is a library that connects X applications with the FreeType font
rasterization library.
%package devel
Summary: Development files and Header files for %{name}
Requires: %{name} = %{version}-%{release}
%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
autoreconf -ivf
%configure
%make_build
%install
%make_install
%delete_la
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_libdir}/libXft.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/X11/Xft/*.h
%{_libdir}/pkgconfig/xft.pc
%{_libdir}/*.a
%{_libdir}/libXft.so
%files help
%defattr(-,root,root)
%doc README ChangeLog
%{_mandir}/man3/Xft.3.gz
%changelog
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.3.2-12
- Package init