hyphen-mn/hyphen-mn.spec
2010-06-01 15:21:26 +00:00

59 lines
1.6 KiB
RPMSpec

Name: hyphen-mn
Summary: Mongolian hyphenation rules
%define upstreamid 20100531
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-mn-cyrl.tex
Group: Applications/Text
URL: http://www.ctan.org/tex-archive/help/Catalogue/entries/mnhyphn.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LPPL
BuildArch: noarch
BuildRequires: hyphen-devel
Requires: hyphen
Patch0: hyphen-mn-cleantex.patch
%description
Mongolian hyphenation rules.
%prep
%setup -T -q -c -n hyphen-mn
cp -p %{SOURCE0} .
%patch0 -p0 -b .clean
%build
substrings.pl hyph-mn-cyrl.tex hyph_mn_MN.dic UTF-8
echo "Created with substring.pl by substrings.pl hyph-mn-cyrl.tex hyph_mn_MN.dic UTF-8" > README
echo "Original in-line credits were:" >> README
echo "" >> README
head -n 83 hyph-mn-cyrl.tex >> README
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_mn_MN.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{_datadir}/hyphen/*
%changelog
* Tue Jun 01 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100531-1
- latest version
* Sun Apr 11 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100406-1
- latest version
* Thu Nov 05 2009 Caolan McNamara <caolanm@redhat.com> - 0.20091104-1
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20090315-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Mar 16 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090315-1
- initial version