diff --git a/gnucash-docs-2.4.1.svn.tar.xz b/gnucash-docs-2.4.1.svn.tar.xz new file mode 100644 index 0000000..df1e324 --- /dev/null +++ b/gnucash-docs-2.4.1.svn.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:775eef2e4e83e3039d4b5154d1b2e398e58b5118d2e783137928bb32b8f57f90 +size 34044939 diff --git a/gnucash-docs-2.4.1.tar.gz b/gnucash-docs-2.4.1.tar.gz deleted file mode 100644 index b1dbee5..0000000 --- a/gnucash-docs-2.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28517368a77786b2a31b568fa3a8fd5b159bf0776deee52a51af8658c43c8221 -size 34037913 diff --git a/gnucash-docs-fixup.patch b/gnucash-docs-fixup.patch new file mode 100644 index 0000000..9637162 --- /dev/null +++ b/gnucash-docs-fixup.patch @@ -0,0 +1,15 @@ +Index: help/de_DE/Makefile.am +=================================================================== +--- help/de_DE/Makefile.am (revision 22269) ++++ help/de_DE/Makefile.am (working copy) +@@ -7,7 +7,9 @@ + legal.xml \ + chartofaccts.xml \ + chtacctseg.xml \ +- txf-categories.xml ++ txf-categories.xml \ ++ Help_ch_GettingStarted.xml \ ++ Help_ch_Intro.xml + DISTCLEANFILES = $(docname)-de_DE.omf.out + CLEANFILES = $(DISTCLEANFILES) + include $(top_srcdir)/xmldocs.make diff --git a/gnucash-docs.changes b/gnucash-docs.changes index 616be18..13d49fc 100644 --- a/gnucash-docs.changes +++ b/gnucash-docs.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Jul 20 20:27:18 UTC 2012 - dimstar@opensuse.org + +- Add a self created source tarball, directly exported from svn. + The upstream provided tarball misses a bunch of file (notably in + the german language), which are all in svn, but due them not + being listed in Makefile.am, make dist did not add them to the + tarball (Addresses part of bnc#771530). +- Add gnucash-docs-fixup.patch: mark the missing files to be + installed as well. +- Add libtool BuildRequires and call autogen.sh in build section, + as this tarball has not been preprocessed at all. + ------------------------------------------------------------------- Mon Sep 26 20:54:41 UTC 2011 - andrea.turrini@gmail.com diff --git a/gnucash-docs.spec b/gnucash-docs.spec index 4149f88..f37e131 100644 --- a/gnucash-docs.spec +++ b/gnucash-docs.spec @@ -1,7 +1,7 @@ # # spec file for package gnucash-docs # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,19 +16,24 @@ # - Name: gnucash-docs -Version: 2.4.1 -Release: 1 -License: GFDL-1.1 ; GPL-2.0+ +Version: 2.4.1.svn +Release: 0 Summary: Documentation Module for GnuCash -Url: http://www.gnucash.org/ +License: GFDL-1.1 ; GPL-2.0+ Group: Productivity/Office/Finance -Source: http://downloads.sourceforge.net/project/gnucash/gnucash-docs/2.4.1/%{name}-%{version}.tar.gz +Url: http://www.gnucash.org/ +#Source: http://downloads.sourceforge.net/project/gnucash/gnucash-docs/2.4.1/%{name}-%{version}.tar.gz +# The upstream tarball is actually rather broken, missing a bunch of files, which are all in svn. So we ship an +# own tarball, which was created using "svn export http://code.gnucash.org/repo/gnucash-docs/tags/2.4.1 gnucash-docs-2.4.1.svn" +Source: %{name}-%{version}.tar.xz +Patch0: gnucash-docs-fixup.patch BuildRequires: fdupes BuildRequires: kdelibs3-doc # Only for directory ownership: BuildRequires: libgnome +# Needed for the svn exported tarball. +BuildRequires: libtool BuildRequires: scrollkeeper BuildRequires: sgml-skel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -43,8 +48,11 @@ balanced books. This is the documentation module for GnuCash. %prep %setup -q +%patch0 -p0 %build +# Needed for the svn exported tarball. +./autogen.sh %configure make %{?_smp_mflags}