commit c8ccf52d87f34531d9ad473b41546f09ec0ee9f8 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:56:05 2019 -0400 Package init diff --git a/libfontenc-1.1.4.tar.bz2 b/libfontenc-1.1.4.tar.bz2 new file mode 100644 index 0000000..d30e417 Binary files /dev/null and b/libfontenc-1.1.4.tar.bz2 differ diff --git a/libfontenc.spec b/libfontenc.spec new file mode 100644 index 0000000..1be5e33 --- /dev/null +++ b/libfontenc.spec @@ -0,0 +1,58 @@ +%define _x11fontdir %{_datadir}/X11/fonts + +Name: libfontenc +Version: 1.1.4 +Release: 1 +License: MIT +URL: https://www.x.org +Source0: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 +Summary: X.Org X11 libfontenc runtime library +BuildRequires: pkgconfig xorg-x11-util-macros xorg-x11-proto-devel zlib-devel xorg-x11-font-utils + +%description +X.Org X11 libfontenc runtime library + +%package devel +Summary: X.Org X11 libfontenc development package +Requires: %{name} = %{version}-%{release} + +%description devel +X.Org X11 libfontenc development package + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +export CFLAGS="$RPM_OPT_FLAGS -Os" +%configure --with-fontrootdir=%{_x11fontdir} +%make_build + +%install +%make_install +%delete_la_and_a +%ldconfig_scriptlets + +%check +make check + +%files +%defattr(-,root,root) +%doc COPYING +%{_libdir}/libfontenc.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/X11/fonts/fontenc.h +%{_libdir}/libfontenc.so +%{_libdir}/pkgconfig/fontenc.pc + +%files help +%defattr(-,root,root) +%doc README.md + +%changelog +* Sat Sep 7 2019 openEuler Buildteam - 1.1.4-1 +- Package init +