Update to new upstream archive

This commit is contained in:
Parag Nemade 2018-07-07 10:21:32 +05:30
parent 9f0ee9e3f2
commit e524ee6884
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
3 changed files with 18 additions and 8 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
hunspell-mi-0.1.20080630-beta.tar.gz
/mi_NZ.zip

View File

@ -2,9 +2,9 @@ Name: hunspell-mi
Summary: Maori hunspell dictionaries
%global upstreamid 20080630
Version: 0.%{upstreamid}
Release: 15%{?dist}
Source: http://packages.papakupu.maori.nz/hunspell/hunspell-mi-0.1.%{upstreamid}-beta.tar.gz
URL: http://papakupu.maori.nz/
Release: 16%{?dist}
Source: http://download.services.openoffice.org/contrib/dictionaries/mi_NZ.zip
URL: https://wiki.openoffice.org/wiki/Dictionaries
License: GPLv3+
BuildArch: noarch
@ -15,21 +15,30 @@ Supplements: (hunspell and langpacks-mi)
Maori hunspell dictionaries.
%prep
%setup -q -c -n hunspell-mi-%{version}
%autosetup -c -n hunspell-mi-%{version}
%build
for i in README_mi_NZ.txt; do
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p mi.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.aff
cp -p mi.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.dic
cp -p mi_NZ.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.aff
cp -p mi_NZ.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.dic
%files
%doc mi.AUTHORS mi.LICENSE mi.README
%doc README_mi_NZ.txt
%license LICENSE_mi_NZ.txt
%{_datadir}/myspell/*
%changelog
* Sat Jul 07 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 0.20080630-16
- Update to new upstream archive
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20080630-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
81bdb8563e1890466da842fe5e17d9cd hunspell-mi-0.1.20080630-beta.tar.gz
SHA512 (mi_NZ.zip) = 7f15ed0a5cd3ee383d7cf1da6bb87855cfefeb913c6113a3ad4271aaa94548476a25e68cfd00ebcfb561ca67271545ce3161857627578b8a5f5f57158d2950da