Add Supplements: tag for langpacks naming guidelines

- Clean the specfile to follow current packaging guidelines
This commit is contained in:
Parag Nemade 2016-02-19 23:33:16 +05:30
parent d16e69d975
commit d3967670f2

View File

@ -1,15 +1,14 @@
Name: hunspell-se Name: hunspell-se
Summary: Northern Saami hunspell dictionaries Summary: Northern Saami hunspell dictionaries
Version: 1.0 Version: 1.0
Release: 0.10.beta7%{?dist} Release: 0.11.beta7%{?dist}
Source: http://divvun.no/static_files/hunspell-se.tar.gz Source: http://divvun.no/static_files/hunspell-se.tar.gz
Group: Applications/Text
URL: http://www.divvun.no/index.html URL: http://www.divvun.no/index.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv3 License: GPLv3
BuildArch: noarch BuildArch: noarch
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-se)
%description %description
Northern Saami hunspell dictionaries. Northern Saami hunspell dictionaries.
@ -20,7 +19,6 @@ Northern Saami hunspell dictionaries.
%build %build
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p se.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/se_NO.aff cp -p se.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/se_NO.aff
cp -p se.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/se_NO.dic cp -p se.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/se_NO.dic
@ -32,15 +30,16 @@ for lang in $se_NO_aliases; do
ln -s se_NO.dic $lang.dic ln -s se_NO.dic $lang.dic
done done
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc Copyright README GPL-3 %doc Copyright README GPL-3
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 1.0-0.11.beta7
- 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> - 1.0-0.10.beta7 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.10.beta7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild