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:26:36 +05:30
parent c0eb4490b1
commit bd92f29492

View File

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