2009-06-15 20:06:09 +00:00
|
|
|
Name: hyphen-eu
|
|
|
|
Summary: Basque hyphenation rules
|
2010-06-01 15:27:08 +00:00
|
|
|
%define upstreamid 20100531
|
2009-06-15 20:06:09 +00:00
|
|
|
Version: 0.%{upstreamid}
|
2010-06-01 15:27:08 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Source: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex
|
2009-06-15 20:06:09 +00:00
|
|
|
Group: Applications/Text
|
|
|
|
URL: http://tp.lc.ehu.es/jma/basque.html
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
License: LPPL
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: hyphen-devel
|
|
|
|
Requires: hyphen
|
|
|
|
Patch0: hyphen-eu-cleantex.patch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Basque hyphenation rules.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -T -q -c -n hyphen-eu
|
|
|
|
cp -p %{SOURCE0} .
|
|
|
|
%patch0 -p0 -b .clean
|
|
|
|
|
|
|
|
%build
|
|
|
|
grep -v "^%" hyph-eu.tex | tr ' ' '\n' > temp.tex
|
|
|
|
substrings.pl temp.tex hyph_eu_ES.dic ISO8859-1
|
|
|
|
echo "Created with substring.pl by substrings.pl hyph-eu.tex hyph_eu_ES.dic ISO8859-1" > README
|
|
|
|
echo "---" >> README
|
|
|
|
head -n 34 hyph-eu.tex >> README
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
|
|
cp -p hyph_eu_ES.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README
|
|
|
|
%{_datadir}/hyphen/*
|
|
|
|
|
|
|
|
%changelog
|
2010-06-01 15:27:08 +00:00
|
|
|
* Tue Jun 01 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100531-1
|
|
|
|
- latest version
|
|
|
|
|
2009-07-25 02:49:54 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080628-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2010-06-01 15:27:08 +00:00
|
|
|
* Sat Jun 13 2009 Caolán McNamara <caolanm@redhat.com> - 0.20080628-1
|
2009-06-15 20:06:09 +00:00
|
|
|
- initial version
|