Sync from SUSE:SLFO:Main hyphen revision 5fef8b9f093bf0a9d7b0e48c8a4331bf

This commit is contained in:
Adrian Schröter 2024-05-03 13:38:27 +02:00
commit c082336df9
5 changed files with 151 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libhyphen0

BIN
hyphen-2.8.8.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

35
hyphen.changes Normal file
View File

@ -0,0 +1,35 @@
-------------------------------------------------------------------
Thu Jan 28 13:56:36 UTC 2016 - zaitor@opensuse.org
- Add baselibs.conf as source, in order to build libhyphen0 32-bit
compatability lib.
-------------------------------------------------------------------
Tue Dec 30 17:06:42 UTC 2014 - p.drouand@gmail.com
- Update to version 2.8.8
+ remove last coverity warning, 0 remaining
- Changes from version 2.8.7
+ various clang scan-build warning fixes
-------------------------------------------------------------------
Wed Apr 23 08:36:27 UTC 2014 - tchvatal@suse.com
- Do not provide english hyphen. It is provided by myspell-docs
package.
-------------------------------------------------------------------
Sat Jan 25 21:31:45 UTC 2014 - tchvatal@suse.com
- Format with spec-cleaner
-------------------------------------------------------------------
Mon Dec 17 15:52:39 UTC 2012 - tchvatal@suse.com
- Update wrt missing dir spec.
-------------------------------------------------------------------
Mon Dec 17 15:32:35 UTC 2012 - tchvatal@suse.com
- Initial commit, version 2.8.6.

89
hyphen.spec Normal file
View File

@ -0,0 +1,89 @@
#
# spec file for package hyphen
#
# Copyright (c) 2014 SUSE LINUX Products 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/
#
%define libname libhyphen0
Name: hyphen
Version: 2.8.8
Release: 0
Summary: A text hyphenation library
License: GPL-2.0+ or LGPL-2.0+ or MPL-1.1+
Group: System/Libraries
Url: http://hunspell.sourceforge.net/
Source0: http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: gcc-c++
BuildRequires: hunspell-devel
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Hyphen is a library for high quality hyphenation and justification.
%package -n %{libname}
Summary: A simple thesaurus for Libreoffice
Group: System/Libraries
%description -n %{libname}
Hyphen is a library for high quality hyphenation and justification.
%package devel
Summary: Files for Developing with %{name}
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
%description devel
Hyphen is a library for high quality hyphenation and justification.
This package contains the %{name} development files.
%prep
%setup -q
%build
%configure \
--disable-static
make %{?_smp_mflags} V=1
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
# Provided by myspell-dicts package
rm %{buildroot}%{_datadir}/hyphen/hyph_en_US.dic
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO
%dir %{_datadir}/hyphen
%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/%{name}*
%{_bindir}/substrings.pl
%changelog