2007-01-10 01:56:10 +01:00
|
|
|
#
|
2011-08-04 14:42:30 +02:00
|
|
|
# spec file for package libotf
|
2007-01-10 01:56:10 +01:00
|
|
|
#
|
2012-02-15 13:15:41 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 01:56:10 +01:00
|
|
|
#
|
2008-09-24 00:26:36 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-10 01:56:10 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libotf
|
2010-12-05 19:59:29 +01:00
|
|
|
Version: 0.9.12
|
2012-02-15 13:15:41 +01:00
|
|
|
Release: 0
|
2010-12-05 19:59:29 +01:00
|
|
|
Summary: Library for Handling OpenType Fonts
|
2012-02-15 13:15:41 +01:00
|
|
|
License: LGPL-2.1+
|
2010-12-05 19:59:29 +01:00
|
|
|
Group: System/I18n/Japanese
|
2012-02-15 13:15:41 +01:00
|
|
|
Url: http://www.m17n.org/libotf/
|
2007-01-10 01:56:10 +01:00
|
|
|
# CVS:
|
|
|
|
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n login
|
|
|
|
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co libotf
|
|
|
|
Source0: http://www.m17n.org/libotf/libotf-%{version}.tar.bz2
|
2009-12-30 00:26:37 +01:00
|
|
|
Source1: baselibs.conf
|
2010-12-05 19:59:29 +01:00
|
|
|
# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
|
2010-04-25 18:39:51 +02:00
|
|
|
Patch: libotf-warning-fixes.diff
|
2010-12-05 19:59:29 +01:00
|
|
|
BuildRequires: freetype2-devel
|
2011-11-20 20:49:35 +01:00
|
|
|
BuildRequires: libtool
|
2010-12-05 19:59:29 +01:00
|
|
|
BuildRequires: xorg-x11-devel
|
2007-01-10 01:56:10 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2010-12-05 19:59:29 +01:00
|
|
|
Library for handling OpenType fonts,especially those needed for CJK and other non-Latin
|
|
|
|
languages.
|
2007-01-10 01:56:10 +01:00
|
|
|
|
2010-04-25 18:39:51 +02:00
|
|
|
%package -n libotf0
|
|
|
|
Summary: Shared library for libotf
|
|
|
|
Group: System/I18n/Japanese
|
2007-01-10 01:56:10 +01:00
|
|
|
|
2010-04-25 18:39:51 +02:00
|
|
|
%description -n libotf0
|
2010-12-05 19:59:29 +01:00
|
|
|
Library for handling OpenType fonts,especially those needed for CJK and other non-Latin
|
|
|
|
languages.
|
2007-01-10 01:56:10 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Include Files and Libraries mandatory for Development.
|
2010-12-05 19:59:29 +01:00
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: freetype2-devel
|
2007-01-10 01:56:10 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
2010-12-05 19:59:29 +01:00
|
|
|
to develop applications that require %{name}.
|
2007-01-10 01:56:10 +01:00
|
|
|
|
|
|
|
%prep
|
2009-03-03 23:15:41 +01:00
|
|
|
%setup -q
|
2010-04-25 18:39:51 +02:00
|
|
|
%patch -p1
|
2007-01-10 01:56:10 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
autoreconf --force --install --verbose
|
2009-03-03 23:15:41 +01:00
|
|
|
%configure --disable-static --with-pic
|
2010-12-05 19:59:29 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-10 01:56:10 +01:00
|
|
|
|
|
|
|
%install
|
2010-12-05 19:59:29 +01:00
|
|
|
%makeinstall
|
2009-03-03 23:15:41 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-10 01:56:10 +01:00
|
|
|
|
|
|
|
%clean
|
2009-03-03 23:15:41 +01:00
|
|
|
rm -rf %{buildroot}
|
2007-01-10 01:56:10 +01:00
|
|
|
|
2010-04-25 18:39:51 +02:00
|
|
|
%post -n libotf0 -p /sbin/ldconfig
|
2007-08-02 18:44:23 +02:00
|
|
|
|
2010-04-25 18:39:51 +02:00
|
|
|
%postun -n libotf0 -p /sbin/ldconfig
|
2007-08-02 18:44:23 +02:00
|
|
|
|
2007-01-10 01:56:10 +01:00
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING NEWS README ChangeLog
|
|
|
|
%{_bindir}/*
|
2010-04-25 18:39:51 +02:00
|
|
|
|
|
|
|
%files -n libotf0
|
|
|
|
%defattr(-, root, root)
|
2007-01-10 01:56:10 +01:00
|
|
|
%{_libdir}/libotf.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2010-12-05 19:59:29 +01:00
|
|
|
%{_includedir}/*
|
2007-01-10 01:56:10 +01:00
|
|
|
%{_libdir}/libotf.so
|
|
|
|
%{_libdir}/pkgconfig/libotf.pc
|
|
|
|
|
2007-08-02 18:44:23 +02:00
|
|
|
%changelog
|