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:31:36 +05:30
parent 97b2ff1c3c
commit f61017a8d9

View File

@ -2,16 +2,15 @@ Name: hunspell-ny
Summary: Chichewa hunspell dictionaries Summary: Chichewa hunspell dictionaries
Epoch: 1 Epoch: 1
Version: 0.01 Version: 0.01
Release: 9%{?dist} Release: 10%{?dist}
Group: Applications/Text
Source: http://extensions.services.openoffice.org/e-files/4052/0/hunspell-chichewa-ny-dict-%{version}.oxt Source: http://extensions.services.openoffice.org/e-files/4052/0/hunspell-chichewa-ny-dict-%{version}.oxt
URL: http://extensions.services.openoffice.org/en/project/chicspell URL: http://extensions.services.openoffice.org/en/project/chicspell
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv3+ License: GPLv3+
BuildArch: noarch BuildArch: noarch
BuildRequires: hunspell-devel BuildRequires: hunspell-devel
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-ny)
%description %description
Chichewa hunspell dictionaries. Chichewa hunspell dictionaries.
@ -32,19 +31,19 @@ for i in dictionaries/README_ny_MW.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 dictionaries/ny_MW.* $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p dictionaries/ny_MW.* $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc LICENSES-en.txt dictionaries/README_ny_MW.txt %doc LICENSES-en.txt dictionaries/README_ny_MW.txt
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 1:0.01-10
- 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.01-9 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.01-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -69,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.01-2 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Mar 26 2010 Caolán McNamara <caolanm@redhat.com> - 1:0.01-1 * Fri Mar 26 2010 Caolán McNamara <caolanm@redhat.com> - 1:0.01-1
- latest version - latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-4 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-4