]> git.pld-linux.org Git - packages/apertium-dict-cy-en.git/blob - apertium-dict-cy-en.spec
- non-parallel install
[packages/apertium-dict-cy-en.git] / apertium-dict-cy-en.spec
1 Summary:        Welsh-English language pair for Apertium
2 Summary(pl.UTF-8):      Para języków walijski-angielski dla Apertium
3 %define lpair   cy-en
4 Name:           apertium-dict-%{lpair}
5 Version:        0.1.1
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:  c2b9701e1e6a99a4ff5a2f8006e68c6d
11 Patch0:         %{name}-DESTDIR.patch
12 Patch1:         %{name}-apertium32.patch
13 URL:            http://www.apertium.org/
14 BuildRequires:  apertium-devel >= 3.2.0
15 BuildRequires:  autoconf >= 2.52
16 BuildRequires:  automake
17 BuildRequires:  libxslt-progs
18 BuildRequires:  lttoolbox >= 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 Welsh and English, 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 walijskim a angielskim, 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}
36 %patch0 -p1
37 %patch1 -p1
38
39 %build
40 %{__aclocal}
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %configure
45
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
51
52 %{__make} -j1 install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 # not needed here (see modes subdir) and contain wrong (builddir) paths
56 %{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-%{lpair}/*.mode
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS ChangeLog NEWS README
64 %{_datadir}/apertium/apertium-%{lpair}
65 %{_datadir}/apertium/modes/cy-en.mode
This page took 0.0713819999999999 seconds and 3 git commands to generate.