54 lines
1.2 KiB
RPMSpec
54 lines
1.2 KiB
RPMSpec
|
Name: hunspell-lb
|
||
|
Summary: Luxembourgish hunspell dictionaries
|
||
|
%define upstreamid 20100120
|
||
|
Version: 0.%{upstreamid}
|
||
|
Release: 1%{?dist}
|
||
|
Source: http://downloads.spellchecker.lu/packages/OOo3/SpellcheckerLu.oxt
|
||
|
Group: Applications/Text
|
||
|
URL: http://spellchecker.lu
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
License: EUPL 1.1
|
||
|
BuildArch: noarch
|
||
|
|
||
|
Requires: hunspell
|
||
|
|
||
|
%description
|
||
|
Luxembourgish hunspell dictionaries.
|
||
|
|
||
|
%package -n mythes-lb
|
||
|
Summary: Luxembourgish thesaurus
|
||
|
Group: Applications/Text
|
||
|
|
||
|
%description -n mythes-lb
|
||
|
Luxembourgish thesaurus.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -c
|
||
|
|
||
|
%build
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
|
||
|
cp -p th_lb_LU_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc registration/README_lb_LU.txt
|
||
|
%{_datadir}/myspell/*
|
||
|
|
||
|
%files -n mythes-lb
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc registration/README_lb_LU.txt
|
||
|
%dir %{_datadir}/mythes
|
||
|
%{_datadir}/mythes/th_lb_LU_v2.*
|
||
|
|
||
|
%changelog
|
||
|
* Wed Jan 27 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100120-1
|
||
|
- initial version
|