]> git.pld-linux.org Git - packages/apertium-dict-sme-nob.git/blob - apertium-dict-sme-nob.spec
dd2df4b8cd23451f5b6b47113474959ae67e6240
[packages/apertium-dict-sme-nob.git] / apertium-dict-sme-nob.spec
1 Summary:        Northern Sami-Norwegian Bokmaal and Slovenian language pair for Apertium
2 Summary(pl.UTF-8):      Para języków północnolapoński-norweski bokmaal dla Apertium
3 %define lpair   sme-nob
4 Name:           apertium-dict-%{lpair}
5 Version:        0.5.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:  6f805e1e4f4d787653da81e82a089fc9
11 Patch0:         %{name}-cg.patch
12 URL:            http://www.apertium.org/
13 BuildRequires:  apertium-devel >= 3.2.0
14 BuildRequires:  apertium-lex-tools
15 BuildRequires:  autoconf >= 2.52
16 BuildRequires:  automake
17 BuildRequires:  hfst
18 BuildRequires:  libxslt-progs
19 BuildRequires:  lttoolbox >= 3.2.0
20 BuildRequires:  pkgconfig
21 BuildRequires:  python >= 1:2.6
22 BuildRequires:  vislcg3
23 Requires:       apertium >= 3.2.0
24 Requires:       apertium-lex-tools
25 Requires:       hfst
26 Requires:       lttoolbox >= 3.2.0
27 Requires:       vislcg3
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 This is an Apertium language pair, which can be used for translating
32 between Northern Sami and Norwegian Bokmaal, morphological analysis or
33 part-of-speech tagging of both languages.
34
35 %description -l pl.UTF-8
36 Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia
37 między północnolapońskim a norweskim bokmaal, a także analizy
38 morfologicznej lub oznaczania części mowy w obu językach.
39
40 %prep
41 %setup -q -n apertium-%{lpair}-%{version}
42 %patch0 -p1
43
44 %build
45 %{__aclocal}
46 %{__autoconf}
47 %{__automake}
48 %configure
49
50 %{__make} -j1
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog README
65 %{_datadir}/apertium/apertium-%{lpair}
66 %{_datadir}/apertium/modes/sme-nob.mode
This page took 0.043838 seconds and 2 git commands to generate.