From 8105c1319050d8b34c59efee16c0474e0dd43cf7 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 12 Dec 2013 15:59:05 +0100 Subject: [PATCH] initial import --- .gitignore | 1 + libeot.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+) create mode 100644 libeot.spec diff --git a/.gitignore b/.gitignore index e69de29..297fece 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libeot-0.01.tar.bz2 diff --git a/libeot.spec b/libeot.spec new file mode 100644 index 0000000..cbcee62 --- /dev/null +++ b/libeot.spec @@ -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 - 0.01-1 +- initial import diff --git a/sources b/sources index e69de29..190efbc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +aa24f5dd2a2992f4a116aa72af817548 libeot-0.01.tar.bz2