hyphen-uk/hyphen-uk.spec

39 lines
839 B
RPMSpec
Raw Normal View History

2009-01-14 09:17:19 +00:00
Name: hyphen-uk
Summary: Ukrainian hyphenation rules
%define upstreamid 20030903
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_uk_UA.zip
Group: Applications/Text
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
Requires: hyphen
%description
Ukrainian hyphenation rules.
%prep
%setup -q -c
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_hyph_uk_UA.txt
%{_datadir}/hyphen/*
%changelog
* Fri Jan 09 2009 Caolan McNamara <caolanm@redhat.com> - 0.20030903-1
- initial version