]>
Commit | Line | Data |
---|---|---|
2a3de659 | 1 | Summary: A library to check account numbers and bank codes of German banks |
73f0235f | 2 | Summary(pl.UTF-8): Biblioteka do sprawdzania numerów kont i kodów bankowych niemieckich banków |
2a3de659 | 3 | Name: ktoblzcheck |
fd83ac01 | 4 | Version: 1.45 |
97e74017 | 5 | Release: 3 |
2a3de659 JB |
6 | License: LGPL v2+ |
7 | Group: Libraries | |
d1e18bff | 8 | Source0: http://downloads.sourceforge.net/ktoblzcheck/%{name}-%{version}.tar.gz |
fd83ac01 | 9 | # Source0-md5: 80719a2920a40c6a01fa2a70ecc23e48 |
2a3de659 JB |
10 | URL: http://ktoblzcheck.sourceforge.net/ |
11 | BuildRequires: libstdc++-devel | |
8a50f3d7 | 12 | BuildRequires: python-devel >= 1:2.5 |
2a3de659 JB |
13 | BuildRequires: rpm-pythonprov |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | KtoBLZCheck is a library to check account numbers and bank codes of | |
18 | German banks. | |
19 | ||
20 | Both a library for other programs as well as a short command-line tool | |
21 | is available. It is possible to check pairs of account numbers and | |
22 | bank codes (BLZ) of German banks, and to map bank codes (BLZ) to the | |
23 | clear-text name and location of the bank. | |
24 | ||
c45bdc01 JR |
25 | %description -l pl.UTF-8 |
26 | KtoBLZCheck to biblioteka do sprawdzania numerów kont i kodów | |
27 | bankowych niemieckich banków. | |
2a3de659 | 28 | |
c45bdc01 JR |
29 | Dostępna jest zarówno biblioteka jak i proste narzędzie działające z |
30 | linii poleceń. Pozwalają na sprawdzenie par numerów kont i kodów | |
31 | bankowych (BLZ) niemieckich banków oraz na zamianę kodów bankowych | |
32 | (BLZ) na tekstową nazwę oraz lokalizację banku. | |
2a3de659 JB |
33 | |
34 | %package devel | |
35 | Summary: Header files for KtoBLZCheck library | |
73f0235f | 36 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki KtoBLZCheck |
2a3de659 JB |
37 | Group: Development/Libraries |
38 | Requires: %{name} = %{version}-%{release} | |
39 | Requires: libstdc++-devel | |
40 | ||
41 | %description devel | |
42 | Header files for KtoBLZCheck library. | |
43 | ||
c45bdc01 JR |
44 | %description devel -l pl.UTF-8 |
45 | Pliki nagłówkowe biblioteki KtoBLZCheck. | |
2a3de659 JB |
46 | |
47 | %package static | |
48 | Summary: Static KtoBLZCheck library | |
73f0235f | 49 | Summary(pl.UTF-8): Statyczna biblioteka KtoBLZCheck |
2a3de659 JB |
50 | Group: Development/Libraries |
51 | Requires: %{name}-devel = %{version}-%{release} | |
52 | ||
53 | %description static | |
54 | Static KtoBLZCheck library. | |
55 | ||
c45bdc01 | 56 | %description static -l pl.UTF-8 |
2a3de659 JB |
57 | Statyczna biblioteka KtoBLZCheck. |
58 | ||
59 | %package -n python-ktoblzcheck | |
60 | Summary: Python binding for KtoBLZCheck library | |
73f0235f | 61 | Summary(pl.UTF-8): Wiązanie Pythona dla biblioteki KtoBLZCheck |
2a3de659 JB |
62 | Group: Development/Languages/Python |
63 | Requires: %{name} = %{version}-%{release} | |
8a50f3d7 JB |
64 | # for python-ctypes (>= 1:2.5 already forced by BR + _eq below) |
65 | %pyrequires_eq python-modules | |
2a3de659 JB |
66 | |
67 | %description -n python-ktoblzcheck | |
68 | Python binding for KtoBLZCheck library. | |
69 | ||
c45bdc01 JR |
70 | %description -n python-ktoblzcheck -l pl.UTF-8 |
71 | Wiązanie Pythona dla biblioteki KtoBLZCheck. | |
2a3de659 JB |
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 | ||
9068fc9a | 88 | %py_postclean |
2a3de659 JB |
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.*.*.* | |
d2274f4b | 101 | %attr(755,root,root) %ghost %{_libdir}/libktoblzcheck.so.1 |
2a3de659 JB |
102 | %dir %{_datadir}/%{name} |
103 | %{_datadir}/%{name}/*.txt | |
104 | %attr(755,root,root) %{_datadir}/%{name}/*.pl | |
105 | %{_mandir}/man1/ktoblzcheck.1* | |
106 | ||
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
109 | %attr(755,root,root) %{_libdir}/libktoblzcheck.so | |
110 | %{_libdir}/libktoblzcheck.la | |
d2274f4b JB |
111 | %{_includedir}/iban.h |
112 | %{_includedir}/ktoblzcheck.h | |
d4b4785e | 113 | %{_pkgconfigdir}/ktoblzcheck.pc |
2a3de659 JB |
114 | |
115 | %files static | |
116 | %defattr(644,root,root,755) | |
117 | %{_libdir}/libktoblzcheck.a | |
118 | ||
119 | %files -n python-ktoblzcheck | |
120 | %defattr(644,root,root,755) | |
121 | %{py_sitescriptdir}/ktoblzcheck.py[co] |