]>
Commit | Line | Data |
---|---|---|
a634c65e JB |
1 | Summary: Maltese-Arabic language pair for Apertium |
2 | Summary(pl.UTF-8): Para języków maltański-arabski dla Apertium | |
3 | %define lpair mt-ar | |
4 | Name: apertium-dict-%{lpair} | |
5 | Version: 0.1.0 | |
6 | Release: 1 | |
7 | License: GPL v2+ | |
8 | Group: Applications/Text | |
9 | Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz | |
10 | # Source0-md5: 03c56fc959ff9a909f2c63e7da22dd75 | |
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 | BuildRequires: vislcg3 | |
19 | Requires: apertium >= 3.2.0 | |
20 | Requires: lttoolbox >= 3.2.0 | |
21 | Requires: vislcg3 | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | This is an Apertium language pair, which can be used for translating | |
26 | between Maltese and Arabic, morphological analysis or part-of-speech | |
27 | tagging of both languages. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia | |
31 | między maltańskim a arabskim, a także analizy morfologicznej lub | |
32 | oznaczania części mowy w obu językach. | |
33 | ||
34 | %prep | |
35 | %setup -q -n apertium-%{lpair}-%{version} | |
36 | ||
37 | %build | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__automake} | |
41 | %configure | |
42 | ||
43 | %{__make} -j1 | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} -j1 install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc AUTHORS README | |
57 | %{_datadir}/apertium/apertium-%{lpair} | |
58 | %{_datadir}/apertium/modes/ar-mt.mode | |
59 | %{_datadir}/apertium/modes/mt-ar.mode |