commit da4bbcaa243c5d0f63b7feb910d3c35b54f066b5 Author: Adrian Schröter Date: Wed Jun 7 07:56:44 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 hyphen revision 5fef8b9f093bf0a9d7b0e48c8a4331bf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..706ab2d --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libhyphen0 diff --git a/hyphen-2.8.8.tar.gz b/hyphen-2.8.8.tar.gz new file mode 100644 index 0000000..e932e32 --- /dev/null +++ b/hyphen-2.8.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:304636d4eccd81a14b6914d07b84c79ebb815288c76fe027b9ebff6ff24d5705 +size 638369 diff --git a/hyphen.changes b/hyphen.changes new file mode 100644 index 0000000..b5bb74a --- /dev/null +++ b/hyphen.changes @@ -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. + diff --git a/hyphen.spec b/hyphen.spec new file mode 100644 index 0000000..3123781 --- /dev/null +++ b/hyphen.spec @@ -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