hyphen-tk/hyphen-tk.spec

56 lines
1.5 KiB
RPMSpec
Raw Normal View History

2010-04-03 19:21:41 +00:00
Name: hyphen-tk
Summary: Turkmen hyphenation rules
2010-06-01 15:19:55 +00:00
%define upstreamid 20100531
2010-04-03 19:21:41 +00:00
Version: 0.%{upstreamid}
Release: 2%{?dist}
2010-06-01 15:19:55 +00:00
Source: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-tk.tex
2010-04-03 19:21:41 +00:00
Group: Applications/Text
URL: http://tug.org/tex-hyphen
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2010-04-03 19:29:48 +00:00
License: Public Domain
2010-04-03 19:21:41 +00:00
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
2010-04-03 19:29:48 +00:00
head -n 15 hyph-tk.tex >> README
2010-04-03 19:21:41 +00:00
%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
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100531-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-06-01 15:19:55 +00:00
* Tue Jun 01 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100531-1
- latest version
2010-04-03 19:29:48 +00:00
* Sat Apr 03 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100319-1
- latest version
2010-04-03 19:21:41 +00:00
* Tue Mar 16 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100315-1
- initial version