]> git.pld-linux.org Git - packages/ktoblzcheck.git/blob - ktoblzcheck.spec
- release 3 (by relup.sh)
[packages/ktoblzcheck.git] / ktoblzcheck.spec
1 Summary:        A library to check account numbers and bank codes of German banks
2 Summary(pl.UTF-8):      Biblioteka do sprawdzania numerów kont i kodów bankowych niemieckich banków
3 Name:           ktoblzcheck
4 Version:        1.45
5 Release:        3
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/ktoblzcheck/%{name}-%{version}.tar.gz
9 # Source0-md5:  80719a2920a40c6a01fa2a70ecc23e48
10 URL:            http://ktoblzcheck.sourceforge.net/
11 BuildRequires:  libstdc++-devel
12 BuildRequires:  python-devel >= 1:2.5
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
25 %description -l pl.UTF-8
26 KtoBLZCheck to biblioteka do sprawdzania numerów kont i kodów
27 bankowych niemieckich banków.
28
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.
33
34 %package devel
35 Summary:        Header files for KtoBLZCheck library
36 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki KtoBLZCheck
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       libstdc++-devel
40
41 %description devel
42 Header files for KtoBLZCheck library.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki KtoBLZCheck.
46
47 %package static
48 Summary:        Static KtoBLZCheck library
49 Summary(pl.UTF-8):      Statyczna biblioteka KtoBLZCheck
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}-%{release}
52
53 %description static
54 Static KtoBLZCheck library.
55
56 %description static -l pl.UTF-8
57 Statyczna biblioteka KtoBLZCheck.
58
59 %package -n python-ktoblzcheck
60 Summary:        Python binding for KtoBLZCheck library
61 Summary(pl.UTF-8):      Wiązanie Pythona dla biblioteki KtoBLZCheck
62 Group:          Development/Languages/Python
63 Requires:       %{name} = %{version}-%{release}
64 # for python-ctypes (>= 1:2.5 already forced by BR + _eq below)
65 %pyrequires_eq  python-modules
66
67 %description -n python-ktoblzcheck
68 Python binding for KtoBLZCheck library.
69
70 %description -n python-ktoblzcheck -l pl.UTF-8
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 %py_postclean
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 %attr(755,root,root) %ghost %{_libdir}/libktoblzcheck.so.1
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
111 %{_includedir}/iban.h
112 %{_includedir}/ktoblzcheck.h
113 %{_pkgconfigdir}/ktoblzcheck.pc
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]
This page took 0.036284 seconds and 3 git commands to generate.