Update Source tag

License is still same GPLv3+ based on old archive
This commit is contained in:
Parag Nemade 2018-07-09 11:53:05 +05:30
parent f84c86d5bc
commit 9a65388021
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
3 changed files with 17 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
zulu__south_africa__dictionary-20100125-fx+tb.xpi zulu__south_africa__dictionary-20100125-fx+tb.xpi
/dict-zu_za-2010.01.26.oxt

View File

@ -2,9 +2,12 @@ Name: hunspell-zu
Summary: Zulu hunspell dictionaries Summary: Zulu hunspell dictionaries
%global upstreamid 20100126 %global upstreamid 20100126
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 15%{?dist} Release: 16%{?dist}
Source: http://releases.mozilla.org/pub/mozilla.org/addons/46490/zulu__south_africa__dictionary-20100125-fx+tb.xpi Source: https://downloads.sourceforge.net/project/aoo-extensions/3132/3/dict-zu_za-2010.01.26.oxt
URL: http://www.translate.org.za/ URL: https://extensions.openoffice.org/en/project/zulu-spell-checker
# There is no License information in this new sourceforge Source: archive
# Based on old gone upstream archive, Let's keep GPLv3+ license
# old and new archive .dic and .aff contents are same
License: GPLv3+ License: GPLv3+
BuildArch: noarch BuildArch: noarch
@ -15,10 +18,10 @@ Supplements: (hunspell and langpacks-zu)
Zulu hunspell dictionaries. Zulu hunspell dictionaries.
%prep %prep
%setup -q -c %autosetup -c
%build %build
for i in README-zu-ZA.txt; do for i in README-zu_ZA.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
touch -r $i $i.new touch -r $i $i.new
@ -31,16 +34,19 @@ done
%install %install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p dictionaries/zu-ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.aff cp -p zu_ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.aff
cp -p dictionaries/zu-ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.dic cp -p zu_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.dic
%files %files
%doc README-zu-ZA.txt %doc README-zu_ZA.txt
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Mon Jul 09 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 0.20100126-16
- Update Source tag
- License is still same GPLv3+ based on old archive
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20100126-15 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20100126-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
c41f0b678c323407157e4eccc2f8527c zulu__south_africa__dictionary-20100125-fx+tb.xpi SHA512 (dict-zu_za-2010.01.26.oxt) = 0eeafbcfff3459ec65d0fcd3b845d0cf7b1deecc1ce1364fb45cab092b17986971a3518190355e6ce863514df4bf822804cd9006fd40c0bd03eb5ad6129c3b8e