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:33:09 +05:30
parent ab770a1a99
commit 6d4a6103ee

View File

@ -1,12 +1,10 @@
Name: hunspell-sc
Summary: Sardinian hunspell dictionaries
%define upstreamid 20081101
%global upstreamid 20081101
Version: 0.%{upstreamid}
Release: 14%{?dist}
Group: Applications/Text
Release: 15%{?dist}
Source: http://extensions.services.openoffice.org/files/1446/2/Dict_sc_IT03.oxt
URL: http://extensions.services.openoffice.org/project/Dict_sc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#The license included is AGPLv3 and pkg-desc/pkg-description.txt
#says AGPLv3 or later, but the sc_IT.aff header states "GPLv2"
License: AGPLv3+ and GPLv2
@ -14,6 +12,7 @@ BuildArch: noarch
BuildRequires: hunspell-devel
Requires: hunspell
Supplements: (hunspell and langpacks-sc)
%description
Sardinian hunspell dictionaries.
@ -24,20 +23,20 @@ Sardinian hunspell dictionaries.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p sc_IT.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/sc_IT.aff
cp -p sc_it.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/sc_IT.dic
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc registration/agpl3-en.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20081101-15
- 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.20081101-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild