]> git.pld-linux.org Git - packages/apertium-dict-pt-gl.git/blame - apertium-dict-pt-gl.spec
- no parallel make
[packages/apertium-dict-pt-gl.git] / apertium-dict-pt-gl.spec
CommitLineData
ad5fd006
JB
1Summary: Portuguese-Galician language pair for Apertium
2Summary(pl.UTF-8): Para języków portugalski-galicyjski dla Apertium
3%define lpair pt-gl
4Name: apertium-dict-%{lpair}
f558de05 5Version: 0.9.2
ad5fd006
JB
6Release: 1
7License: GPL v2+
8Group: Applications/Text
9Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
f558de05 10# Source0-md5: 295abc86f8b3057acf6e17bcc620dff1
ad5fd006
JB
11URL: http://www.apertium.org/
12BuildRequires: apertium-devel >= 3.2.0
13BuildRequires: autoconf >= 2.52
14BuildRequires: automake
15BuildRequires: libxslt-progs
16BuildRequires: lttoolbox >= 3.2.0
17BuildRequires: pkgconfig
18Requires: apertium >= 3.2.0
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This is an Apertium language pair, which can be used for translating
23between Portuguese and Galician, morphological analysis or
24part-of-speech tagging of both languages.
25
26%description -l pl.UTF-8
27Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia
28między portugalskim a galicyjskim, a także analizy morfologicznej lub
29oznaczania części mowy w obu językach.
30
31%prep
32%setup -q -n apertium-%{lpair}-%{version}
ad5fd006
JB
33
34%build
35%{__aclocal}
36%{__autoconf}
37%{__autoheader}
38%{__automake}
39%configure
40
0ca5a779 41%{__make} -j1
ad5fd006
JB
42
43%install
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
46
0ca5a779 47%{__make} -j1 install \
ad5fd006
JB
48 DESTDIR=$RPM_BUILD_ROOT
49
50# not needed here (see modes subdir) and contain wrong (builddir) paths
51%{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-%{lpair}/*.mode
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc AUTHORS ChangeLog NEWS README
59%{_datadir}/apertium/apertium-%{lpair}
60%{_datadir}/apertium/modes/gl-pt.mode
61%{_datadir}/apertium/modes/pt-gl.mode
This page took 0.080432 seconds and 4 git commands to generate.