diff --git a/.cvsignore b/.cvsignore index e69de29..b9e21b5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +hyph_ru_RU.zip diff --git a/hyphen-ru.spec b/hyphen-ru.spec new file mode 100644 index 0000000..7d5a627 --- /dev/null +++ b/hyphen-ru.spec @@ -0,0 +1,38 @@ +Name: hyphen-ru +Summary: Russian hyphenation rules +%define upstreamid 20020727 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_ru_RU.zip +Group: Applications/Text +URL: http://wiki.services.openoffice.org/wiki/Dictionaries +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: LGPLv2+ +BuildArch: noarch +Requires: hyphen + +%description +Russian hyphenation rules. + +%prep +%setup -q -c -n hyphen-ru + +%build +chmod -x * + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p hyph_ru_RU.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README_hyph_ru_RU.txt +%{_datadir}/hyphen/* + +%changelog +* Fri Nov 23 2007 Caolan McNamara - 0.20020727-1 +- initial version diff --git a/sources b/sources index e69de29..b2c052e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f8a8b8a368bc7394b5a4060082c44bb4 hyph_ru_RU.zip