commit 173dfd4932cd0dcb23c6d99291146c28c3e9989d Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:59:27 2019 -0400 Package init diff --git a/libXfont2-2.0.3.tar.bz2 b/libXfont2-2.0.3.tar.bz2 new file mode 100644 index 0000000..7dd9b09 Binary files /dev/null and b/libXfont2-2.0.3.tar.bz2 differ diff --git a/libXfont2.spec b/libXfont2.spec new file mode 100644 index 0000000..e5a7638 --- /dev/null +++ b/libXfont2.spec @@ -0,0 +1,65 @@ +Name: libXfont2 +Version: 2.0.3 +Release: 4 +Summary: X.Org X11 libXfont2 runtime library +License: MIT +URL: https://xorg.freedesktop.org/ +Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 + +BuildRequires: autoconf automake libtool pkgconfig(fontsproto) freetype-devel +BuildRequires: xorg-x11-util-macros libfontenc-devel xorg-x11-xtrans-devel + +%description +libXfont provides the core of the legacy X11 font system, handling +the index files (fonts.dir, fonts.alias, fonts.scale), the various +font file formats, and rasterizing them. %{name} contains runtime +library. + +%package devel +Summary: Development files and Header files for %{name} +Requires: %{name} = %{version}-%{release} libfontenc-devel + +%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 +export CFLAGS="$RPM_OPT_FLAGS -Os" +%configure +%make_build + +%install +%make_install +%delete_la + +%ldconfig_scriptlets + +%files +%defattr(-,root,root) +%doc AUTHORS ChangeLog +%license COPYING +%{_libdir}/libXfont2.so.* + + +%files devel +%defattr(-,root,root) +%{_includedir}/X11/fonts/libxfont2.h +%{_libdir}/pkgconfig/*.pc +%{_libdir}/*.a +%{_libdir}/libXfont2.so + + +%files help +%defattr(-,root,root) +%doc README + +%changelog +* Tue Sep 3 2019 openEuler Buildteam - 2.0.3-4 +- Package init +