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