]> git.pld-linux.org Git - packages/apertium-dict-es-gl.git/blame - apertium-dict-es-gl.spec
- non-parallel install
[packages/apertium-dict-es-gl.git] / apertium-dict-es-gl.spec
CommitLineData
9f1ebb84
JB
1Summary: Spanish-Galician language pair for Apertium
2Summary(pl.UTF-8): Para języków hiszpański-galicyjski dla Apertium
3%define lpair es-gl
4Name: apertium-dict-%{lpair}
917d8cf7 5Version: 1.0.8
9f1ebb84
JB
6Release: 1
7License: GPL v2+
8Group: Applications/Text
9Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
917d8cf7 10# Source0-md5: d530f344f79a19e8d96bf032998e3bc2
9f1ebb84
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 Spanish 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 hiszpańskim 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%{__autoheader}
42%{__automake}
43%configure
44
45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
50
8e09104c 51%{__make} -j1 install \
9f1ebb84
JB
52 DESTDIR=$RPM_BUILD_ROOT
53
54# not needed here (see modes subdir) and contain wrong (builddir) paths
55%{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-%{lpair}/*.mode
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc AUTHORS ChangeLog README
63%{_datadir}/apertium/apertium-%{lpair}
64%{_datadir}/apertium/modes/es-gl.mode
65%{_datadir}/apertium/modes/gl-es.mode
This page took 0.100301 seconds and 4 git commands to generate.