]> git.pld-linux.org Git - packages/libotf.git/commitdiff
- initial revision auto/th/libotf-0_9_12-1
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 13 Jul 2011 11:21:47 +0000 (11:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libotf.spec -> 1.1

libotf.spec [new file with mode: 0644]

diff --git a/libotf.spec b/libotf.spec
new file mode 100644 (file)
index 0000000..76efc48
--- /dev/null
@@ -0,0 +1,96 @@
+#
+# 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
This page took 0.087726 seconds and 4 git commands to generate.