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:23:31 +05:30
parent b6ff32ee86
commit 3384cdfeef

View File

@ -1,17 +1,16 @@
Name: hunspell-csb
Summary: Kashubian hunspell dictionaries
%define upstreamid 20050311
%global upstreamid 20050311
Version: 0.%{upstreamid}
Release: 13%{?dist}
Group: Applications/Text
Release: 14%{?dist}
Source: http://ftp.gnu.org/gnu/aspell/dict/csb/aspell6-csb-0.02-0.tar.bz2
URL: http://borel.slu.edu/crubadan/apps.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
BuildRequires: aspell, hunspell-devel
Requires: hunspell
Supplements: (hunspell and langpacks-csb)
%description
Kashubian hunspell dictionaries.
@ -35,19 +34,19 @@ for i in Copyright doc/Crawler.txt; do
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING Copyright README doc/Crawler.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20050311-14
- 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.20050311-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild