1 Summary: Serbo-Croatian and Slovenian language pair for Apertium
2 Summary(pl.UTF-8): Para języków serbsko-chorwacki i słoweński dla Apertium
4 Name: apertium-dict-%{lpair}
8 Group: Applications/Text
9 Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
10 # Source0-md5: b382273d0a84b2b572fd39dcfae0940d
11 Patch0: %{name}-cg-fix.patch
12 URL: http://www.apertium.org/
13 BuildRequires: apertium-devel >= 3.2.0
14 BuildRequires: apertium-lex-tools
15 BuildRequires: autoconf >= 2.52
16 BuildRequires: automake
17 BuildRequires: libxslt-progs
18 BuildRequires: lttoolbox >= 3.2.0
19 BuildRequires: pkgconfig
20 BuildRequires: vislcg3
21 Requires: apertium >= 3.2.0
22 Requires: apertium-lex-tools
23 Requires: lttoolbox >= 3.2.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This is an Apertium language pair, which can be used for translating
29 between Serbo-Croatian and Slovenian, morphological analysis or
30 part-of-speech tagging of both languages.
32 %description -l pl.UTF-8
33 Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia
34 między serbsko-chorwackim a słoweńskim, a także analizy morfologicznej
35 lub oznaczania części mowy w obu językach.
38 %setup -q -n apertium-%{lpair}-%{version}
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
54 %{__make} -j1 install \
55 DESTDIR=$RPM_BUILD_ROOT
57 # not needed here (see modes subdir) and contain wrong (builddir) paths
58 %{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-%{lpair}/*.mode
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog README
66 %{_datadir}/apertium/apertium-%{lpair}
67 %{_datadir}/apertium/modes/hbs-slv.mode
68 %{_datadir}/apertium/modes/slv-hbs_BS.mode
69 %{_datadir}/apertium/modes/slv-hbs_HR.mode
70 %{_datadir}/apertium/modes/slv-hbs_SR.mode