40 lines
845 B
RPMSpec
40 lines
845 B
RPMSpec
|
Name: hyphen-id
|
||
|
Summary: Indonesian hyphenation rules
|
||
|
%define upstreamid 20040812
|
||
|
Version: 0.%{upstreamid}
|
||
|
Release: 1%{?dist}
|
||
|
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_id_ID.zip
|
||
|
Group: Applications/Text
|
||
|
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
License: GPL+
|
||
|
BuildArch: noarch
|
||
|
|
||
|
Requires: hyphen
|
||
|
|
||
|
%description
|
||
|
Indonesian hyphenation rules.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -c
|
||
|
|
||
|
%build
|
||
|
chmod -x *
|
||
|
|
||
|
%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_id_ID.txt
|
||
|
%{_datadir}/hyphen/*
|
||
|
|
||
|
%changelog
|
||
|
* Wed Jan 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.20040812-1
|
||
|
- initial version
|