Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
This commit is contained in:
parent
d4634f4c5e
commit
32f2442690
@ -1,15 +1,14 @@
|
||||
Name: hunspell-ca
|
||||
Summary: Catalan hunspell dictionaries
|
||||
Version: 2.3
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt
|
||||
Group: Applications/Text
|
||||
URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: GPLv2+
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell
|
||||
Supplements: (hunspell and langpacks-ca)
|
||||
|
||||
%description
|
||||
Catalan hunspell dictionaries.
|
||||
@ -24,7 +23,6 @@ tr -d '\r' < dictionaries/catalan.dic > ca_ES.dic
|
||||
touch -r dictionaries/catalan.dic ca_ES.dic
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p ca_ES.dic ca_ES.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||
@ -35,15 +33,16 @@ for lang in $ca_ES_aliases; do
|
||||
done
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSES-en.txt LLICENCIES-ca.txt
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.3-8
|
||||
- Add Supplements: tag for langpacks naming guidelines
|
||||
- Clean the specfile to follow current packaging guidelines
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user