diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..297fece --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/libeot-0.01.tar.bz2 diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/libeot.spec b/libeot.spec new file mode 100644 index 0000000..6ec570f --- /dev/null +++ b/libeot.spec @@ -0,0 +1,90 @@ +Name: libeot +Version: 0.01 +Release: 9%{?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 +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} INSTALL='install -p' +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 Feb 07 2018 Fedora Release Engineering - 0.01-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.01-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.01-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.01-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.01-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.01-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 0.01-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.01-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Dec 04 2013 David Tardon - 0.01-1 +- initial import diff --git a/sources b/sources new file mode 100644 index 0000000..2152c8b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libeot-0.01.tar.bz2) = 897b3d62fdf327bcc4f3033c7b2013c1e89c7e4d98e321eee6470a9b4cf738021deea4fb3c08a7fa1bc1fb4b733ff49e822161dc68d38aef01f7eb1b2fdebc31