Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
This commit is contained in:
parent
3c640b55cd
commit
a03409cd35
@ -1,16 +1,15 @@
|
||||
Name: hunspell-ms
|
||||
Summary: Malay hunspell dictionaries
|
||||
%define upstreamid 20050117
|
||||
%global upstreamid 20050117
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ms_MY.zip
|
||||
Group: Applications/Text
|
||||
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: GFDL and GPL+
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell
|
||||
Supplements: (hunspell and langpacks-ms)
|
||||
|
||||
%description
|
||||
Malay hunspell dictionaries.
|
||||
@ -22,7 +21,6 @@ Malay hunspell dictionaries.
|
||||
chmod -x *
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
|
||||
@ -33,15 +31,16 @@ for lang in $ms_MY_aliases; do
|
||||
ln -s ms_MY.dic $lang.dic
|
||||
done
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_ms_MY.txt
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20050117-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.20050117-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user