From 12fb1b0dbd46cba80f09acbfce0d53377b730b88 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:43:17 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.8.3-1mamba;Sat Mar 07 2020] --- README.md | 2 ++ ttfautohint.spec | 94 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 ttfautohint.spec diff --git a/README.md b/README.md index 7517df8..8809b38 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ttfautohint +ttfautohint provides a 99% automated hinting process and a platform for finely hand-hinting the last 1%. It is ideal for web fonts and supports many scripts: Latin, Greek, Arabic, Devanagari, Hebrew, Khmer, Myanmar, Thai, and many more. + diff --git a/ttfautohint.spec b/ttfautohint.spec new file mode 100644 index 0000000..b816f30 --- /dev/null +++ b/ttfautohint.spec @@ -0,0 +1,94 @@ +Name: ttfautohint +Version: 1.8.3 +Release: 1mamba +Summary: Provides a 99% automated hinting process and a platform for finely hand-hinting the last 1% +Group: Applications/Publishing +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.freetype.org/ttfautohint +Source: https://download.savannah.gnu.org/releases/freetype/ttfautohint-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libGL-devel +BuildRequires: libbzip2-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libgraphite2-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libpcre-devel +BuildRequires: libpng-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +ttfautohint provides a 99% automated hinting process and a platform for finely hand-hinting the last 1%. It is ideal for web fonts and supports many scripts: Latin, Greek, Arabic, Devanagari, Hebrew, Khmer, Myanmar, Thai, and many more. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/ttfautohint +%{_bindir}/ttfautohintGUI + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libttfautohint.so.* +%doc AUTHORS COPYING THANKS + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/ttfautohint-coverages.h +%{_includedir}/ttfautohint-errors.h +%{_includedir}/ttfautohint-scripts.h +%{_includedir}/ttfautohint.h +%{_libdir}/libttfautohint.a +%{_libdir}/libttfautohint.la +%{_libdir}/libttfautohint.so +%{_libdir}/pkgconfig/ttfautohint.pc +%doc ChangeLog NEWS README TODO + +%changelog +* Sat Mar 07 2020 Silvan Calarco 1.8.3-1mamba +- package created using the webbuild interface