Репозитории ALT
S: | 0.50.1-alt3_29 |
5.1: | 0.50.1-alt2 |
4.1: | 0.50.1-alt2 |
4.0: | 0.50.1-alt1 |
Группа :: Система/Интернационализация
Пакет: aspell-no
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define lang nb
%define langrelease 0
Summary: Norwegian dictionaries for Aspell.
#Name: aspell-%{lang}
Name: aspell-no
Packager: Igor Vlasenko <viy at altlinux.ru>
Version: 0.50.1
Release: alt1
License: GPL
Group: System/Internationalization
URL: http://aspell.net/
Source: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell-%{lang}-%{version}-%{langrelease}.tar.bz2
Patch: aspell-nb-0.50.1-0.utf-filename.patch
Buildrequires: aspell >= 0.60
Requires: aspell >= 0.60
%description
Provides the word list/dictionaries for the following: Norwegian
%prep
%setup -q -n aspell-%{lang}-%{version}-%{langrelease}
%patch -p1 -b .utf-filename
mv $(echo -e 'bokm\345l.alias') $(echo -e 'bokm\303\245l.alias')
%build
echo "ASPELL = aspell" > Makefile
echo "DEST_DIR = $RPM_BUILD_ROOT" >> Makefile
echo "WORD_LIST_COMPRESS = word-list-compress" >> Makefile
echo "dictdir = ${RPM_BUILD_ROOT}%{_libdir}/aspell" >> Makefile
echo "datadir = ${RPM_BUILD_ROOT}%{_libdir}/aspell" >> Makefile
cat Makefile.pre >> Makefile
make
%install
make install
cp ${RPM_BUILD_ROOT}%{_libdir}/aspell/nb.multi ${RPM_BUILD_ROOT}%{_libdir}/aspell/no.multi
%files
%{_libdir}/aspell/*
#%{_datadir}/aspell/*
%changelog
…
Полный changelog можно просмотреть здесь
%define langrelease 0
Summary: Norwegian dictionaries for Aspell.
#Name: aspell-%{lang}
Name: aspell-no
Packager: Igor Vlasenko <viy at altlinux.ru>
Version: 0.50.1
Release: alt1
License: GPL
Group: System/Internationalization
URL: http://aspell.net/
Source: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell-%{lang}-%{version}-%{langrelease}.tar.bz2
Patch: aspell-nb-0.50.1-0.utf-filename.patch
Buildrequires: aspell >= 0.60
Requires: aspell >= 0.60
%description
Provides the word list/dictionaries for the following: Norwegian
%prep
%setup -q -n aspell-%{lang}-%{version}-%{langrelease}
%patch -p1 -b .utf-filename
mv $(echo -e 'bokm\345l.alias') $(echo -e 'bokm\303\245l.alias')
%build
echo "ASPELL = aspell" > Makefile
echo "DEST_DIR = $RPM_BUILD_ROOT" >> Makefile
echo "WORD_LIST_COMPRESS = word-list-compress" >> Makefile
echo "dictdir = ${RPM_BUILD_ROOT}%{_libdir}/aspell" >> Makefile
echo "datadir = ${RPM_BUILD_ROOT}%{_libdir}/aspell" >> Makefile
cat Makefile.pre >> Makefile
make
%install
make install
cp ${RPM_BUILD_ROOT}%{_libdir}/aspell/nb.multi ${RPM_BUILD_ROOT}%{_libdir}/aspell/no.multi
%files
%{_libdir}/aspell/*
#%{_datadir}/aspell/*
%changelog
…
Полный changelog можно просмотреть здесь