]> git.pld-linux.org Git - packages/apertium-dict-af-nl.git/blob - apertium-dict-af-nl.spec
- no parallel make, release 2
[packages/apertium-dict-af-nl.git] / apertium-dict-af-nl.spec
1 Summary:        Afrikaans-Dutch language pair for Apertium
2 Summary(pl.UTF-8):      Para języków afrykanerski-holenderski dla Apertium
3 %define lpair   af-nl
4 Name:           apertium-dict-%{lpair}
5 Version:        0.2.0
6 Release:        2
7 License:        GPL v2+
8 Group:          Applications/Text
9 Source0:        http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
10 # Source0-md5:  c6e048623ab18cf58d6a2d7c2daafc63
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 Afrikaans and Dutch, 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 afrykanerskim a holenderskim, a także analizy morfologicznej
30 lub 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
42 %{__make} -j1
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
47
48 %{__make} -j1 install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 # not needed here (see modes subdir) and contain wrong (builddir) paths
52 %{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-%{lpair}/*.mode
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog NEWS README
60 %{_datadir}/apertium/apertium-%{lpair}
61 %{_datadir}/apertium/modes/af-nl.mode
62 %{_datadir}/apertium/modes/nl-af.mode
This page took 0.078552 seconds and 3 git commands to generate.