]>
Commit | Line | Data |
---|---|---|
a5b4a22a JB |
1 | Summary: Indonesian-Malay language pair for Apertium |
2 | Summary(pl.UTF-8): Para języków indonezyjski-malajski dla Apertium | |
3 | %define lpair id-ms | |
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: 5097531cf89aa4fe5dea18de34cb1f2b | |
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 | Requires: lttoolbox >= 3.2.0 | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | This is an Apertium language pair, which can be used for translating | |
24 | between Indonesian and Malay, morphological analysis or part-of-speech | |
25 | tagging of both languages. | |
26 | ||
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 indonezyjskim a malajskim, a także analizy morfologicznej lub | |
30 | oznaczania części mowy w obu językach. | |
31 | ||
32 | %prep | |
33 | %setup -q -n apertium-%{lpair}-%{version} | |
34 | ||
35 | %build | |
36 | %{__aclocal} | |
37 | %{__autoconf} | |
38 | %{__autoheader} | |
39 | %{__automake} | |
40 | %configure | |
41 | ||
926ea3ce | 42 | %{__make} -j1 |
a5b4a22a JB |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} -j1 install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc AUTHORS README | |
56 | %{_datadir}/apertium/apertium-%{lpair} | |
57 | %{_datadir}/apertium/modes/id-ms.mode |