Hello community,
here is the log from the commit of package libofx
checked in at Fri Oct 5 00:35:59 CEST 2007.
--------
--- GNOME/libofx/libofx.changes 2006-10-03 17:25:31.000000000 +0200
+++ /mounts/work_src_done/STABLE/libofx/libofx.changes 2007-10-04 17:43:29.507926000 +0200
@@ -1,0 +2,7 @@
+Thu Oct 4 17:28:49 CEST 2007 - maw@suse.de
+
+- Split out a libofx3 subpackage
+- Add %post and %postun sections
+- Minor specfile cleanups.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libofx.spec ++++++
--- /var/tmp/diff_new_pack.m24120/_old 2007-10-05 00:35:52.000000000 +0200
+++ /var/tmp/diff_new_pack.m24120/_new 2007-10-05 00:35:52.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libofx (Version 0.8.2)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -11,17 +11,17 @@
# norootforbuild
Name: libofx
-BuildRequires: curl-devel doxygen gcc-c++ graphviz libxml++-devel opensp-devel pkgconfig
-%define prefix /usr
-License: GPL
+BuildRequires: curl-devel doxygen fdupes gcc-c++ graphviz libxml++-devel opensp-devel pkgconfig
+License: GPL v2 or later
Group: Development/Libraries/Other
-Autoreqprov: on
+AutoReqProv: on
Version: 0.8.2
-Release: 1
+Release: 94
Summary: OFX Command Parser and API
-URL: http://libofx.sourceforge.net/
+Url: http://libofx.sourceforge.net/
Source: libofx-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: libofx3
%description
LibOFX is a parser and API designed to allow applications to support
@@ -39,6 +39,27 @@
--------
Benoit Gr�goire
+%package -n libofx3
+Group: Development/Libraries/Other
+Summary: OFX Command Parser and API
+Requires: %{name} >= %{version}
+
+%description -n libofx3
+LibOFX is a parser and API designed to allow applications to support
+OFX command responses, usually provided by financial institutions for
+statement downloads. The author says, "To my knowledge, it is the first
+working OpenSource implementations of the OFX (Open Financial eXchange)
+specification on the client side. This project was first started as my
+end of degree project, with the goal of adding OFX support to GnuCash.
+It has since evolved into a generic library, so all OpenSource
+Financial software can benefit from it."
+
+
+
+Authors:
+--------
+ Benoit Gr�goire
+
%package devel
Group: Development/Libraries/Other
Summary: OFX Command Parser and API
@@ -61,23 +82,14 @@
Benoit Gr�goire
%prep
-%setup -q -n libofx-%{version}
-# Force latest libxml++
-sed -i 's/libxml++-1\.0/libxml++-2.6/' configure configure.in
+%setup
chmod -x doc/ofx_sample_files/ofx_spec160_stmtrs_example.sgml
%build
%{?suse_update_config:%{suse_update_config -f}}
-#libtoolize --force
-#aclocal
-#automake -a
-#autoconf
-CFLAGS="$RPM_OPT_FLAGS" \
-CXXFLAGS="$RPM_OPT_FLAGS" \
-./configure --prefix=%{prefix} \
- --mandir=%{_mandir} \
- --infodir=%{_infodir} \
- --libdir=%{_libdir} \
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS"
+%configure \
--with-opensp-libs=%{_libdir}
make %{?jobs:-j%jobs} docdir=%{_defaultdocdir}/%{name}
@@ -86,9 +98,15 @@
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}
mv $RPM_BUILD_ROOT%{_datadir}/doc/libofx $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
rm $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/INSTALL
-#cp -a AUTHORS COPYING ChangeLog NEWS README totest.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/
cp -a doc/ofx_sample_files/*.* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/
cp -a doc/html $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/
+%fdupes $RPM_BUILD_ROOT
+
+%post -n libofx3
+/sbin/ldconfig
+
+%postun -n libofx3
+/sbin/ldconfig
%files
%defattr(-,root,root)
@@ -96,9 +114,12 @@
%doc %dir %{_defaultdocdir}/%{name}/[ACNR]*
%doc %dir %{_defaultdocdir}/%{name}/*.txt
%{_bindir}/*
-%{_libdir}/*.so.*
%{_datadir}/libofx
+%files -n libofx3
+%defattr (-, root, root)
+%{_libdir}/*.so.*
+
%files devel
%defattr(-,root,root)
%doc %{_defaultdocdir}/%{name}/html
@@ -111,8 +132,11 @@
%clean
rm -rf $RPM_BUILD_ROOT
-
-%changelog -n libofx
+%changelog
+* Thu Oct 04 2007 - maw@suse.de
+- Split out a libofx3 subpackage
+- Add %%post and %%postun sections
+- Minor specfile cleanups.
* Tue Oct 03 2006 - sbrabec@suse.cz
- Updated to version 0.8.2:
* bug fixes for GCC4.x and 64-bit compatibility
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org