packages: apertium-dict-is-en/apertium-dict-is-en-DESTDIR.patch (NEW), aper...
qboosh
qboosh at pld-linux.org
Sun Dec 5 10:01:19 CET 2010
Author: qboosh Date: Sun Dec 5 09:01:18 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/apertium-dict-is-en:
apertium-dict-is-en-DESTDIR.patch (NONE -> 1.1) (NEW), apertium-dict-is-en.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/apertium-dict-is-en/apertium-dict-is-en-DESTDIR.patch
diff -u /dev/null packages/apertium-dict-is-en/apertium-dict-is-en-DESTDIR.patch:1.1
--- /dev/null Sun Dec 5 10:01:19 2010
+++ packages/apertium-dict-is-en/apertium-dict-is-en-DESTDIR.patch Sun Dec 5 10:01:10 2010
@@ -0,0 +1,18 @@
+--- apertium-is-en-0.1.0/Makefile.am.orig 2010-03-05 13:33:18.000000000 +0100
++++ apertium-is-en-0.1.0/Makefile.am 2010-12-05 09:45:34.766121097 +0100
+@@ -119,10 +119,10 @@
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+ cp *.mode modes/
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_is_modesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_is_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(apertium_is_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(apertium_is_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t4x $(apertium_is_endir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_is_modesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_is_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_is_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_is_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t4x $(DESTDIR)$(apertium_is_endir)
+
+ CLEANFILES = -rf $(TARGETS_COMMON) .deps modes
================================================================
Index: packages/apertium-dict-is-en/apertium-dict-is-en.spec
diff -u /dev/null packages/apertium-dict-is-en/apertium-dict-is-en.spec:1.1
--- /dev/null Sun Dec 5 10:01:19 2010
+++ packages/apertium-dict-is-en/apertium-dict-is-en.spec Sun Dec 5 10:01:10 2010
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+Summary: Icelandic-English language pair for Apertium
+Summary(pl.UTF-8): Para języków islandzki-angielski dla Apertium
+%define lpair is-en
+Name: apertium-dict-%{lpair}
+Version: 0.1.0
+Release: 1
+License: GPL v2+
+Group: Applications/Text
+Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
+# Source0-md5: a53f884fc72d69de1e57b56581258978
+Patch0: %{name}-DESTDIR.patch
+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: vislcg3 >= 0.9.7.5129
+BuildRequires: pkgconfig
+Requires: apertium >= 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 Icelandic and English, 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 islandzkim a angielskim, a także analizy morfologicznej lub
+oznaczania części mowy w obu językach.
+
+%prep
+%setup -q -n apertium-%{lpair}-%{version}
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes
+
+%{__make} 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 ACKNOWLEDGEMENTS AUTHORS README
+%{_datadir}/apertium/apertium-%{lpair}
+%{_datadir}/apertium/modes/is-en.mode
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2010/12/05 09:01:10 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list