]>
Commit | Line | Data |
---|---|---|
0cb3172d JB |
1 | Summary: Breton-French language pair for Apertium |
2 | Summary(pl.UTF-8): Para języków bretoński-francuski dla Apertium | |
3 | %define lpair br-fr | |
4 | Name: apertium-dict-%{lpair} | |
49ab40a3 | 5 | Version: 0.5.0 |
0cb3172d JB |
6 | Release: 1 |
7 | License: GPL v2+ | |
8 | Group: Applications/Text | |
9 | Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz | |
49ab40a3 | 10 | # Source0-md5: 65992f979f243e1f6a0f0b850b5a8a10 |
0cb3172d JB |
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: vislcg3 >= 0.9.7.5129 | |
18 | BuildRequires: pkgconfig | |
19 | Requires: apertium >= 3.2.0 | |
49ab40a3 JB |
20 | Requires: lttoolbox >= 3.2.0 |
21 | Requires: vislcg3 >= 0.9.7.5129 | |
0cb3172d JB |
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 Breton and French, 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 bretońskim a francuskim, 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} | |
0cb3172d JB |
36 | |
37 | %build | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure | |
43 | ||
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
0cb3172d JB |
48 | |
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
0cb3172d JB |
52 | %clean |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc AUTHORS ChangeLog NEWS README | |
58 | %{_datadir}/apertium/apertium-%{lpair} | |
59 | %{_datadir}/apertium/modes/br-fr.mode |