]> git.pld-linux.org Git - packages/apertium-dict-mk-en.git/blame - apertium-dict-mk-en.spec
- no parallel make
[packages/apertium-dict-mk-en.git] / apertium-dict-mk-en.spec
CommitLineData
7c201940
JB
1Summary: Macedonian-English language pair for Apertium
2Summary(pl.UTF-8): Para języków macedoński-angielski dla Apertium
3%define lpair mk-en
4Name: apertium-dict-%{lpair}
d74e5142 5Version: 0.1.1
7c201940
JB
6Release: 1
7License: GPL v3
8Group: Applications/Text
9Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
d74e5142 10# Source0-md5: 46bd7cfcb16afeea7a731b574ae439d8
7c201940 11Patch0: %{name}-DESTDIR.patch
7c201940
JB
12URL: http://www.apertium.org/
13BuildRequires: apertium-devel >= 3.2.0
14BuildRequires: autoconf >= 2.52
15BuildRequires: automake
16BuildRequires: libxslt-progs
17BuildRequires: lttoolbox >= 3.2.0
18BuildRequires: vislcg3 >= 0.9.7.5129
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 Macedonian and English, morphological analysis or
26part-of-speech tagging 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 macedońskim a angielskim, 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
7c201940
JB
36
37%build
38%{__aclocal}
39%{__autoconf}
40%{__automake}
41%configure
42
b0f78a1b 43%{__make} -j1
7c201940
JB
44
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
48
b0f78a1b 49%{__make} -j1 install \
7c201940
JB
50 DESTDIR=$RPM_BUILD_ROOT
51
52# not needed here (see modes subdir) and contain wrong (builddir) paths
53%{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-%{lpair}/*.mode
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc AUTHORS ChangeLog NEWS README
61%{_datadir}/apertium/apertium-%{lpair}
62%{_datadir}/apertium/modes/mk-en.mode
This page took 0.084503 seconds and 4 git commands to generate.