95 lines
2.7 KiB
RPMSpec
95 lines
2.7 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 1.8.3-1mamba
|
||
|
- package created using the webbuild interface
|