hyphen-lt/hyphen-lt.spec

62 lines
1.8 KiB
RPMSpec
Raw Normal View History

2007-11-26 20:24:00 +00:00
Name: hyphen-lt
Summary: Lithuanian hyphenation rules
2010-06-01 15:32:22 +00:00
%define upstreamid 20100531
2007-11-26 20:24:00 +00:00
Version: 0.%{upstreamid}
Release: 2%{?dist}
2010-06-01 15:32:22 +00:00
Source: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-lt.tex
2007-11-26 20:24:00 +00:00
Group: Applications/Text
2010-02-08 08:56:35 +00:00
URL: http://tug.org/tex-hyphen
2007-11-26 20:24:00 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LPPL
BuildArch: noarch
2010-02-08 08:56:35 +00:00
BuildRequires: hyphen-devel
2007-11-26 20:24:00 +00:00
Requires: hyphen
2010-02-08 08:56:35 +00:00
Patch0: hyphen-lt-cleantex.patch
2007-11-26 20:24:00 +00:00
%description
Lithuanian hyphenation rules.
%prep
2010-02-08 08:56:35 +00:00
%setup -T -q -c -n hyphen-lt
cp -p %{SOURCE0} .
%patch0 -p0 -b .clean
2007-11-26 20:24:00 +00:00
%build
2010-02-08 08:56:35 +00:00
substrings.pl hyph-lt.tex hyph_lt_LT.dic UTF-8
echo "Created with substring.pl by substrings.pl hyph-lt.tex hyph_lt_LT.dic UTF-8" > README
echo "Original in-line credits were:" >> README
echo "" >> README
head -n 45 hyph-lt.tex >> README
2007-11-26 20:24:00 +00:00
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_lt_LT.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
2010-02-08 08:56:35 +00:00
%doc README
2007-11-26 20:24:00 +00:00
%{_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:32:22 +00:00
* Tue Jun 01 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100531-1
- latest version
* Mon Feb 08 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100203-1
2010-02-08 08:56:35 +00:00
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040110-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040110-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2010-06-01 15:32:22 +00:00
* Fri Nov 23 2007 Caolán McNamara <caolanm@redhat.com> - 0.20040110-1
2007-11-26 20:24:00 +00:00
- initial version