Группа :: Работа с текстами
Пакет: hyphen-hsb
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Text tools
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: hyphen-hsb
Summary: Upper Sorbian hyphenation rules
%global upstreamid 20110620
Version: 0.%{upstreamid}
Release: alt1_11
#? in a url causes trouble
#http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-hsb.tex?view=co
Source0: hyph-hsb.tex
URL: http://tug.org/tex-hyphen
License: LPPL
BuildArch: noarch
BuildRequires: libhyphen-devel
Requires: libhyphen
Patch0: hyphen-hsb-cleantex.patch
Source44: import.info
%description
Upper Sorbian hyphenation rules.
%prep
%setup -T -q -c -n hyphen-hsb
cp -p %{SOURCE0} .
%patch0 -p0 -b .clean
%build
substrings.pl hyph-hsb.tex hyph_hsb_DE.dic UTF-8
echo "created with substring.pl by substrings.pl hyph-hsb.tex hyph_hsb_DE.dic UTF-8" > README
echo "---" >> README
head -n 70 hyph-hsb.tex >> README
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_hsb_DE.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%files
%doc README
%{_datadir}/hyphen/*
%changelog
…
Полный changelog можно просмотреть здесь
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: hyphen-hsb
Summary: Upper Sorbian hyphenation rules
%global upstreamid 20110620
Version: 0.%{upstreamid}
Release: alt1_11
#? in a url causes trouble
#http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-hsb.tex?view=co
Source0: hyph-hsb.tex
URL: http://tug.org/tex-hyphen
License: LPPL
BuildArch: noarch
BuildRequires: libhyphen-devel
Requires: libhyphen
Patch0: hyphen-hsb-cleantex.patch
Source44: import.info
%description
Upper Sorbian hyphenation rules.
%prep
%setup -T -q -c -n hyphen-hsb
cp -p %{SOURCE0} .
%patch0 -p0 -b .clean
%build
substrings.pl hyph-hsb.tex hyph_hsb_DE.dic UTF-8
echo "created with substring.pl by substrings.pl hyph-hsb.tex hyph_hsb_DE.dic UTF-8" > README
echo "---" >> README
head -n 70 hyph-hsb.tex >> README
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_hsb_DE.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%files
%doc README
%{_datadir}/hyphen/*
%changelog
…
Полный changelog можно просмотреть здесь