1 Summary: Portuguese-Catalan language pair for Apertium
2 Summary(pl.UTF-8): Para języków portugalski-kataloń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: 9e8f4f2bb91d3383f592b7363e75f38c
11 Patch0: %{name}-DESTDIR.patch
12 URL: http://www.apertium.org/
13 BuildRequires: apertium-devel >= 3.2.0
14 BuildRequires: autoconf >= 2.52
15 BuildRequires: automake
16 BuildRequires: libxslt-progs
17 BuildRequires: lttoolbox >= 3.2.0
18 BuildRequires: pkgconfig
19 Requires: apertium >= 3.2.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This is an Apertium language pair, which can be used for translating
24 between Portuguese and Catalan, morphological analysis or
25 part-of-speech tagging of both languages.
27 %description -l pl.UTF-8
28 Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia
29 między portugalskim a katalońskim, a także analizy morfologicznej lub
30 oznaczania części mowy w obu językach.
33 %setup -q -n apertium-%{lpair}-%{version}
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
49 %{__make} -j1 install \
50 DESTDIR=$RPM_BUILD_ROOT
52 # not needed here (see modes subdir) and contain wrong (builddir) paths
53 %{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-%{lpair}/*.mode
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog NEWS README
61 %{_datadir}/apertium/apertium-%{lpair}
62 %{_datadir}/apertium/modes/ca-pt.mode
63 %{_datadir}/apertium/modes/pt-ca.mode