hyphen-cy/hyphen-cy.spec

60 lines
1.6 KiB
RPMSpec
Raw Normal View History

2009-06-15 20:13:47 +00:00
Name: hyphen-cy
Summary: Welsh hyphenation rules
2011-10-17 11:06:03 +00:00
%define upstreamid 20110620
2009-06-15 20:13:47 +00:00
Version: 0.%{upstreamid}
2011-10-17 11:06:03 +00:00
Release: 1%{?dist}
#? in a url causes trouble
#http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-cy.tex?view=co
Source: hyph-cy.tex
2009-06-15 20:13:47 +00:00
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-cy-cleantex.patch
%description
Welsh hyphenation rules.
%prep
%setup -T -q -c -n hyphen-cy
cp -p %{SOURCE0} .
%patch0 -p0 -b .clean
%build
substrings.pl hyph-cy.tex hyph_cy_GB.dic ISO8859-1
echo "Created with substring.pl by substrings.pl hyph-cy.tex hyph_cy_GB.dic ISO8859-1" > README
echo "---" >> README
2011-10-17 11:06:03 +00:00
head -n 25 hyph-cy.tex >> README
2009-06-15 20:13:47 +00:00
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_cy_GB.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{_datadir}/hyphen/*
%changelog
2011-10-17 11:06:03 +00:00
* Mon Oct 17 2011 Caolán McNamara <caolanm@redhat.com> - 0.20110620-1
- latest version
* 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:29:02 +00:00
* Tue Jun 01 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100531-1
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080619-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2010-06-01 15:29:02 +00:00
* Sat Jun 13 2009 Caolán McNamara <caolanm@redhat.com> - 0.20080619-1
2009-06-15 20:13:47 +00:00
- initial version