From c0f863912bc41c5ca01dec5d8cdd658f1bdc208e Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 22 Sep 2011 16:12:12 +0000 Subject: [PATCH] - updated to 0.8.0 - updated DESTDIR patch Changed files: apertium-dict-en-es-DESTDIR.patch -> 1.2 apertium-dict-en-es.spec -> 1.2 --- apertium-dict-en-es-DESTDIR.patch | 14 +++++++++++--- apertium-dict-en-es.spec | 7 ++----- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/apertium-dict-en-es-DESTDIR.patch b/apertium-dict-en-es-DESTDIR.patch index 1e3c077..b0ee505 100644 --- a/apertium-dict-en-es-DESTDIR.patch +++ b/apertium-dict-en-es-DESTDIR.patch @@ -1,6 +1,14 @@ ---- apertium-en-es-0.7.1/Makefile.am.orig 2010-02-23 14:55:01.000000000 +0100 -+++ apertium-en-es-0.7.1/Makefile.am 2010-12-05 20:20:12.130121936 +0100 -@@ -203,13 +203,13 @@ +--- apertium-en-es-0.8.0/Makefile.am.orig 2011-08-03 20:20:35.000000000 +0200 ++++ apertium-en-es-0.8.0/Makefile.am 2011-09-22 17:46:05.963019222 +0200 +@@ -182,7 +182,6 @@ + $(PREFIX2).t1x.bin $(PREFIX2).t2x.bin $(PREFIX2).t3x.bin \ + $(BASENAME).$(PREFIX1).genitive.t1x \ + $(PREFIX1).genitive.bin \ +- $(PREFIX1).mode $(PREFIX2).mode \ + $(BASENAME).$(LANG1)-lextor.dix $(BASENAME).$(LANG2)-lextor.dix \ + $(BASENAME).$(PREFIX1)-lextor.dix $(BASENAME).$(PREFIX2)-lextor.dix + +@@ -207,13 +206,13 @@ install-data-local: apertium-gen-modes modes.xml apertium-$(PREFIX1) diff --git a/apertium-dict-en-es.spec b/apertium-dict-en-es.spec index e73a73e..6156be0 100644 --- a/apertium-dict-en-es.spec +++ b/apertium-dict-en-es.spec @@ -2,12 +2,12 @@ Summary: English-Spanish language pair for Apertium Summary(pl.UTF-8): Para języków angielski-hiszpański dla Apertium %define lpair en-es Name: apertium-dict-%{lpair} -Version: 0.7.1 +Version: 0.8.0 Release: 1 License: GPL v2+ Group: Applications/Text Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz -# Source0-md5: 77484d9351dfccc6a93d7197f43e5d58 +# Source0-md5: 4b82c32edbd5315432192799ed641930 Patch0: %{name}-DESTDIR.patch URL: http://www.apertium.org/ BuildRequires: apertium-devel >= 3.2.0 @@ -48,9 +48,6 @@ 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 -- 2.43.0