]> git.pld-linux.org Git - packages/ktoblzcheck.git/blob - ktoblzcheck.spec
c98db2f972bd013cca31a0ec31166fa3609985bd
[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.12
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/ktoblzcheck/%{name}-%{version}.tar.gz
9 # Source0-md5:  1337e4b7831b71047433c84ace47ed22
10 URL:            http://ktoblzcheck.sourceforge.net/
11 BuildRequires:  libstdc++-devel
12 BuildRequires:  python-devel >= 1:2.3
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 Requires:       python-ctypes
65 %pyrequires_eq  python-libs
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 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.024187 seconds and 2 git commands to generate.