Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:B
enchant
enchant.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File enchant.spec of Package enchant
# # spec file for package enchant # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: enchant Version: 1.6.0 Release: 0 Summary: Generic Spell Checking Library License: LGPL-2.1+ Group: Productivity/Text/Spell Url: http://www.abisource.com/ Source: http://www.abisource.com/downloads/%{name}/%{version}/%{name}-%{version}.tar.gz Source1: baselibs.conf # PATCH-FIX-UPSTREAM enchant-hunspell-1.4.0.patch dimstar@opensuse.org -- Fix build against hunspell 1.4.0, where WORDMAXLEN is no longer exported Patch0: enchant-hunspell-1.4.0.patch BuildRequires: dbus-1-glib-devel BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: hunspell-devel BuildRequires: libvoikko-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library providing an efficient extensible abstraction for dealing with different spell checking libraries. %package tools Summary: Generic Spell Checking Library - Command Line Tools Group: Productivity/Text/Spell %description tools A library providing an efficient extensible abstraction for dealing with different spell checking libraries. This package provides command-line tools to interact with enchant. %package voikko 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 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: Recommends: zemberek-server Supplements: packageand(libenchant1: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. %package -n libenchant1 Summary: Generic Spell Checking Library Group: System/Libraries Provides: %{name} = %{version} Obsoletes: %{name} < %{version} %description -n libenchant1 A library providing an efficient extensible abstraction for dealing with different spell checking libraries. %package devel Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: glib2-devel Requires: libstdc++-devel %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %prep %setup -q %patch0 -p1 %build %configure --with-pic \ --disable-static \ --enable-zemberek \ --with-myspell-dir=%{_datadir}/myspell make %{?_smp_mflags} %install %makeinstall %if %suse_version > 1110 find %{buildroot} -type f -name "*.la" -delete -print %endif %post -n libenchant1 -p /sbin/ldconfig %postun -n libenchant1 -p /sbin/ldconfig %files tools %defattr(-,root,root) %{_bindir}/enchant %{_bindir}/enchant-lsmod %doc %{_mandir}/man1/enchant.1* %files voikko %defattr(-,root,root) %{_libdir}/enchant/libenchant_voikko.so %files zemberek %defattr(-,root,root) %{_libdir}/enchant/libenchant_zemberek.so %files -n libenchant1 %defattr(-,root,root) # AUTHORS == MAINTAINERS in 1.3.0, TODO is 1 byte, BUGS has nothing interesting %doc AUTHORS COPYING.LIB ChangeLog NEWS README %{_libdir}/*.so.* # The directories are not versioned, unfortunately. Not good for the SLPP. %{_datadir}/enchant %dir %{_libdir}/enchant %{_libdir}/enchant/libenchant_ispell.so %{_libdir}/enchant/libenchant_myspell.so %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %if %suse_version <= 1110 %{_libdir}/*.*a %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor