]> git.pld-linux.org Git - packages/apertium-dict-en-gl.git/blame - apertium-dict-en-gl.spec
- non-parallel install
[packages/apertium-dict-en-gl.git] / apertium-dict-en-gl.spec
CommitLineData
8d93bf38
JB
1Summary: English-Galician language pair for Apertium
2Summary(pl.UTF-8): Para języków angielski-galicyjski dla Apertium
3%define lpair en-gl
4Name: apertium-dict-%{lpair}
55240deb 5Version: 0.5.2
8d93bf38
JB
6Release: 1
7License: GPL v2+
8Group: Applications/Text
9Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
55240deb 10# Source0-md5: 39847897220e4b9e126918219c7712e3
8d93bf38
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: pkgconfig
20Requires: apertium >= 3.2.0
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This is an Apertium language pair, which can be used for translating
25between English and Galician, morphological analysis or part-of-speech
26tagging of both languages.
27
28%description -l pl.UTF-8
29Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia
30między angielskim a galicyjskim, a także analizy morfologicznej lub
31oznaczania części mowy w obu językach.
32
33%prep
34%setup -q -n apertium-%{lpair}-%{version}
35%patch0 -p1
36%patch1 -p1
37
38%build
39%{__aclocal}
40%{__autoconf}
41%{__automake}
42%configure
43
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
49
ff374cad 50%{__make} -j1 install \
8d93bf38
JB
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
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc AUTHORS ChangeLog NEWS README
62%{_datadir}/apertium/apertium-%{lpair}
63%{_datadir}/apertium/modes/en-gl.mode
64%{_datadir}/apertium/modes/gl-en.mode
This page took 0.068751 seconds and 4 git commands to generate.