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:22:27 +05:30
parent f719d4b22c
commit 1daf4b7270

View File

@ -1,17 +1,16 @@
Name: hunspell-az
Summary: Azerbaijani hunspell dictionaries
%define upstreamid 20040827
%global upstreamid 20040827
Version: 0.%{upstreamid}
Release: 13%{?dist}
Group: Applications/Text
Release: 14%{?dist}
Source: ftp://ftp.gnu.org/gnu/aspell/dict/az/aspell6-az-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-az)
%description
Azerbaijani 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.20040827-14
- Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040827-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild