From aa7abefa948ee00779118a3323b383e1305d2c8d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:36:22 +0100 Subject: [PATCH] automatic version update by autodist [release 2.8.6-1mamba;Sat Dec 01 2012] --- README.md | 2 + libhyphen.spec | 125 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 libhyphen.spec diff --git a/README.md b/README.md index 85c5bfc..e1a0b82 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libhyphen +libhyphen is a library for high quality hyphenation and justification. + diff --git a/libhyphen.spec b/libhyphen.spec new file mode 100644 index 0000000..bbdfeea --- /dev/null +++ b/libhyphen.spec @@ -0,0 +1,125 @@ +Name: libhyphen +Version: 2.8.6 +Release: 1mamba +Summary: A text hyphenation library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://hunspell.sf.net +Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz +License: LGPL, MPL 1.1 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{name} is a library for high quality hyphenation and justification. + +%package devel +Group: Development/Libraries +Summary: Libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +%{name} is a library for high quality hyphenation and justification. + +This package contains libraries and header files need for development. + +%package static +Group: Development/Libraries +Summary: Static libraries for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description static +%{name} is a library for high quality hyphenation and justification. + +This package contains static libraries need for development. + +%package -n hyphen-en +Summary: English hyphenation rules +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-en +Provides: %{name}-en + +%description -n hyphen-en +%{name} is a library for high quality hyphenation and justification. + +English hyphenation rules. + + +%prep + +%setup -q -n hyphen-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +pushd %{buildroot}%{_datadir}/hyphen/ + for lang in en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW ; do + ln -s hyph_en_US.dic hyph_$lang.dic + done +popd + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%doc AUTHORS COPYING ChangeLog NEWS README README.compound README.hyphen +%doc README.nonstandard THANKS TODO + +%files devel +%defattr(-,root,root) +%dir %{_includedir} +%{_includedir}/*.h +%{_libdir}/*.so +%{_bindir}/substrings.pl + +%files static +%defattr(-,root,root) +%{_libdir}/*.a +%{_libdir}/*.la + +%files -n hyphen-en +%defattr(-,root,root) +%dir %{_datadir}/hyphen +%{_datadir}/hyphen/hyph_en_*.dic + +%changelog +* Sat Dec 01 2012 Automatic Build System 2.8.6-1mamba +- automatic version update by autodist + +* Wed Oct 12 2011 Silvan Calarco 2.7.1-3mamba +- rebuilt in devel + +* Sun Jan 30 2011 gil 2.7.1-2mamba +- Obsoletes libhyphem-en, renamed hyphem-en. changed group +- add (symlink) language support for: +- English Antigua and Barbuda (en_AG) +- English Botswana (en_BW) +- English Denmark (en_DK) +- English Ghana (en_GH) +- English (Hong Kong SAR China) (en-HK) +- English (Singapore) (en-SG) +- English (South Africa) (en_ZA) + +* Fri Dec 03 2010 Automatic Build System 2.7.1-1mamba +- automatic update by autodist + +* Sat Aug 14 2010 Automatic Build System 2.6-1mamba +- automatic update by autodist + +* Mon Nov 10 2008 gil 2.4-1mamba +- package created by autospec