]> git.pld-linux.org Git - packages/ktoblzcheck.git/blob - ktoblzcheck.spec
- updated to 1.8
[packages/ktoblzcheck.git] / ktoblzcheck.spec
1 Summary:        A library to check account numbers and bank codes of German banks
2 Summary(pl):    Biblioteka do sprawdzania numerów kont i kodów bankowych niemieckich banków
3 Name:           ktoblzcheck
4 Version:        1.8
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/ktoblzcheck/%{name}-%{version}.tar.gz
9 # Source0-md5:  5db25fb27011b94a697fef215632e6c4
10 URL:            http://ktoblzcheck.sourceforge.net/
11 BuildRequires:  libstdc++-devel
12 BuildRequires:  python-devel >= 1:2.3
13 BuildRequires:  rpm-pythonprov
14 %requires_eq    python-libs
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 KtoBLZCheck is a library to check account numbers and bank codes of
19 German banks.
20
21 Both a library for other programs as well as a short command-line tool
22 is available. It is possible to check pairs of account numbers and
23 bank codes (BLZ) of German banks, and to map bank codes (BLZ) to the
24 clear-text name and location of the bank.
25
26 %description -l pl
27 KtoBLZCheck to biblioteka do sprawdzania numerów kont i kodów
28 bankowych niemieckich banków.
29
30 Dostêpna jest zarówno biblioteka jak i proste narzêdzie dzia³aj±ce z
31 linii poleceñ. Pozwalaj± na sprawdzenie par numerów kont i kodów
32 bankowych (BLZ) niemieckich banków oraz na zamianê kodów bankowych
33 (BLZ) na tekstow± nazwê oraz lokalizacjê banku.
34
35 %package devel
36 Summary:        Header files for KtoBLZCheck library
37 Summary(pl):    Pliki nag³ówkowe biblioteki KtoBLZCheck
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       libstdc++-devel
41
42 %description devel
43 Header files for KtoBLZCheck library.
44
45 %description devel -l pl
46 Pliki nag³ówkowe biblioteki KtoBLZCheck.
47
48 %package static
49 Summary:        Static KtoBLZCheck library
50 Summary(pl):    Statyczna biblioteka KtoBLZCheck
51 Group:          Development/Libraries
52 Requires:       %{name}-devel = %{version}-%{release}
53
54 %description static
55 Static KtoBLZCheck library.
56
57 %description static -l pl
58 Statyczna biblioteka KtoBLZCheck.
59
60 %package -n python-ktoblzcheck
61 Summary:        Python binding for KtoBLZCheck library
62 Summary(pl):    Wi±zanie Pythona dla biblioteki KtoBLZCheck
63 Group:          Development/Languages/Python
64 Requires:       %{name} = %{version}-%{release}
65 Requires:       python-ctypes
66
67 %description -n python-ktoblzcheck
68 Python binding for KtoBLZCheck library.
69
70 %description -n python-ktoblzcheck -l pl
71 Wi±zanie Pythona dla biblioteki KtoBLZCheck.
72
73 %prep
74 %setup -q
75
76 %build
77 %configure \
78         --enable-python \
79         --enable-static
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/ktoblzcheck.py
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc AUTHORS ChangeLog NEWS README
99 %attr(755,root,root) %{_bindir}/ktoblzcheck
100 %attr(755,root,root) %{_libdir}/libktoblzcheck.so.*.*.*
101 %dir %{_datadir}/%{name}
102 %{_datadir}/%{name}/*.txt
103 %attr(755,root,root) %{_datadir}/%{name}/*.pl
104 %{_mandir}/man1/ktoblzcheck.1*
105
106 %files devel
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/libktoblzcheck.so
109 %{_libdir}/libktoblzcheck.la
110 %{_includedir}/*.h
111 %{_pkgconfigdir}/ktoblzcheck.pc
112
113 %files static
114 %defattr(644,root,root,755)
115 %{_libdir}/libktoblzcheck.a
116
117 %files -n python-ktoblzcheck
118 %defattr(644,root,root,755)
119 %{py_sitescriptdir}/ktoblzcheck.py[co]
This page took 0.145471 seconds and 3 git commands to generate.