hyphen-mn/hyphen-mn.spec

62 lines
1.8 KiB
RPMSpec
Raw Normal View History

2009-03-17 10:04:33 +00:00
Name: hyphen-mn
Summary: Mongolian hyphenation rules
2010-06-01 15:21:26 +00:00
%define upstreamid 20100531
2009-03-17 10:04:33 +00:00
Version: 0.%{upstreamid}
Release: 2%{?dist}
2010-06-01 15:21:26 +00:00
Source: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-mn-cyrl.tex
2009-03-17 10:04:33 +00:00
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
2010-04-11 17:54:56 +00:00
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
2009-03-17 10:04:33 +00:00
%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
* 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:21:26 +00:00
* Tue Jun 01 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100531-1
- latest version
2010-04-11 17:54:56 +00:00
* Sun Apr 11 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100406-1
- latest version
2009-11-05 15:45:38 +00:00
* 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
2009-03-17 10:04:33 +00:00
* Mon Mar 16 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090315-1
- initial version