diff --git a/gnucash-2.6.5.tar.gz b/gnucash-2.6.5.tar.gz deleted file mode 100644 index 0966018..0000000 --- a/gnucash-2.6.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:07ad56ea1d988d1b3e2e76da98b5cb8c7982b37fd48560d66bc0da3c37499b36 -size 18373934 diff --git a/gnucash-2.6.6.tar.gz b/gnucash-2.6.6.tar.gz new file mode 100644 index 0000000..13b5815 --- /dev/null +++ b/gnucash-2.6.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4b123715a695eb553db1548e6321c1e4d25ee72edd30780ac6e9f65db865e6e +size 18910544 diff --git a/gnucash-cpan-warning.patch b/gnucash-cpan-warning.patch index a272989..9e46dc4 100644 --- a/gnucash-cpan-warning.patch +++ b/gnucash-cpan-warning.patch @@ -2,9 +2,9 @@ Index: src/quotes/gnc-fq-update.in =================================================================== --- src/quotes/gnc-fq-update.in.orig +++ src/quotes/gnc-fq-update.in -@@ -36,6 +36,32 @@ if ($( != 0) { - exit 0 if ($input ne "y"); - } +@@ -24,11 +24,36 @@ + use strict; + use CPAN; +print "\n"; +print "WARNING: This program updates several Perl packages to untested latest\n"; @@ -21,7 +21,6 @@ Index: src/quotes/gnc-fq-update.in +chomp ($input); + +exit 0 if ($input ne "y"); -+ +print "\n\n"; +print "It invalidates your system certification!\n"; +print "\n"; @@ -32,6 +31,12 @@ Index: src/quotes/gnc-fq-update.in + +exit 0 if ($input ne "n"); + - CPAN::Shell->install('Date::Manip'); - CPAN::Shell->install('HTML::TableExtract'); - CPAN::Shell->install('HTTP::Request::Common'); + if ($( != 0) { + print "\n"; + print "You probably need to be root before running gnc-fq-update."; + print "\n\n"; +- print "Are you sure, you want to update parts of your Perl library? (y/n) "; ++ print "Are you sure, you want to update parts of your Perl library (RECONSIDER - Last warning!)? (y/n) "; + + my $input = ; + chomp ($input); diff --git a/gnucash.changes b/gnucash.changes index b41e600..ac63d94 100644 --- a/gnucash.changes +++ b/gnucash.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Tue Apr 7 16:21:03 UTC 2015 - dimstar@opensuse.org + +- Update to version 2.6.6: + + Let CPAN and ActiveState package managers take care of + dependencies instead of explicitly installing a few of them + directly. + + Correct the number field displayed in the reconcile window to + correspond with the source specified in File->Options. + + Fix some bugs found by SWIG version 3.0.5. Prior to version + 3.0.3 SWIG silently ignored invalid preprocessor directives. + + Scrubbing Improvements, including avoiding a potential infinite + loop. + + Remove build and run of no-longer-existant + intl-scm/guile-strings. + + Rewrite gnc-test-env in perl. This eliminates another guile + dependency in the build chain. + + Switch from guile to xml to manage our iso-currencies source + file. + + Numeric values with more than commodity smallest fraction get + silently dropped. + + Update US Income Tax data to reflect minor changes for 2014. + + Advanced portfolio should respect report date when looking for + other income/expense. + + Improve income and expense reporting in advanced portfolio + report. + + Accept prices of the form n.nnne[+-]nn, i.e. with an exponent. + An example requiring this is currency conversion from IDR to + USD. + + Added Lithuanian language business accounts. + + Fix crash when running check & repair on an open AP/AR + register. + + Bugs fixed: bgo#619899, bgo#649933, bgo#672760, bgo#721196, + bgo#723409, bgo#727466, bgo#727647, bgo#731889, bgo#733685, + bgo#738749, bgo#739228, bgo#739584, bgo#740471, bgo#741228, + bgo#742089, bgo#742332, bgo#742624, bgo#743609, bgo#743807, + bgo#745265, bgo#745354, bgo#746517, bgo#746977. + + Updated translations. +- Rebase gnucash-cpan-warning.patch. + +------------------------------------------------------------------- +Wed Mar 4 09:57:18 UTC 2015 - dimstar@opensuse.org + +- Switch to guile 2: + + Change libguile1-devel BuildRequires to guile-devel. + + Change guile1 Requires to guile. + + Drop obsolete conditions to work around guile1 packaging + issues in older openSUSE releases. + ------------------------------------------------------------------- Wed Jan 28 16:21:25 UTC 2015 - zaitor@opensuse.org diff --git a/gnucash.spec b/gnucash.spec index 0f5e080..3f3061f 100644 --- a/gnucash.spec +++ b/gnucash.spec @@ -17,13 +17,13 @@ Name: gnucash -Version: 2.6.5 +Version: 2.6.6 Release: 0 Summary: Personal Finance Manager License: SUSE-GPL-2.0-with-openssl-exception or SUSE-GPL-3.0-with-openssl-exception Group: Productivity/Office/Finance Url: http://www.gnucash.org/ -Source: http://downloads.sourceforge.net/project/gnucash/gnucash%20%28stable%29/2.6.5/%{name}-%{version}.tar.gz +Source: http://downloads.sourceforge.net/project/gnucash/gnucash%20%28stable%29/%{version}/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches Patch0: gnucash-cpan-warning.patch @@ -33,14 +33,10 @@ BuildRequires: automake BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: guile-devel BuildRequires: intltool BuildRequires: libdbi-devel BuildRequires: libdbi-drivers-dbd-sqlite3 -%if 0%{?suse_version} >= 1210 -BuildRequires: libguile1-devel -%else -BuildRequires: guile-devel -%endif BuildRequires: libofx-devel BuildRequires: libtool BuildRequires: python-devel >= 2.4 @@ -62,21 +58,7 @@ BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(webkit-1.0) #BuildRequires: callgrind # tested but unused BuildRequires: readline-devel qt3-devel termcap - -# In openSUSE 12.2, guile1 packaging was fixed to have the .so files in the main package -%if 0%{?suse_version} > 1210 -Requires: guile1 -%else -%if 0%{?suse_version} == 1210 -# on 12.1, guile1 was 'broken' and we require libguile1-devel -# ERROR: In procedure dynamic-link: -# ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found" -Requires: libguile1-devel -%else -# Before openSUSE 12.1, guile 2 was not existing, so guile == guile1 Requires: guile -%endif -%endif # Required to make quotes working. Gnucash can run without quotes support: Requires: perl-Crypt-SSLeay Requires: perl-Date-Manip @@ -117,11 +99,7 @@ Summary: Personal Finance Manager Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: gtk2-devel -%if %{?suse_version} >= 1210 -Requires: libguile1-devel -%else Requires: guile-devel -%endif Requires: libglade2-devel Requires: libgnomeui-devel @@ -148,6 +126,7 @@ balanced books. autoreconf -fiv %configure\ --libexecdir=%{_libexecdir}\ + --docdir=%{_docdir}/%{name} \ --enable-ofx\ --enable-aqbanking\ --enable-locale-specific-tax\ @@ -195,7 +174,6 @@ rm -rf %{buildroot} %dir %{_datadir}/appdata %{_datadir}/appdata/gnucash.appdata.xml %{_datadir}/applications/*.desktop -%{_datadir}/doc/gnucash/ %{_datadir}/glib-2.0/schemas/org.gnucash.*.xml %{_datadir}/gnucash/ %{_datadir}/icons/hicolor/*/apps/gnucash-icon.png