]> git.pld-linux.org Git - packages/apertium-dict-cy-en.git/blame - apertium-dict-cy-en.spec
- non-parallel install
[packages/apertium-dict-cy-en.git] / apertium-dict-cy-en.spec
CommitLineData
aa1f97e6
JB
1Summary: Welsh-English language pair for Apertium
2Summary(pl.UTF-8): Para języków walijski-angielski dla Apertium
3%define lpair cy-en
4Name: apertium-dict-%{lpair}
2273d2dc 5Version: 0.1.1
aa1f97e6
JB
6Release: 1
7License: GPL v2+
8Group: Applications/Text
9Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
2273d2dc 10# Source0-md5: c2b9701e1e6a99a4ff5a2f8006e68c6d
aa1f97e6
JB
11Patch0: %{name}-DESTDIR.patch
12Patch1: %{name}-apertium32.patch
13URL: http://www.apertium.org/
14BuildRequires: apertium-devel >= 3.2.0
15BuildRequires: autoconf >= 2.52
16BuildRequires: automake
17BuildRequires: libxslt-progs
18BuildRequires: lttoolbox >= 3.2.0
19BuildRequires: vislcg3 >= 0.9.7.5129
20BuildRequires: pkgconfig
21Requires: apertium >= 3.2.0
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25This is an Apertium language pair, which can be used for translating
26between Welsh and English, morphological analysis or part-of-speech
27tagging of both languages.
28
29%description -l pl.UTF-8
30Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia
31między walijskim a angielskim, a także analizy morfologicznej lub
32oznaczania 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
49rm -rf $RPM_BUILD_ROOT
50install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
51
99621135 52%{__make} -j1 install \
aa1f97e6
JB
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
59rm -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.055218 seconds and 4 git commands to generate.