latest versions
This commit is contained in:
parent
b47d2d8bcd
commit
f4a1d281ec
@ -1 +1 @@
|
||||
MySpell-sr_YU-and-sh_YU.tar.gz
|
||||
dict-sr.oxt
|
||||
|
@ -1,52 +1,87 @@
|
||||
Name: hunspell-sr
|
||||
Summary: Serbian hunspell dictionaries
|
||||
%define upstreamid 20080711
|
||||
%define upstreamid 20090213
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 2%{?dist}
|
||||
Source: http://srpski.org/aspell/MySpell-sr_YU-and-sh_YU.tar.gz
|
||||
Release: 1%{?dist}
|
||||
Source: http://extensions.services.openoffice.org/files/1572/2/dict-sr.oxt
|
||||
Group: Applications/Text
|
||||
URL: http://srpski.org/aspell/
|
||||
URL: http://extensions.services.openoffice.org/project/dict-sr
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: LGPLv2+
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell
|
||||
Provides: hunspell-bs = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Serbian hunspell dictionaries.
|
||||
|
||||
%package -n hyphen-sr
|
||||
Requires: hyphen
|
||||
Summary: Serbian hyphenation rules
|
||||
Group: Applications/Text
|
||||
Provides: hyphen-bs = %{version}-%{release}
|
||||
|
||||
%description -n hyphen-sr
|
||||
Serbian hyphenation rules.
|
||||
|
||||
%prep
|
||||
%setup -q -n myspell-sr
|
||||
%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_YU.dic sr_YU.aff sh_YU.dic sh_YU.aff $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
|
||||
|
||||
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
|
||||
|
||||
sr_YU_aliases="sr_ME sr_RS"
|
||||
sh_YU_aliases="sh_ME sh_RS bs_BA"
|
||||
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||
sr_YU_aliases="sr_ME sr_RS"
|
||||
for lang in $sr_YU_aliases; do
|
||||
ln -s sr_YU.aff $lang.aff
|
||||
ln -s sr_YU.dic $lang.dic
|
||||
done
|
||||
sh_YU_aliases="sh_ME sh_RS"
|
||||
for lang in $sh_YU_aliases; do
|
||||
ln -s sh_YU.aff $lang.aff
|
||||
ln -s sh_YU.dic $lang.dic
|
||||
done
|
||||
popd
|
||||
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
||||
for lang in $sr_YU_aliases; do
|
||||
ln -s hyph_sr_YU.dic "hyph_"$lang".dic"
|
||||
done
|
||||
for lang in $sh_YU_aliases; do
|
||||
ln -s hyph_sh_YU.dic "hyph_"$lang".dic"
|
||||
done
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING
|
||||
%doc README_sh.txt README_sr.txt registration/license*.txt
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%files -n hyphen-sr
|
||||
%doc README_hyph.txt
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
%changelog
|
||||
* Tue May 05 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090213-1
|
||||
- latest version
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080711-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user