[packages/apertium-dict-af-nl] - new
qboosh
qboosh at pld-linux.org
Tue Jul 2 17:38:51 CEST 2013
commit 9cf69bccd732ffe93004af04608a6c19c27237b5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jul 2 17:38:12 2013 +0200
- new
apertium-dict-af-nl.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
---
diff --git a/apertium-dict-af-nl.spec b/apertium-dict-af-nl.spec
new file mode 100644
index 0000000..f7db0f3
--- /dev/null
+++ b/apertium-dict-af-nl.spec
@@ -0,0 +1,62 @@
+Summary: Afrikaans-Dutch language pair for Apertium
+Summary(pl.UTF-8): Para języków afrykanerski-holenderski dla Apertium
+%define lpair af-nl
+Name: apertium-dict-%{lpair}
+Version: 0.2.0
+Release: 1
+License: GPL v2+
+Group: Applications/Text
+Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
+# Source0-md5: c6e048623ab18cf58d6a2d7c2daafc63
+URL: http://www.apertium.org/
+BuildRequires: apertium-devel >= 3.2.0
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake
+BuildRequires: libxslt-progs
+BuildRequires: lttoolbox >= 3.2.0
+BuildRequires: pkgconfig
+Requires: apertium >= 3.2.0
+Requires: lttoolbox >= 3.2.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is an Apertium language pair, which can be used for translating
+between Afrikaans and Dutch, morphological analysis or part-of-speech
+tagging of both languages.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia
+między afrykanerskim a holenderskim, a także analizy morfologicznej
+lub oznaczania części mowy w obu językach.
+
+%prep
+%setup -q -n apertium-%{lpair}-%{version}
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
+
+%{__make} -j1 install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# not needed here (see modes subdir) and contain wrong (builddir) paths
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-%{lpair}/*.mode
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%{_datadir}/apertium/apertium-%{lpair}
+%{_datadir}/apertium/modes/af-nl.mode
+%{_datadir}/apertium/modes/nl-af.mode
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apertium-dict-af-nl.git/commitdiff/9cf69bccd732ffe93004af04608a6c19c27237b5
More information about the pld-cvs-commit
mailing list