Update to current Fedora packaging guidelines
Dropped Group and defattr tag Added license tag
This commit is contained in:
parent
1723dbecfe
commit
d447b25e90
@ -1,9 +1,8 @@
|
||||
Name: openoffice-lv
|
||||
Summary: Latvian linguistic dictionaries
|
||||
Version: 1.0.0
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Source: http://dict.dv.lv/download/lv_LV-%{version}.oxt
|
||||
Group: Applications/Text
|
||||
URL: http://dict.dv.lv/
|
||||
License: LGPLv2+
|
||||
BuildArch: noarch
|
||||
@ -13,7 +12,6 @@ Latvian linguistic dictionaries.
|
||||
|
||||
%package -n hunspell-lv
|
||||
Summary: Latvian hunspell dictionaries
|
||||
Group: Applications/Text
|
||||
Requires: hunspell
|
||||
|
||||
%description -n hunspell-lv
|
||||
@ -21,7 +19,6 @@ Latvian hunspell dictionaries.
|
||||
|
||||
%package -n hyphen-lv
|
||||
Summary: Latvian hyphenation rules
|
||||
Group: Applications/Text
|
||||
Requires: hyphen
|
||||
|
||||
%description -n hyphen-lv
|
||||
@ -29,14 +26,13 @@ Latvian hyphenation rules.
|
||||
|
||||
%package -n mythes-lv
|
||||
Summary: Latvian thesaurus
|
||||
Group: Applications/Text
|
||||
Requires: mythes
|
||||
|
||||
%description -n mythes-lv
|
||||
Latvian thesaurus.
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
%autosetup -c
|
||||
|
||||
%build
|
||||
for i in README_lv_LV.txt README_hyph_lv_LV.txt; do
|
||||
@ -52,7 +48,6 @@ done
|
||||
chmod -x *.dic
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
|
||||
@ -61,21 +56,26 @@ cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes
|
||||
|
||||
%files -n hunspell-lv
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_lv_LV.txt license.txt
|
||||
%doc README_lv_LV.txt
|
||||
%license license.txt
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%files -n hyphen-lv
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_hyph_lv_LV.txt license.txt
|
||||
%doc README_hyph_lv_LV.txt
|
||||
%license license.txt
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
%files -n mythes-lv
|
||||
%defattr(-,root,root,-)
|
||||
%doc package-description.txt license.txt
|
||||
%doc package-description.txt
|
||||
%license license.txt
|
||||
%{_datadir}/mythes/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 09 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.0.0-7
|
||||
- Update to current Fedora packaging guidelines
|
||||
- Dropped Group and defattr tag
|
||||
- Added license tag
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user