Package init
This commit is contained in:
commit
c8ccf52d87
BIN
libfontenc-1.1.4.tar.bz2
Normal file
BIN
libfontenc-1.1.4.tar.bz2
Normal file
Binary file not shown.
58
libfontenc.spec
Normal file
58
libfontenc.spec
Normal file
@ -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 <buildteam@openeuler.org> - 1.1.4-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user