init
This commit is contained in:
parent
0a2bebbfa8
commit
68cd6453ed
@ -0,0 +1 @@
|
|||||||
|
libotf-0.9.7.tar.gz
|
93
libotf.spec
Normal file
93
libotf.spec
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
Name: libotf
|
||||||
|
Version: 0.9.7
|
||||||
|
Release: 4%{?dist}
|
||||||
|
Summary: A Library for handling OpenType Font
|
||||||
|
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: http://www.m17n.org/libotf/
|
||||||
|
Source0: http://www.m17n.org/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: gcc chrpath freetype-devel
|
||||||
|
Requires: freetype
|
||||||
|
|
||||||
|
%description
|
||||||
|
The library "libotf" provides the following facilites.
|
||||||
|
Read Open Type Layout Tables from OTF file. Currently these tables are
|
||||||
|
supported; head, name, cmap, GDEF, GSUB, and GPOS. 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. This library is currently
|
||||||
|
used by the m17n library. It seems that the probject Free Type Layout
|
||||||
|
provides the similar (or better) facility as this library, but
|
||||||
|
currently they have not yet released their library. So, we have
|
||||||
|
developed this one.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}, pkgconfig
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
for file in $RPM_BUILD_ROOT/usr/bin/*; do chrpath -d $file || true; done
|
||||||
|
|
||||||
|
(cd example && make clean && rm -rf .deps)
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS COPYING README NEWS
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
%{_bindir}/otfdump
|
||||||
|
%{_bindir}/otflist
|
||||||
|
%{_bindir}/otftobdf
|
||||||
|
%{_bindir}/otfview
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc example
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
|
%{_bindir}/libotf-config
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-4
|
||||||
|
- Remove .deps from example
|
||||||
|
|
||||||
|
* Fri Mar 28 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-3
|
||||||
|
- Change to LGPLv2+
|
||||||
|
- Add examples
|
||||||
|
|
||||||
|
* Wed Mar 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-2
|
||||||
|
- Cleanup suggestions from panemade at gmail dot com
|
||||||
|
|
||||||
|
* Tue Mar 25 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-1
|
||||||
|
- Initial
|
||||||
|
|
Loading…
Reference in New Issue
Block a user