Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
This commit is contained in:
parent
2bd8c34e43
commit
c0c6ad07a1
@ -1,18 +1,17 @@
|
||||
Name: hunspell-pt
|
||||
Summary: Portuguese hunspell dictionaries
|
||||
%define upstreamid 20130125
|
||||
%global upstreamid 20130125
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Source0: http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20130125.tar.gz
|
||||
Source1: http://pt-br.libreoffice.org/assets/ptBR20130317AOC.zip
|
||||
Group: Applications/Text
|
||||
URL: http://www.broffice.org/verortografico/baixar
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
# pt_BR dicts are under LGPLv3 or MPL, pt_PT under GPLv2 or LGPLv2 or MPLv1.1
|
||||
License: ((LGPLv3 or MPL) and LGPLv2) and (GPLv2 or LGPLv2 or MPLv1.1)
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell
|
||||
Supplements: (hunspell and langpacks-pt)
|
||||
|
||||
%description
|
||||
Portuguese hunspell dictionaries.
|
||||
@ -34,7 +33,6 @@ done
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p pt*.dic pt*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
|
||||
@ -46,15 +44,16 @@ for lang in $pt_PT_aliases; do
|
||||
done
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_pt_BR.txt README_pt_PT.txt COPYING
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20130125-6
|
||||
- Add Supplements: tag for langpacks naming guidelines
|
||||
- Clean the specfile to follow current packaging guidelines
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20130125-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user