Author: baggins Date: Wed Jul 13 11:21:52 2011 GMT Module: packages Tag: HEAD ---- Log message: - initial revision
---- Files affected: packages/libotf: libotf.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/libotf/libotf.spec diff -u /dev/null packages/libotf/libotf.spec:1.1 --- /dev/null Wed Jul 13 13:21:52 2011 +++ packages/libotf/libotf.spec Wed Jul 13 13:21:47 2011 @@ -0,0 +1,107 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without static_libs # don't build static libraries +# +Summary: Library for handling OpenType Font (OTF) +Summary(pl.UTF-8): Biblioteka do obsługi fontów OpenType (OTF) +Name: libotf +Version: 0.9.12 +Release: 1 +License: LGPL +Group: Libraries +Source0: http://www.m17n.org/libotf/%{name}-%{version}.tar.gz +# Source0-md5: 630a0556af3be60360e8a75e59561eda +URL: http://www.m17n.org/libotf/ +BuildRequires: freetype-devel +BuildRequires: xorg-lib-libX11-devel +BuildRequires: xorg-lib-libXt-devel +BuildRequires: xorg-lib-libXaw-devel +BuildRequires: xorg-lib-libXmu-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The library "libotf" provides the following facilites: + o Read Open Type Layout Tables from OTF file. Currently these + tables are supported; head, name, cmap, GDEF, GSUB, and GPOS. + o Convert a Unicode character sequence to a glyph code sequence by + using the above tables. + +The combination of libotf and the FreeType library (Ver.2) realizes +CTL (complex text layout) by OpenType fonts. + +#%description -l pl.UTF-8 + +%package devel +Summary: Header files for libotf library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libotf +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for libotf library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki libotf. + +%package static +Summary: Static libotf library +Summary(pl.UTF-8): Statyczna biblioteka libotf +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static libotf library. + +%description static -l pl.UTF-8 +Statyczna biblioteka libotf. + +%prep +%setup -q + +%build +%configure \ + %{!?with_static_libs:--disable-static} +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/otf* +%attr(755,root,root) %{_libdir}/libotf.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libotf.so.0 + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/libotf-config +%{_libdir}/libotf.so +%{_includedir}/otf.h +%{_pkgconfigdir}/libotf.pc + +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libotf.a +%endif + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/07/13 11:21:47 baggins +- initial revision + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
