]> git.pld-linux.org Git - packages/apertium-dict-eo-en.git/commitdiff
- new master
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 8 Dec 2010 18:13:34 +0000 (18:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apertium-dict-eo-en-DESTDIR.patch -> 1.1
    apertium-dict-eo-en.spec -> 1.1

apertium-dict-eo-en-DESTDIR.patch [new file with mode: 0644]
apertium-dict-eo-en.spec [new file with mode: 0644]

diff --git a/apertium-dict-eo-en-DESTDIR.patch b/apertium-dict-eo-en-DESTDIR.patch
new file mode 100644 (file)
index 0000000..56c029b
--- /dev/null
@@ -0,0 +1,16 @@
+--- apertium-eo-en-1.0.0/Makefile.am.orig      2010-02-03 15:43:40.000000000 +0100
++++ apertium-eo-en-1.0.0/Makefile.am   2010-12-08 17:51:41.938118583 +0100
+@@ -149,9 +149,9 @@
+ install-data-local:
+       apertium-gen-modes modes.xml apertium-$(PREFIX1)
+-      $(INSTALL_DATA) $(PREFIX1).mode $(apertium_eo_modesdir)
+-      $(INSTALL_DATA) $(PREFIX2).mode $(apertium_eo_modesdir)
+-      $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).antaux_t2x $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX1).t3x $(apertium_eo_endir)
+-      $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(BASENAME).$(PREFIX2).genitive.t1x  $(BASENAME).$(PREFIX2).antaux_t2x $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(apertium_eo_endir)
++      $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_eo_modesdir)
++      $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_eo_modesdir)
++      $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).antaux_t2x $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_eo_endir)
++      $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(BASENAME).$(PREFIX2).genitive.t1x  $(BASENAME).$(PREFIX2).antaux_t2x $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(DESTDIR)$(apertium_eo_endir)
+ CLEANFILES = -rf $(TARGETS_COMMON) tmp1_$(BASENAME).$(LANG2).dix  $(TARGETS) modes *.mode *.bin apertium-eo-en.eo-multiwords.xml
diff --git a/apertium-dict-eo-en.spec b/apertium-dict-eo-en.spec
new file mode 100644 (file)
index 0000000..7daa838
--- /dev/null
@@ -0,0 +1,63 @@
+Summary:       Esperanto-English language pair for Apertium
+Summary(pl.UTF-8):     Para języków esperanto-angielski dla Apertium
+%define        lpair   eo-en
+Name:          apertium-dict-%{lpair}
+Version:       1.0.0
+Release:       1
+License:       GPL v2+
+Group:         Applications/Text
+Source0:       http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
+# Source0-md5: df00059573f4a87d90dc56394daf6793
+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: 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 Esperanto 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 esperanto 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 AUTHORS ChangeLog NEWS README
+%{_datadir}/apertium/apertium-%{lpair}
+%{_datadir}/apertium/modes/eo-en.mode
+%{_datadir}/apertium/modes/en-eo.mode
This page took 0.078613 seconds and 4 git commands to generate.