latest version

This commit is contained in:
Caolán McNamara 2010-09-21 09:09:45 +01:00
parent 8b6e39d1a5
commit 03dd246039
2 changed files with 11 additions and 9 deletions

View File

@ -1,9 +1,9 @@
Name: hunspell-sr
Summary: Serbian hunspell dictionaries
%define upstreamid 20100818
%define upstreamid 20100920
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source: http://extensions.services.openoffice.org/e-files/1572/5/dict-sr.oxt
Source: http://extensions.services.openoffice.org/e-files/1572/6/dict-sr.oxt
Group: Applications/Text
URL: http://extensions.services.openoffice.org/project/dict-sr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -28,19 +28,18 @@ Serbian hyphenation rules.
%setup -q -c
%build
cp -p README_sh.txt README_hyph.txt
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p sr.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/sr_YU.dic
cp -p sr.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/sr_YU.aff
cp -p sh.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/sh_YU.dic
cp -p sh.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/sh_YU.aff
cp -p sr-Latn.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/sh_YU.dic
cp -p sr-Latn.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/sh_YU.aff
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_sr.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_sr_YU.dic
cp -p hyph_sh.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_sh_YU.dic
cp -p hyph_sr-Latn.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_sh_YU.dic
sr_YU_aliases="sr_ME sr_RS"
sh_YU_aliases="sh_ME sh_RS bs_BA"
@ -70,15 +69,18 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_sh.txt README_sr.txt registration/license*.txt
%doc registration/license*.txt
%{_datadir}/myspell/*
%files -n hyphen-sr
%defattr(-,root,root,-)
%doc README_hyph.txt registration/license*.txt
%doc registration/license*.txt
%{_datadir}/hyphen/*
%changelog
* Thu Sep 21 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100920-1
- latest version
* Thu Aug 19 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100818-1
- latest version

View File

@ -1 +1 @@
0f8f52327173c939113102d1afce56b7 dict-sr.oxt
d4d004e1b8ac79b158257138449b13ec dict-sr.oxt