Package init
This commit is contained in:
commit
173dfd4932
BIN
libXfont2-2.0.3.tar.bz2
Normal file
BIN
libXfont2-2.0.3.tar.bz2
Normal file
Binary file not shown.
65
libXfont2.spec
Normal file
65
libXfont2.spec
Normal file
@ -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<buildteam@openeuler.org> - 2.0.3-4
|
||||||
|
- Package init
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user