File ktoblzcheck.spec of Package ktoblzcheck
#
# spec file for package ktoblzcheck (Version 1.19)
#
# Copyright (c) 2008 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ktoblzcheck
BuildRequires: gcc-c++ pkgconfig
License: LGPL v2.1 or later
Group: System/Libraries
AutoReqProv: on
Version: 1.19
Release: 1
Summary: Library to check account numbers and bank codes of German banks documents
Source: %name-%{version}.tar.bz2
Url: http://ktoblzcheck.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
KtoBLZCheck is a library to check account numbers and bank codes of
German banks. Both a library for other programs as well as a short
command-line tool is available. It is possible to check pairs of
account numbers and bank codes (BLZ) of German banks, and to map bank
codes (BLZ) to the clear-text name and location of the bank.
Authors:
--------
Fabian Kaiser <fabian@openhbci.de>
Christian Stimming <stimming@tuhh.de>
%package devel
License: LGPL v2.1 or later
Group: System/Libraries
Summary: Library to check account numbers and bank codes of German banks documents
Requires: %{name} = %{version} libstdc++-devel
%description devel
KtoBLZCheck is a library to check account numbers and bank codes of
German banks. Both a library for other programs as well as a short
command-line tool is available. It is possible to check pairs of
account numbers and bank codes (BLZ) of German banks, and to map bank
codes (BLZ) to the clear-text name and location of the bank.
Authors:
--------
Fabian Kaiser <fabian@openhbci.de>
Christian Stimming <stimming@tuhh.de>
%package tools
License: LGPL v2.1 or later
Group: Productivity/Office/Finance
Summary: Tools to check account numbers and bank codes
Requires: %{name} = %{version} libstdc++-devel
%description tools
KtoBLZCheck is a library to check account numbers and bank codes of
German banks. Both a library for other programs as well as a short
command-line tool is available. It is possible to check pairs of
account numbers and bank codes (BLZ) of German banks, and to map bank
codes (BLZ) to the clear-text name and location of the bank.
Authors:
--------
Fabian Kaiser <fabian@openhbci.de>
Christian Stimming <stimming@tuhh.de>
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=%_prefix \
--disable-debug \
--libdir=%_libdir
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
# mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
# mv $RPM_BUILD_ROOT/usr/man/man1/ktoblzcheck.1 $RPM_BUILD_ROOT/usr/share/man/man1/
cp -p AUTHORS ChangeLog COPYING INSTALL NEWS README README.WIN32 TODO $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
%post
%run_ldconfig
%postun
%run_ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%_libdir/libktoblzcheck.so*
/usr/share/ktoblzcheck
/usr/share/doc/packages/ktoblzcheck
%files devel
%defattr (-, root, root)
/usr/include/iban.h
/usr/include/ktoblzcheck.h
%_libdir/libktoblzcheck.la
%_libdir/pkgconfig/ktoblzcheck.pc
%files tools
%defattr (-, root, root)
/usr/bin/ktoblzcheck
/usr/share/man/man1/ktoblzcheck.1.gz
%changelog
* Sun Aug 17 2008 stbinner@suse.de
- update to version 1.19:
* Two new calculation methods have been added.
* Online-update accepts wget instead of lynx as well.
* New bank data file added.
* Mon Jun 16 2008 stbinner@suse.de
- update to version 1.18:
* Updated bankdata file, now valid from 2008-06-09 onwards.
* New methods C8 and C9, valid from 6. June 2008.
* Tue Mar 25 2008 stbinner@suse.de
- update to version 1.17: Handling of the timezone has been fixed.
Code had been cleaned up for gcc-4.3. New bank data file added.
* Fri Nov 09 2007 dmueller@suse.de
- fix build with gcc 4.3
* Thu Nov 08 2007 stbinner@suse.de
- update to version 1.16:
* Updated bankdata file, now valid from 2007-12-03 onwards.
* New methods C7. Valid from 3. December 2007.
* Tue Oct 23 2007 stbinner@suse.de
- fix build with gcc 4.3
* Wed Sep 26 2007 stbinner@suse.de
- update to version 1.15:
* New methods C5 and C6. Valid from 3. September 2007.
* Fixing method 74/Ausnahme to accept leading zeros.
* Converted methods 74 and 87 to two-arguent notation.
* Updated bankdata file, now valid from 2007-09-03 onwards.
* Mon Jul 09 2007 stbinner@suse.de
- update to version 1.14:
* Updated bankdata file, now valid from 2007-06-04 onwards.
* Fixing method 74/Ausnahme: 6-digit Account numbers with last
number [5-9] computed incorrect results.
* Mon Feb 19 2007 stbinner@suse.de
- update to version 1.13:
* Updated bankdata file, now valid from 2007-03-05 onwards.
* Fixing wrong implementation of Pruefmethode 02 and similar
methods 04, 07, 14, 58, 85/a, A2/v2, B2/v1, B4/v2, C3/v2, C4/v2.
* New methods C3 and C4. Valid from 5. March 2007.
* New version of Pruefzifferberechnungsmethode 57 used by Citybank.
* Tue Dec 05 2006 stbinner@suse.de
- update to version 1.12:
* Updated bankdata file, now valid from 2006-12-04 onwards.
* configure.ac: Fix/improve internal libs flags
* src/python/ktoblzcheck.py: Fix python wrapper with ctypes>=0.9.9
* Wed Aug 16 2006 stbinner@suse.de
- update to version 1.11:
* Updated bankdata file, now valid from 2006-09-04 onwards.
* Mon Jul 24 2006 stbinner@suse.de
- update to version 1.10:
* Updated bankdata file
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 02 2006 stbinner@suse.de
- update to version 1.9
* Sun Dec 18 2005 stbinner@suse.de
- fix filelist
* Thu Oct 20 2005 stbinner@suse.de
- New package, initial version 1.7