LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ktoblzcheck.spec of Package ktoblzcheck (Project home:j-engel:banking)

# Copyright (c) 2005-2008 oc2pus
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments to toni@links2linux.de

# norootforbuild

%define _prefix	/usr

Name:			ktoblzcheck
Summary:		A library to check account numbers and bank codes of German banks
Version:		1.41
Release:		1.2
Source:			http://downloads.sourceforge.net/project/%{name}/%{name}-%{version}.tar.gz
Group:			Productivity/Office/Finance
License:		LGPL-2.1
URL:			http://ktoblzcheck.sourceforge.net
BuildRoot:		%{_tmppath}/%{name}-%{version}-root
Prefix:			%{_prefix}
BuildRequires:		gcc-c++
BuildRequires:		python
BuildRequires:		pkgconfig
%if 0%{?suse_version} >= 122
BuildRequires:	automake libtool
%endif

%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
Summary:	Libraries, includes etc to develop with ktoblzcheck library
Group:		Development/Libraries/C and C++
Requires:	libktoblzcheck1 = %{version}
Provides:	lib%{name}1-devel = %{version}
Obsoletes:	lib%{name}1-devel < %{version}

%description devel
Libraries, includes etc to develop with ktoblzcheck library.

Authors:
Fabian Kaiser <fabian@openhbci.de>
Christian Stimming <stimming@tuhh.de>

%package -n lib%{name}1
Summary:	Shared Libraries for ktoblzcheck
Group:		System/Libraries

%description -n lib%{name}1
Shared Libraries for ktoblzcheck.

Authors:
Fabian Kaiser <fabian@openhbci.de>
Christian Stimming <stimming@tuhh.de>

%package -n python-%{name}
Summary:	KtoBLZCheck python-bindings
Group:		Development/Libraries/Python
%py_requires
Requires:	%{name} = %{version}
Requires:	lib%{name}1 = %{version}
Requires:	python >= 2.3

%description -n python-%{name}
This package contains the python-bindings for ktoblzcheck.

Authors:
Fabian Kaiser <fabian@openhbci.de>
Christian Stimming <stimming@tuhh.de>

%prep
%setup -q
autoreconf -fi

%build
%{configure} \
	--enable-python

%__make

%install
%makeinstall pythondir=%{py_sitedir}

%clean
[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"

%post -n lib%{name}1 -p /sbin/ldconfig

%postun -n lib%{name}1 -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS README COPYING ChangeLog NEWS
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_datadir}/%{name}
%{_datadir}/%{name}/ibandata.txt
%{_datadir}/%{name}/bundesbank.pl
%{_datadir}/%{name}/online_update.pl
%{_datadir}/%{name}/bankdata_*.txt

%files -n lib%{name}1
%defattr(-,root,root)
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root)
%doc AUTHORS README COPYING ChangeLog NEWS
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_includedir}/%{name}.h
%{_includedir}/iban.h

%files -n python-%{name}
%defattr(-,root,root)
%{py_sitedir}/*

%changelog
* Fri Nov 14 2008 Toni Graffy <toni@links2linux.de> - 1.20-42.pm.1
- update to 1.20
* Wed Aug 13 2008 Toni Graffy <toni@links2linux.de> - 1.19-42.pm.1
- update to 1.19
* Fri May 16 2008 Toni Graffy <toni@links2linux.de> - 1.18-42.pm.1
- update to 1.18
* Sat Mar 01 2008 Toni Graffy <toni@links2linux.de> - 1.17-42.pm.1
- update to 1.17
* Thu Nov 08 2007 Toni Graffy <toni@links2linux.de> - 1.16-42.pm.1
- update to 1.16
* Mon Sep 03 2007 Toni Graffy <toni@links2linux.de> - 1.15-42.pm.1
- update to 1.15
* Sun Jul 08 2007 Toni Graffy <toni@links2linux.de> - 1.14-42.pm.1
- update to 1.14
- changed package layout according Shared Library Packaging Policy
* Sat Feb 17 2007 Toni Graffy <toni@links2linux.de> - 1.13-42.pm.1
- update to 1.13
* Thu Nov 23 2006 Toni Graffy <toni@links2linux.de> - 1.12-42.pm.1
- update to 1.12
* Mon Sep 18 2006 Toni Graffy <toni@links2linux.de> - 1.11-42.pm.1
- build for packman
* Thu Aug 17 2006 oc2pus <oc2pus@arcor.de> 1.11-42.oc2pus.1
- update to 1.11
- added new subpackage ktoblzcheck-devel
* Wed Feb 15 2006 oc2pus <oc2pus@arcor.de> 1.10-0.oc2pus.1
- update to 1.10
* Sun Dec 25 2005 oc2pus <oc2pus@arcor.de> 1.9-0.oc2pus.1
- update to 1.9
* Thu Nov 17 2005 oc2pus <oc2pus@arcor.de> 1.8-0.oc2pus.2
- simple rebuild for SuSE-10
* Wed Nov 09 2005 oc2pus <oc2pus@arcor.de> 1.8-0.oc2pus.1
- update to 1.8
* Thu Aug 18 2005 oc2pus <oc2pus@arcor.de> 1.7-0.oc2pus.1
- update to 1.7
* Thu Jun 30 2005 oc2pus <oc2pus@arcor.de> 1.6-0.oc2pus.1
- update to 1.6
* Wed Jun 01 2005 oc2pus <oc2pus@arcor.de> 1.5-0.oc2pus.1
- update to 1.5
- changed group to Productivity/Office/Finance
- repacked as tar.bz2
- added --enable-python option and second package python-ktoblzcheck
* Thu Mar 17 2005 oc2pus <oc2pus@arcor.de> 1.4-0.oc2pus.1
- update to 1.4
* Sat Jan 29 2005 oc2pus <oc2pus@arcor.de> 1.2-0.oc2pus.1
- Initial spec-file