some more spec foo
This commit is contained in:
parent
1fb5fb79e6
commit
3c2b7a21ad
@ -2,15 +2,14 @@ Name: hunspell-en
|
|||||||
Summary: English hunspell dictionaries
|
Summary: English hunspell dictionaries
|
||||||
%define upstreamid 20040623
|
%define upstreamid 20040623
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 2
|
Release: 1%{?dist}
|
||||||
Source0: en_US.zip
|
Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_US.zip
|
||||||
Source1: en_GB.zip
|
Source1: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_GB.zip
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
|
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
License: LGPL
|
License: LGPL
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: unzip
|
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell
|
||||||
|
|
||||||
@ -18,14 +17,14 @@ Requires: hunspell
|
|||||||
English (US, UK, etc.) hunspell dictionaries
|
English (US, UK, etc.) hunspell dictionaries
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c -n hunspell-en
|
%setup -q -c -n hunspell-en
|
||||||
unzip %{SOURCE1}
|
unzip %{SOURCE1}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||||
chmod -x *
|
chmod -x *
|
||||||
cp *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||||
|
|
||||||
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||||
en_GB_aliases="en_AU en_BS en_BZ en_CA en_IE en_IN en_JM en_NA en_NZ en_TT en_ZA en_ZW"
|
en_GB_aliases="en_AU en_BS en_BZ en_CA en_IE en_IN en_JM en_NA en_NZ en_TT en_ZA en_ZW"
|
||||||
|
Loading…
Reference in New Issue
Block a user