]>
Commit | Line | Data |
---|---|---|
5890010b JB |
1 | Summary: Old Catalan morphological dictionary for Apertium |
2 | Summary(pl.UTF-8): Słownik morfologiczny języka starokatalońskiego dla Apertium | |
3 | %define lpair oldca-XX | |
4 | Name: apertium-dict-%{lpair} | |
5 | Version: 0.7 | |
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: 1d43b566fa3fb6657f357b176ef92f3a | |
11 | Patch0: %{name}-DESTDIR.patch | |
12 | Patch1: %{name}-apertium32.patch | |
13 | URL: http://www.apertium.org/ | |
14 | BuildRequires: apertium-devel >= 3.2.0 | |
15 | BuildRequires: autoconf >= 2.52 | |
16 | BuildRequires: automake | |
17 | BuildRequires: libxslt-progs | |
18 | BuildRequires: lttoolbox >= 3.2.0 | |
19 | BuildRequires: pkgconfig | |
20 | Requires: apertium >= 3.2.0 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | This package contains the Old Catalan morphological dictionary for | |
25 | Apertium. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Ten pakiet zawiera słownik morfologiczny języka starokatalońskiego dla | |
29 | Apertium. | |
30 | ||
31 | %prep | |
32 | %setup -q -n apertium-%{lpair}-%{version} | |
33 | %patch0 -p1 | |
34 | %patch1 -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} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc AUTHORS README | |
58 | %{_datadir}/apertium/apertium-%{lpair} | |
59 | %{_datadir}/apertium/modes/oldca-XX-morph.mode |