parent
c210102b26
commit
8105c13190
@ -0,0 +1 @@
|
|||||||
|
/libeot-0.01.tar.bz2
|
@ -0,0 +1,66 @@
|
|||||||
|
Name: libeot
|
||||||
|
Version: 0.01
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: A library for parsing Embedded OpenType font files
|
||||||
|
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: MPLv2.0
|
||||||
|
URL: https://github.com/umanwizard/libeot
|
||||||
|
Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{name} is a library for parsing Embedded OpenType files (Microsoft
|
||||||
|
embedded font "standard") and converting them to other formats.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Tools to transform EOT font files into other formats
|
||||||
|
Group: Applications/Publishing
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
Tools to transform EOT font files into other formats. Only TTF is
|
||||||
|
supported currently.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-silent-rules --disable-static --disable-werror
|
||||||
|
sed -i \
|
||||||
|
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
||||||
|
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
||||||
|
libtool
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=%{buildroot}
|
||||||
|
rm -f %{buildroot}/%{_libdir}/*.la
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc LICENSE PATENTS
|
||||||
|
%{_libdir}/%{name}.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/%{name}
|
||||||
|
%{_libdir}/%{name}.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%{_bindir}/eot2ttf
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Dec 04 2013 David Tardon <dtardon@redhat.com> - 0.01-1
|
||||||
|
- initial import
|
Loading…
Reference in new issue