libXfont2-vl.spec 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Summary: X.Org X11 libXfont2 runtime library
  2. Summary(ja): X.Org X11 libXfont2 ランタイムライブラリ
  3. Name: libXfont2
  4. Version: 2.0.3
  5. Release: 1%{?_dist_release}
  6. License: MIT
  7. Group: System Environment/Libraries
  8. URL: http://www.x.org
  9. Source0: http://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  10. BuildRequires: autoconf automake libtool
  11. BuildRequires: pkgconfig(fontsproto)
  12. BuildRequires: xorg-x11-util-macros
  13. BuildRequires: xorg-x11-xtrans-devel >= 1.0.3
  14. BuildRequires: libfontenc-devel
  15. BuildRequires: freetype-devel
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. X.Org X11 libXfont2 runtime library
  20. %package devel
  21. Summary: X.Org X11 libXfont2 development package
  22. Summary(ja): X.Org X11 libXfont2 開発パッケージ
  23. Group: Development/Libraries
  24. Requires: %{name}%{?_isa} = %{version}-%{release}
  25. Requires: libfontenc-devel%{?_isa}
  26. %description devel
  27. X.Org X11 libXfont development package
  28. %prep
  29. %autosetup
  30. %build
  31. autoreconf -v --install --force
  32. export CFLAGS="$RPM_OPT_FLAGS -Os"
  33. %configure --disable-static
  34. make %{?_smp_mflags}
  35. %install
  36. %make_install
  37. # We intentionally don't ship *.la files
  38. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %license COPYING
  43. %doc AUTHORS README ChangeLog
  44. %{_libdir}/libXfont2.so.2*
  45. %files devel
  46. %{_includedir}/X11/fonts/libxfont2.h
  47. %{_libdir}/libXfont2.so
  48. %{_libdir}/pkgconfig/xfont2.pc
  49. %changelog
  50. * Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.3-1
  51. - Initial build for VineLinux
  52. - This package is based on libXfont2-2.0.2-1.fc28
  53. (Thanks to fc team)