2007-01-10 16:39:32 +00:00
|
|
|
#
|
2010-04-02 22:10:15 +00:00
|
|
|
# spec file for package enchant (Version 1.6.0)
|
2007-01-10 16:39:32 +00:00
|
|
|
#
|
2010-04-02 22:10:15 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 16:39:32 +00:00
|
|
|
#
|
2009-03-17 16:02:30 +00: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 16:39:32 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-05-17 00:14:42 +00:00
|
|
|
|
2007-01-10 16:39:32 +00:00
|
|
|
Name: enchant
|
2010-04-02 22:10:15 +00:00
|
|
|
Version: 1.6.0
|
2010-06-07 09:23:09 +00:00
|
|
|
Release: 1
|
2010-04-02 22:10:15 +00:00
|
|
|
License: LGPLv2.1+
|
2008-08-02 00:59:25 +00:00
|
|
|
Summary: Generic Spell Checking Library
|
2010-04-02 22:10:15 +00:00
|
|
|
Group: Productivity/Text/Spell
|
2007-10-19 02:29:34 +00:00
|
|
|
Url: http://www.abisource.com/
|
2010-04-02 22:10:15 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: aspell-devel
|
|
|
|
BuildRequires: dbus-1-glib-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
BuildRequires: libvoikko-devel
|
2007-01-10 16:39:32 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2008-08-02 00:59:25 +00:00
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
|
|
|
|
|
|
|
%package voikko
|
2010-04-02 22:10:15 +00:00
|
|
|
License: LGPLv2.1+
|
2008-08-02 00:59:25 +00:00
|
|
|
Summary: Generic Spell Checking Library - Voikko Plugin
|
|
|
|
Group: Productivity/Text/Spell
|
|
|
|
Provides: locale(%{name}:fi)
|
|
|
|
|
|
|
|
%description voikko
|
|
|
|
Voikko plugin (Finnish) for enchant, a library providing an efficient
|
|
|
|
extensible abstraction for dealing with different spell checking
|
|
|
|
libraries.
|
|
|
|
|
|
|
|
%package zemberek
|
2010-04-02 22:10:15 +00:00
|
|
|
License: LGPLv2.1+
|
2008-08-02 00:59:25 +00:00
|
|
|
Summary: Generic Spell Checking Library - Zemberek Plugin
|
|
|
|
Group: Productivity/Text/Spell
|
|
|
|
Provides: locale(%{name}:az)
|
|
|
|
Provides: locale(%{name}:tk)
|
|
|
|
Provides: locale(%{name}:tr)
|
|
|
|
Provides: locale(%{name}:tt)
|
|
|
|
# Only zemberek-server over D-Bus is supported. Server must be installed locally:
|
|
|
|
Requires: zemberek-server
|
|
|
|
|
|
|
|
%description zemberek
|
|
|
|
Zemberek plugin (Azeri, Turkmen, Turkish, Tatar) for enchant, a library
|
|
|
|
providing an efficient extensible abstraction for dealing with
|
|
|
|
different spell checking libraries.
|
2007-01-10 16:39:32 +00:00
|
|
|
|
2007-10-19 02:29:34 +00:00
|
|
|
%package -n libenchant1
|
2010-04-02 22:10:15 +00:00
|
|
|
License: LGPLv2.1+
|
2008-08-02 00:59:25 +00:00
|
|
|
Summary: Generic Spell Checking Library
|
2007-10-19 02:29:34 +00:00
|
|
|
Group: System/Libraries
|
2009-03-17 16:02:30 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-10-19 02:29:34 +00:00
|
|
|
|
|
|
|
%description -n libenchant1
|
2008-08-02 00:59:25 +00:00
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
2007-10-19 02:29:34 +00:00
|
|
|
|
2007-01-10 16:39:32 +00:00
|
|
|
%package devel
|
2010-04-02 22:10:15 +00:00
|
|
|
License: LGPLv2.1+
|
2008-05-17 00:14:42 +00:00
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
2007-10-19 02:29:34 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2009-03-17 16:02:30 +00:00
|
|
|
Requires: %{name} = %{version} glib2-devel libstdc++-devel
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-03-17 16:02:30 +00:00
|
|
|
%configure --with-pic \
|
2010-04-02 22:10:15 +00:00
|
|
|
--disable-static \
|
|
|
|
--enable-zemberek
|
2007-01-10 16:39:32 +00:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
2009-05-24 22:30:51 +00:00
|
|
|
%makeinstall
|
2009-03-26 22:32:51 +00:00
|
|
|
%if %suse_version > 1110
|
2010-04-02 22:10:15 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2009-03-26 22:32:51 +00:00
|
|
|
%endif
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%clean
|
2010-04-02 22:10:15 +00:00
|
|
|
rm -rf %{buildroot}
|
2007-01-10 16:39:32 +00:00
|
|
|
|
2008-05-17 00:14:42 +00:00
|
|
|
%post -n libenchant1 -p /sbin/ldconfig
|
2007-01-10 16:39:32 +00:00
|
|
|
|
2008-05-17 00:14:42 +00:00
|
|
|
%postun -n libenchant1 -p /sbin/ldconfig
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-05-17 00:14:42 +00:00
|
|
|
# AUTHORS == MAINTAINERS in 1.3.0, TODO is 1 byte, BUGS has nothing interesting
|
|
|
|
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
|
2007-01-10 16:39:32 +00:00
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/enchant
|
2010-04-02 22:10:15 +00:00
|
|
|
%dir %{_libdir}/enchant
|
|
|
|
%{_libdir}/enchant/libenchant_aspell.so
|
|
|
|
%{_libdir}/enchant/libenchant_ispell.so
|
|
|
|
%{_libdir}/enchant/libenchant_myspell.so
|
2007-01-10 16:39:32 +00:00
|
|
|
%doc %{_mandir}/man?/*.*
|
2007-10-19 02:29:34 +00:00
|
|
|
|
2008-08-02 00:59:25 +00:00
|
|
|
%files voikko
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/enchant/libenchant_voikko.so
|
|
|
|
|
|
|
|
%files zemberek
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/enchant/libenchant_zemberek.so
|
|
|
|
|
2007-10-19 02:29:34 +00:00
|
|
|
%files -n libenchant1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2009-03-26 22:32:51 +00:00
|
|
|
%if %suse_version <= 1110
|
|
|
|
%{_libdir}/*.*a
|
|
|
|
%endif
|
2008-05-17 00:14:42 +00:00
|
|
|
|
2007-10-19 02:29:34 +00:00
|
|
|
%changelog
|