47 lines
1.1 KiB
RPMSpec
47 lines
1.1 KiB
RPMSpec
|
Name: hyphen-tk
|
||
|
Summary: Turkmen hyphenation rules
|
||
|
%define upstreamid 20100315
|
||
|
Version: 0.%{upstreamid}
|
||
|
Release: 1%{?dist}
|
||
|
Source: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/hyph-tk.tex
|
||
|
Group: Applications/Text
|
||
|
URL: http://tug.org/tex-hyphen
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
License: LPPL
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: hyphen-devel
|
||
|
Requires: hyphen
|
||
|
Patch0: hyphen-tk-cleantex.patch
|
||
|
|
||
|
%description
|
||
|
Turkmen hyphenation rules.
|
||
|
|
||
|
%prep
|
||
|
%setup -T -q -c -n hyphen-tk
|
||
|
cp -p %{SOURCE0} .
|
||
|
%patch0 -p0 -b .clean
|
||
|
|
||
|
%build
|
||
|
substrings.pl hyph-tk.tex hyph_tk_TM.dic UTF-8
|
||
|
echo "Created with substring.pl by substrings.pl hyph-tk.tex hyph_tk_TM.dic UTF-8" > README
|
||
|
echo "Original in-line credits were:" >> README
|
||
|
echo "" >> README
|
||
|
head -n 13 hyph-tk.tex >> README
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||
|
cp -p hyph_tk_TM.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc README
|
||
|
%{_datadir}/hyphen/hyph_tk_TM.dic
|
||
|
|
||
|
%changelog
|
||
|
* Tue Mar 16 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100315-1
|
||
|
- initial version
|