]> git.pld-linux.org Git - packages/libqalculate.git/commitdiff
EEK has fixed rate to EUR since 2011 auto/th/libqalculate-0.9.7-3
authorElan Ruusamäe <glen@delfi.ee>
Sat, 24 Oct 2015 17:28:44 +0000 (20:28 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 24 Oct 2015 17:29:00 +0000 (20:29 +0300)
currencies.patch [new file with mode: 0644]
libqalculate.spec

diff --git a/currencies.patch b/currencies.patch
new file mode 100644 (file)
index 0000000..fed6e4d
--- /dev/null
@@ -0,0 +1,42 @@
+TODO:
+- LVL
+- LTL
+
+--- libqalculate-0.9.7/data/currencies.xml     2010-01-05 17:26:32.000000000 +0200
++++ libqalculate-0.9.7/data/currencies.xml     2015-10-24 19:53:16.000000000 +0300
+@@ -161,14 +161,6 @@
+       <names>ar:CZK</names>
+       <names xml:lang="zh_CN">ar:CZK</names>
+     </builtin_unit>
+-    <builtin_unit name="EEK">
+-      <title>Estonian Kroon</title>
+-      <title xml:lang="nl">Estlandse kroon</title>
+-      <title xml:lang="sv">Estoniska kroon</title>
+-      <title xml:lang="zh_CN">爱沙尼亚克鲁恩</title>
+-      <names>ar:EEK</names>
+-      <names xml:lang="zh_CN">ar:EEK</names>
+-    </builtin_unit>
+     <builtin_unit name="HUF">
+       <title>Hungarian Forint</title>
+       <title xml:lang="nl">Hongaarse forint</title>
+@@ -486,5 +478,18 @@
+         <exponent>1</exponent>
+       </base>
+     </unit>
++    <unit type="alias">
++      <title>Estonian Kroon</title>
++      <title xml:lang="nl">Estlandse kroon</title>
++      <title xml:lang="sv">Estoniska kroon</title>
++      <title xml:lang="zh_CN">爱沙尼亚克鲁恩</title>
++      <names>ar:EEK,kroon</names>
++      <names xml:lang="zh_CN">ar:EEK,kroon</names>
++      <base>
++        <unit>EUR</unit>
++        <relation>1/15.6466</relation>
++        <exponent>1</exponent>
++      </base>
++    </unit>
+   </category>
+-</QALCULATE>
+\ No newline at end of file
++</QALCULATE>
index faae3787733267856b8ac6cc34da9d0b2f6ac853..a051f2ab8b690f090d1e6ab3430fcd4096f5d53d 100644 (file)
@@ -8,6 +8,7 @@ Group:          Libraries
 Source0:       http://downloads.sourceforge.net/qalculate/%{name}-%{version}.tar.gz
 # Source0-md5: a1507ab862f4ad9852788619aada35cd
 Patch0:                pkgconfig_private.patch
+Patch1:                currencies.patch
 URL:           http://qalculate.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -59,6 +60,7 @@ Statyczna biblioteka qalculate.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
This page took 0.109437 seconds and 4 git commands to generate.