commit 8c5a673d661c7c6736d36f121540f00ac252afe1 Author: duyyb Date: Wed Nov 27 19:46:53 2019 +0800 Package init diff --git a/libotf-0.9.13.tar.gz b/libotf-0.9.13.tar.gz new file mode 100644 index 0000000..cccc485 Binary files /dev/null and b/libotf-0.9.13.tar.gz differ diff --git a/libotf.spec b/libotf.spec new file mode 100644 index 0000000..45da854 --- /dev/null +++ b/libotf.spec @@ -0,0 +1,55 @@ +Name: libotf +Version: 0.9.13 +Release: 13 +Summary: Library for supporting processing of OpenType fonts +License: LGPLv2+ +URL: http://www.nongnu.org/m17n/ +Source0: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz + +BuildRequires: gcc chrpath freetype-devel libXaw-devel +Requires: freetype + +%description +Library for handling OpenType fonts,especially those needed for CJK and other non-Latin. + +%package devel +Summary: Development support for libotf library +Requires: %{name} = %{version}-%{release} pkgconfig + +%description devel +Development headers and libraries for libotf. + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%configure --disable-static +%make_build + +%install +%make_install +%delete_la +for file in %{buildroot}/usr/bin/*; do chrpath -d $file || true; done + +(cd example && make clean && rm -rf .deps && rm Makefile) + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%doc AUTHORS COPYING README NEWS +%{_libdir}/*.so.* +%{_bindir}/{otfdump,otflist,otftobdf,otfview} +%exclude %{_bindir}/libotf-config + +%files devel +%doc example +%{_includedir}/* +%{_libdir}/{*.so,pkgconfig/*} + +%changelog + * Fri Nov 15 2019 duyeyu - 0.9.13-13 +- Package init