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:29:02 +05:30
parent ca02030f56
commit cb162fff07

View File

@ -1,16 +1,15 @@
Name: hunspell-la
Summary: Latin hunspell dictionaries
%define upstreamid 20130331
%global upstreamid 20130331
Version: 0.%{upstreamid}
Release: 5%{?dist}
Group: Applications/Text
Release: 6%{?dist}
Source: http://extensions.services.openoffice.org/e-files/ext/1141/3/dict-la_2013-03-31.oxt
URL: http://extensions.services.openoffice.org/project/dict-la
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+ and LGPLv2+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-la)
%description
Latin hunspell dictionaries.
@ -31,20 +30,20 @@ for i in README_extension_owner-la.txt la/README_la.txt la/COPYING*; do
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p la/la.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/la.dic
cp -p la/la.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/la.aff
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_extension_owner-la.txt la/README_la.txt la/COPYING_*
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20130331-6
- 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.20130331-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -57,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20130331-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Apr 05 2013 Caolán McNamara <caolanm@redhat.com> - 0.20130331-1
* Fri Apr 05 2013 Caolán McNamara <caolanm@redhat.com> - 0.20130331-1
- latest version
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110807-5
@ -81,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
* Tue Aug 24 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100823-1
- latest version
* Fri Jul 11 2010 Caolán McNamara <caolanm@redhat.com> - 0.20080903-5
* Sun Jul 11 2010 Caolán McNamara <caolanm@redhat.com> - 0.20080903-5
- drop build require
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080903-4