Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:raulgs:gtk2_win
mingw32-ktoblzcheck
mingw32-ktoblzcheck.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-ktoblzcheck.spec of Package mingw32-ktoblzcheck
# 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 with_python 1 %define _name ktoblzcheck Name: mingw32-%{_name} Summary: A library to check account numbers and bank codes of German banks Version: 1.53 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 BuildRequires: mingw32-cross-cmake BuildRequires: doxygen BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-pkg-config %if %{with_python} BuildRequires: mingw32-python BuildRequires: mingw32-python-devel BuildRequires: python %endif %_mingw32_package_header_debug BuildArch: noarch %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: mingw32-libktoblzcheck1 = %{version} Provides: mingw32-lib%{_name}1-devel = %{version} Obsoletes: mingw32-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 mingw32-lib%{_name}1 Summary: Shared Libraries for ktoblzcheck Group: System/Libraries %description -n mingw32-lib%{_name}1 Shared Libraries for ktoblzcheck. Authors: Fabian Kaiser <fabian@openhbci.de> Christian Stimming <stimming@tuhh.de> %if %{with_python} %package -n mingw32-python-%{_name} Summary: KtoBLZCheck python-bindings Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: mingw32-lib%{_name}1 = %{version} Requires: mingw32-python >= 2.3 %description -n mingw32-python-%{_name} This package contains the python-bindings for ktoblzcheck. Authors: Fabian Kaiser <fabian@openhbci.de> Christian Stimming <stimming@tuhh.de> %endif %_mingw32_debug_package %prep %autosetup -p1 -n %{_name}-%{version} %build %_mingw32_cmake -DINSTALL_RAW_BANKDATA_FILE=1 -DENABLE_BANKDATA_DOWNLOAD=0 %_mingw32_cmake_build %install %if %{with_python} %define _mingw32_py_dir %(echo `find %{_mingw32_libdir} -name 'python*' -type d`) %define _mingw32_py_sitedir %{_mingw32_py_dir}/site-packages %_mingw32_cmake_install # Fix for Python files being installed in a host-specific Python directory. # There seems to be a problem with the find_package support for Python provided by cmake, # which finds the host's Python installation when it was actually restricted to the # mingw32 prefix by mingw32-cmake. if test -d %{buildroot}%{py_sitedir}/; then mkdir -p %{buildroot}%{_mingw32_py_sitedir} mv %{buildroot}%{py_sitedir}/* %{buildroot}%{_mingw32_py_sitedir} rm -rf %{buildroot}%{py_sitedir} fi if test -f %{buildroot}%{_mingw32_py_sitedir}/*.pyc; then rm %{buildroot}%{_mingw32_py_sitedir}/*.pyc fi if test -f %{buildroot}%{_mingw32_py_sitedir}/*.pyo; then rm %{buildroot}%{_mingw32_py_sitedir}/*.pyo fi %else %_mingw32_cmake_install %endif # make copy for aqbanking cp %{buildroot}%{_mingw32_datadir}/%{_name}/bankdata*.txt %{buildroot}%{_mingw32_datadir}/%{_name}/bankdata.txt cp %{buildroot}%{_mingw32_datadir}/%{_name}/blz*.txt %{buildroot}%{_mingw32_datadir}/%{_name}/blz.txt %clean [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc AUTHORS README.md COPYING ChangeLog NEWS %{_mingw32_bindir}/%{_name}.exe %{_mingw32_bindir}/ibanchk.exe %{_mingw32_mandir}/man1/*.1* %dir %{_mingw32_datadir}/%{_name} %{_mingw32_datadir}/%{_name}/ibandata.txt %{_mingw32_datadir}/%{_name}/bankdata*.txt %{_mingw32_datadir}/%{_name}/blz*.txt %files -n mingw32-lib%{_name}1 %defattr(-,root,root) %{_mingw32_bindir}/*.dll %files devel %defattr(-,root,root) %doc AUTHORS README.md COPYING ChangeLog NEWS %{_mingw32_datadir}/doc/%{_name} %{_mingw32_libdir}/*.dll.a %{_mingw32_libdir}/cmake/KtoBlzCheck %{_mingw32_libdir}/pkgconfig/%{_name}.pc %{_mingw32_includedir}/%{_name}.h %{_mingw32_includedir}/iban.h %if %{with_python} %files -n mingw32-python-%{_name} %defattr(-,root,root) %dir %{_mingw32_py_dir} %dir %{_mingw32_py_sitedir} %{_mingw32_py_sitedir}/* %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor