Commit 8973bc82 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add hyphen and use it in webkit

parent 1d79c254
......@@ -45,6 +45,7 @@ Requires: dbus-glib
Requires: dconf
Requires: dejavu-fonts
Requires: enchant
Requires: hyphen
Requires: gjs
Requires: gnome-themes-standard
Requires: gsettings-desktop-schemas
......@@ -31,6 +31,7 @@ Requires: gsettings-desktop-schemas-dev
Requires: gtk2-dev
Requires: gtk3-dev
Requires: gvfs-dev
Requires: hyphen-dev
Requires: libappstream-glib-dev
Requires: libcroco-dev
Requires: libnotify-dev
Name: hyphen
Summary: A text hyphenation library
Version: 2.8.8
Release: 1%{?dist}
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2 or LGPLv2+ or MPLv1.1
BuildRequires: freedesktop-sdk-base
Hyphen is a library for high quality hyphenation and justification.
%package dev
Requires: hyphen = %{version}-%{release}
Summary: Files for developing with hyphen
Group: Development/Libraries
%description dev
Includes and definitions for developing with hyphen
%package en
Requires: hyphen
Summary: English hyphenation rules
Group: Applications/Text
BuildArch: noarch
%description en
English hyphenation rules.
%setup -q
%configure --disable-static
make %{?_smp_mflags}
make check
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
en_US_aliases="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_MW en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZM en_ZW"
for lang in $en_US_aliases; do
ln -s hyph_en_US.dic hyph_$lang.dic
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO
%dir %{_datadir}/hyphen
%files en
%files dev
* Fri Sep 11 2015 Alexander Larsson <> - 2.8.8-1
- Initial version
......@@ -38,6 +38,7 @@ BuildRequires: libwayland-client-dev
BuildRequires: libwayland-cursor-dev
BuildRequires: libwayland-server-dev
BuildRequires: libnotify-dev
BuildRequires: hyphen-dev
# Filter out provides for private libraries
%global __provides_exclude_from ^%{_libdir}/webkit2gtk-4\\.0/.*\\.so$
......@@ -90,7 +91,6 @@ CXXFLAGS="${CFLAGS}" ; export CXXFLAGS ; \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment