]> git.pld-linux.org Git - packages/apertium-dict-es-ro.git/commitdiff
- updated to 0.7.3 master auto/th/apertium-dict-es-ro-0.7.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Dec 2015 16:40:16 +0000 (17:40 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Dec 2015 16:40:16 +0000 (17:40 +0100)
- updated apertium32 patch (now it adds apertium 3.3+ support)
- removed obsolete DESTDIR,fix,install patches

apertium-dict-es-ro-DESTDIR.patch [deleted file]
apertium-dict-es-ro-apertium32.patch
apertium-dict-es-ro-fix.patch [deleted file]
apertium-dict-es-ro-install.patch [deleted file]
apertium-dict-es-ro.spec

diff --git a/apertium-dict-es-ro-DESTDIR.patch b/apertium-dict-es-ro-DESTDIR.patch
deleted file mode 100644 (file)
index ab351d6..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
---- apertium-es-ro-0.7.1/Makefile.am.orig      2007-10-11 21:06:30.000000000 +0200
-+++ apertium-es-ro-0.7.1/Makefile.am   2011-01-02 12:27:14.809901529 +0100
-@@ -91,8 +91,8 @@
- install-data-local:
-       apertium-gen-modes modes.xml apertium-$(PREFIX1)
- # spanish -> romanian is not currently functional ~fmt
--#     $(INSTALL_DATA) $(PREFIX1).mode $(apertium_es_modesdir)
--      $(INSTALL_DATA) $(PREFIX2).mode $(apertium_es_modesdir)
--      $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX2).xml $(BASENAME).trules-$(PREFIX1).xml $(apertium_es_rodir)
-+#     $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_es_modesdir)
-+      $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_es_modesdir)
-+      $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX2).xml $(BASENAME).trules-$(PREFIX1).xml $(DESTDIR)$(apertium_es_rodir)
- CLEANFILES = -rf $(TARGETS) modes
index 2e91e5d2783912f2be12fd4cade077b232364904..85ed027fa94b533aa498f21fbff4ad05ac60b333 100644 (file)
@@ -1,12 +1,17 @@
---- apertium-es-ro-0.7.1/configure.ac.orig     2007-10-11 21:06:44.000000000 +0200
-+++ apertium-es-ro-0.7.1/configure.ac  2011-01-02 11:19:51.217906558 +0100
-@@ -13,6 +13,8 @@
- AC_CONFIG_HEADER([config])
- PKG_CHECK_MODULES(apertium, [dnl
--  apertium-3.0 >= required_apertium_version])
-+  apertium-3.0 >= required_apertium_version],,
-+  [PKG_CHECK_MODULES(apertium, [apertium-3.1 >= 3.1.0],,
-+    [PKG_CHECK_MODULES(apertium, [apertium-3.2 >= 3.2.0])])])
-   
- AC_OUTPUT([Makefile])
+--- apertium-es-ro-0.7.3/configure.ac.orig     2015-12-29 16:58:02.972654803 +0100
++++ apertium-es-ro-0.7.3/configure.ac  2015-12-29 17:16:25.705941861 +0100
+@@ -32,8 +32,13 @@
+                   APERTIUM_VER=31
+               ],
+               [
+-                  PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0)
++                  PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0,
++                [
+                   APERTIUM_VER=32
++                ],
++                [PKG_CHECK_MODULES(APERTUM, apertium >= 3.3.0)
++                 APERTIUM_VER=3
++                ])
+               ])
+           ])
+       ])
diff --git a/apertium-dict-es-ro-fix.patch b/apertium-dict-es-ro-fix.patch
deleted file mode 100644 (file)
index 52bed12..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
---- apertium-es-ro-0.7.1/apertium-es-ro.trules-ro-es.xml.orig  2007-10-11 21:04:49.000000000 +0200
-+++ apertium-es-ro-0.7.1/apertium-es-ro.trules-ro-es.xml       2011-01-02 14:57:38.409901529 +0100
-@@ -4545,8 +4545,6 @@
-                   <clip pos="3" side="sl" part="a_case"/>
-                   <lit-tag v="nom"/>
-                 </equal>
--              </and>
--              <and>
-                 <equal>
-                   <clip pos="4" side="sl" part="a_def"/>
-                   <lit-tag v="def"/>
-@@ -4676,8 +4674,6 @@
-                   <clip pos="2" side="sl" part="a_case"/>
-                   <lit-tag v="nom"/>
-                 </equal>
--              </and>
--              <and>
-                 <equal>
-                   <clip pos="3" side="sl" part="a_def"/>
-                   <lit-tag v="def"/>
-@@ -4984,8 +4980,6 @@
-                   <clip pos="2" side="sl" part="a_case"/>
-                   <lit-tag v="nom"/>
-                 </equal>
--              </and>
--              <and>
-                 <equal>
-                   <clip pos="3" side="sl" part="a_def"/>
-                   <lit-tag v="def"/>
-@@ -5115,8 +5109,6 @@
-                   <clip pos="2" side="sl" part="a_case"/>
-                   <lit-tag v="nom"/>
-                 </equal>
--              </and>
--              <and>
-                 <equal>
-                   <clip pos="3" side="sl" part="a_def"/>
-                   <lit-tag v="def"/>
-@@ -5758,6 +5750,7 @@
-          <choose>
-           <when>
-              <test>
-+            <and>
-                <equal>
-                   <clip pos="1" side="sl" part="a_case"/>
-                   <lit-tag v="nom"/>
-@@ -5766,6 +5759,7 @@
-               <clip pos="1" side="sl" part="a_def"/>
-               <lit-tag v="def"/>
-             </equal>
-+           </and>
-              </test>
-              <call-macro n="modcase">
-                <with-param pos="1"/>
diff --git a/apertium-dict-es-ro-install.patch b/apertium-dict-es-ro-install.patch
deleted file mode 100644 (file)
index 41b5391..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- apertium-es-ro-0.7.1/Makefile.am.orig      2011-01-02 14:58:35.629905720 +0100
-+++ apertium-es-ro-0.7.1/Makefile.am   2011-01-02 15:10:59.653898177 +0100
-@@ -86,7 +86,7 @@
-       $(PREFIX1).autopgen.bin $(PREFIX2).autopgen.bin \
-       $(PREFIX1).prob $(PREFIX2).prob trules-$(PREFIX1).xml \
-       trules-$(PREFIX2).xml trules-$(PREFIX1).bin \
--      trules-$(PREFIX2).bin $(PREFIX1).mode $(PREFIX2).mode
-+      trules-$(PREFIX2).bin $(PREFIX2).mode
- install-data-local:
-       apertium-gen-modes modes.xml apertium-$(PREFIX1)
index a40c61ff75d2075cbf894184f7049214d2677762..ef992bd35d76c2ad91c92f2d2c11e0ce868c31d9 100644 (file)
@@ -2,16 +2,13 @@ Summary:      Spanish-Romanian language pair for Apertium
 Summary(pl.UTF-8):     Para języków hiszpański-rumuński dla Apertium
 %define        lpair   es-ro
 Name:          apertium-dict-%{lpair}
-Version:       0.7.1
+Version:       0.7.3
 Release:       1
 License:       GPL v3
 Group:         Applications/Text
 Source0:       http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz
-# Source0-md5: 9de6e21ddf8dfb65a6b09b430e8ab600
-Patch0:                %{name}-DESTDIR.patch
-Patch1:                %{name}-apertium32.patch
-Patch2:                %{name}-fix.patch
-Patch3:                %{name}-install.patch
+# Source0-md5: f3897699ee1875b1517d2871370b3b49
+Patch0:                %{name}-apertium32.patch
 URL:           http://www.apertium.org/
 BuildRequires: apertium-devel >= 3.2.0
 BuildRequires: autoconf >= 2.52
@@ -35,9 +32,6 @@ oznaczania części mowy w obu językach.
 %prep
 %setup -q -n apertium-%{lpair}-%{version}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
 
 %build
 %{__aclocal}
@@ -55,9 +49,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
 
This page took 0.045182 seconds and 4 git commands to generate.