]> git.pld-linux.org Git - packages/apertium-dict-pt-ca.git/blob - apertium-dict-pt-ca.spec
- no parallel install
[packages/apertium-dict-pt-ca.git] / apertium-dict-pt-ca.spec
1 Summary:        Portuguese-Catalan language pair for Apertium
2 Summary(pl.UTF-8):      Para języków portugalski-kataloński dla Apertium
3 %define lpair   pt-ca
4 Name:           apertium-dict-%{lpair}
5 Version:        0.8.2
6 Release:        1
7 License:        GPL v2+
8 Group:          Applications/Text
9 Source0:        http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
10 # Source0-md5:  9e8f4f2bb91d3383f592b7363e75f38c
11 Patch0:         %{name}-DESTDIR.patch
12 URL:            http://www.apertium.org/
13 BuildRequires:  apertium-devel >= 3.2.0
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake
16 BuildRequires:  libxslt-progs
17 BuildRequires:  lttoolbox >= 3.2.0
18 BuildRequires:  pkgconfig
19 Requires:       apertium >= 3.2.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This is an Apertium language pair, which can be used for translating
24 between Portuguese and Catalan, morphological analysis or
25 part-of-speech tagging of both languages.
26
27 %description -l pl.UTF-8
28 Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia
29 między portugalskim a katalońskim, a także analizy morfologicznej lub
30 oznaczania części mowy w obu językach.
31
32 %prep
33 %setup -q -n apertium-%{lpair}-%{version}
34 %patch0 -p1
35
36 %build
37 %{__aclocal}
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure
42
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
48
49 %{__make} -j1 install \
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
56 rm -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/ca-pt.mode
63 %{_datadir}/apertium/modes/pt-ca.mode
This page took 0.055546 seconds and 3 git commands to generate.