Группа :: Работа с текстами
Пакет: hunspell-pl
Главная Изменения Спек Патчи 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: hunspell-pl
Summary: Polish hunspell dictionaries
%global upstreamid 20180707
Version: 0.%{upstreamid}
Release: alt1_1
Source: http://sjp.pl/slownik/ort/sjp-myspell-pl-%{upstreamid}.zip
URL: https://sjp.pl/slownik/ort/
License: LGPLv2+ or GPL+ or MPLv1.1 or ASL 2.0 or CC-BY-SA
BuildArch: noarch
Requires: hunspell
Source44: import.info
%description
Polish hunspell dictionaries.
%prep
%setup -q -c -n hunspell-pl
%build
unzip pl_PL.zip
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc README_pl_PL.txt
%{_datadir}/myspell/*
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: hunspell-pl
Summary: Polish hunspell dictionaries
%global upstreamid 20180707
Version: 0.%{upstreamid}
Release: alt1_1
Source: http://sjp.pl/slownik/ort/sjp-myspell-pl-%{upstreamid}.zip
URL: https://sjp.pl/slownik/ort/
License: LGPLv2+ or GPL+ or MPLv1.1 or ASL 2.0 or CC-BY-SA
BuildArch: noarch
Requires: hunspell
Source44: import.info
%description
Polish hunspell dictionaries.
%prep
%setup -q -c -n hunspell-pl
%build
unzip pl_PL.zip
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc README_pl_PL.txt
%{_datadir}/myspell/*
%changelog
…
Полный changelog можно просмотреть здесь