File ktoblzcheck.spec of Package ktoblzcheck
#
# spec file for package ktoblzcheck (Version 1.23)
#
# Copyright (c) 2009 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.23
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}
%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
%configure --disable-debug --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%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}
%{__rm} -f %{buildroot}%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/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)
%_libdir/libktoblzcheck.so
/usr/include/iban.h
/usr/include/ktoblzcheck.h
%_libdir/pkgconfig/ktoblzcheck.pc
%files tools
%defattr (-, root, root)
/usr/bin/ktoblzcheck
/usr/share/man/man1/ktoblzcheck.1.gz
%changelog