]> git.pld-linux.org Git - SPECS.git/blob - apertium-dict-dan-nor.spec
SPECS updated Sun 1 Aug 15:50:02 CEST 2021
[SPECS.git] / apertium-dict-dan-nor.spec
1 Summary:        Danish-Norwegian language pair for Apertium
2 Summary(pl.UTF-8):      Para języków duński-norweski dla Apertium
3 %define lpair   dan-nor
4 Name:           apertium-dict-%{lpair}
5 Version:        1.0.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:  9d2e25d448c91f88b20cbd8923e707a9
11 Patch0:         %{name}-versions.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:  libxslt-progs
18 BuildRequires:  lttoolbox-devel >= 3.2.0
19 BuildRequires:  vislcg3 >= 0.9.7.5129
20 BuildRequires:  pkgconfig
21 Requires:       apertium >= 3.2.0
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 Danish and Norwegian (both Nynorsk and Bokmaal), morphological
27 analysis or part-of-speech 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 duńskim a noweskim (zarówno nynorsk, jak i bokmaal), a także
32 analizy morfologicznej lub oznaczania części mowy w obu językach.
33
34 %prep
35 %setup -q -n apertium-%{lpair}-%{version}
36 %patch0 -p1
37
38 %build
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure
43
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog README
58 %{_datadir}/apertium/apertium-%{lpair}
59 %{_datadir}/apertium/modes/nno-dan.mode
60 %{_datadir}/apertium/modes/nob-dan.mode
This page took 0.215648 seconds and 3 git commands to generate.