remove obsolete cruft

This commit is contained in:
David Tardon 2012-07-28 07:54:50 +02:00
parent 9a11578742
commit 1e8bc9dbd1

View File

@ -6,12 +6,10 @@ License: GPL+
Group: Applications/Productivity
URL: ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/Czech/spell_checking/
Source0: openoffice.org-dict-cs_CZ.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%define hunspelldir %{_datadir}/myspell
%define hyphendir %{_datadir}/hyphen
%define debug_package %{nil}
%description
This package contains the czech hyphenation dictionaries for the Openoffice.org
@ -43,23 +41,16 @@ iconv -f ISO-8859-2 -t UTF-8 README_hyph_cs_CZ.txt > README_hyph_cs_CZ.txt.new
mv -f README_hyph_cs_CZ.txt.new README_hyph_cs_CZ.txt
%install
%{__rm} -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{hunspelldir}
install -m 644 cs* $RPM_BUILD_ROOT%{hunspelldir}
mkdir -p $RPM_BUILD_ROOT%{hyphendir}
install -m 644 hyph*.dic $RPM_BUILD_ROOT%{hyphendir}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -n hyphen-cs
%defattr(-,root,root)
%doc README_hyph_cs_CZ.txt
%{hyphendir}/hyph_cs*
%files -n hunspell-cs
%defattr(-,root,root)
%doc README_cs_CZ.txt
%{hunspelldir}/cs*