Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
This commit is contained in:
parent
ad5d54dac8
commit
7355fa096e
@ -1,15 +1,14 @@
|
||||
Name: hunspell-sv
|
||||
Summary: Swedish hunspell dictionaries
|
||||
Version: 2.28
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Source: http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/2.28/ooo_swedish_dict_2-28.oxt
|
||||
Group: Applications/Text
|
||||
URL: http://dsso.se/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: LGPLv3
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell
|
||||
Supplements: (hunspell and langpacks-sv)
|
||||
|
||||
%description
|
||||
Swedish hunspell dictionaries.
|
||||
@ -22,20 +21,20 @@ sed -i 's/\r$//' LICENSE_sv_SE.txt
|
||||
sed -i 's/\r$//' LICENSE_en_US.txt
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p dictionaries/*.dic dictionaries/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE_sv_SE.txt LICENSE_en_US.txt
|
||||
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.28-5
|
||||
- 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> - 2.28-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user