ttfautohint/ttfautohint.spec

101 lines
2.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: ttfautohint
Version: 1.8.4
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: libbrotli-devel
BuildRequires: libbzip2-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglvnd-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}
%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
%{_mandir}/man1/ttfautohint.1.gz
%{_mandir}/man1/ttfautohintGUI.1.gz
%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
%dir %{_datadir}/doc/ttfautohint
%{_datadir}/doc/ttfautohint/*
%doc ChangeLog NEWS README TODO
%changelog
* Sun Aug 29 2021 Automatic Build System <autodist@mambasoft.it> 1.8.4-1mamba
- automatic version update by autodist
* Sat Mar 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-1mamba
- package created using the webbuild interface