Группа :: Работа с текстами
Пакет: mythes-sv
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Text tools
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: mythes-sv
Summary: Swedish thesaurus
Version: 1.3
Release: alt1_20
Source: https://downloads.sourceforge.net/project/aoo-extensions/934/4/swedishthesaurus.oxt
URL: http://extensions.services.openoffice.org/project/SweThes
License: MIT
BuildArch: noarch
Requires: libmythes
Source44: import.info
%description
Swedish thesaurus.
%prep
%setup -q -c
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
cp -p dictionaries/th_sv_SE.dat $RPM_BUILD_ROOT/%{_datadir}/mythes/th_sv_SE_v2.dat
cp -p dictionaries/th_sv_SE.idx $RPM_BUILD_ROOT/%{_datadir}/mythes/th_sv_SE_v2.idx
pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/
sv_SE_aliases="sv_FI"
for lang in $sv_SE_aliases; do
ln -s th_sv_SE_v2.dat "th_"$lang"_v2.dat"
ln -s th_sv_SE_v2.idx "th_"$lang"_v2.idx"
done
popd
%files
%doc Info-en.txt
%{_datadir}/mythes/*
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: mythes-sv
Summary: Swedish thesaurus
Version: 1.3
Release: alt1_20
Source: https://downloads.sourceforge.net/project/aoo-extensions/934/4/swedishthesaurus.oxt
URL: http://extensions.services.openoffice.org/project/SweThes
License: MIT
BuildArch: noarch
Requires: libmythes
Source44: import.info
%description
Swedish thesaurus.
%prep
%setup -q -c
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
cp -p dictionaries/th_sv_SE.dat $RPM_BUILD_ROOT/%{_datadir}/mythes/th_sv_SE_v2.dat
cp -p dictionaries/th_sv_SE.idx $RPM_BUILD_ROOT/%{_datadir}/mythes/th_sv_SE_v2.idx
pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/
sv_SE_aliases="sv_FI"
for lang in $sv_SE_aliases; do
ln -s th_sv_SE_v2.dat "th_"$lang"_v2.dat"
ln -s th_sv_SE_v2.idx "th_"$lang"_v2.idx"
done
popd
%files
%doc Info-en.txt
%{_datadir}/mythes/*
%changelog
…
Полный changelog можно просмотреть здесь