]> git.pld-linux.org Git - packages/apertium-dict-is-en.git/blob - apertium-dict-is-en.spec
- new
[packages/apertium-dict-is-en.git] / apertium-dict-is-en.spec
1 Summary:        Icelandic-English language pair for Apertium
2 Summary(pl.UTF-8):      Para języków islandzki-angielski dla Apertium
3 %define lpair   is-en
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:  a53f884fc72d69de1e57b56581258978
11 Patch0:         %{name}-DESTDIR.patch
12 URL:            http://www.apertium.org/
13 BuildRequires:  apertium-devel >= 3.2.0
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake
16 BuildRequires:  libxslt-progs
17 BuildRequires:  lttoolbox >= 3.2.0
18 BuildRequires:  vislcg3 >= 0.9.7.5129
19 BuildRequires:  pkgconfig
20 Requires:       apertium >= 3.2.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This is an Apertium language pair, which can be used for translating
25 between Icelandic and English, morphological analysis or
26 part-of-speech tagging of both languages.
27
28 %description -l pl.UTF-8
29 Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia
30 między islandzkim a angielskim, a także analizy morfologicznej lub
31 oznaczania części mowy w obu językach.
32
33 %prep
34 %setup -q -n apertium-%{lpair}-%{version}
35 %patch0 -p1
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
48 install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 # not needed here (see modes subdir) and contain wrong (builddir) paths
54 %{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-%{lpair}/*.mode
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc ACKNOWLEDGEMENTS AUTHORS README
62 %{_datadir}/apertium/apertium-%{lpair}
63 %{_datadir}/apertium/modes/is-en.mode
This page took 0.057819 seconds and 3 git commands to generate.