]> git.pld-linux.org Git - packages/ktoblzcheck.git/blame - ktoblzcheck.spec
- release 2 (by relup.sh)
[packages/ktoblzcheck.git] / ktoblzcheck.spec
CommitLineData
2a3de659 1Summary: A library to check account numbers and bank codes of German banks
73f0235f 2Summary(pl.UTF-8): Biblioteka do sprawdzania numerów kont i kodów bankowych niemieckich banków
2a3de659 3Name: ktoblzcheck
fd83ac01 4Version: 1.45
cc8c387d 5Release: 2
2a3de659
JB
6License: LGPL v2+
7Group: Libraries
d1e18bff 8Source0: http://downloads.sourceforge.net/ktoblzcheck/%{name}-%{version}.tar.gz
fd83ac01 9# Source0-md5: 80719a2920a40c6a01fa2a70ecc23e48
2a3de659
JB
10URL: http://ktoblzcheck.sourceforge.net/
11BuildRequires: libstdc++-devel
8a50f3d7 12BuildRequires: python-devel >= 1:2.5
2a3de659
JB
13BuildRequires: rpm-pythonprov
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17KtoBLZCheck is a library to check account numbers and bank codes of
18German banks.
19
20Both a library for other programs as well as a short command-line tool
21is available. It is possible to check pairs of account numbers and
22bank codes (BLZ) of German banks, and to map bank codes (BLZ) to the
23clear-text name and location of the bank.
24
c45bdc01
JR
25%description -l pl.UTF-8
26KtoBLZCheck to biblioteka do sprawdzania numerów kont i kodów
27bankowych niemieckich banków.
2a3de659 28
c45bdc01
JR
29Dostępna jest zarówno biblioteka jak i proste narzędzie działające z
30linii poleceń. Pozwalają na sprawdzenie par numerów kont i kodów
31bankowych (BLZ) niemieckich banków oraz na zamianę kodów bankowych
32(BLZ) na tekstową nazwę oraz lokalizację banku.
2a3de659
JB
33
34%package devel
35Summary: Header files for KtoBLZCheck library
73f0235f 36Summary(pl.UTF-8): Pliki nagłówkowe biblioteki KtoBLZCheck
2a3de659
JB
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
39Requires: libstdc++-devel
40
41%description devel
42Header files for KtoBLZCheck library.
43
c45bdc01
JR
44%description devel -l pl.UTF-8
45Pliki nagłówkowe biblioteki KtoBLZCheck.
2a3de659
JB
46
47%package static
48Summary: Static KtoBLZCheck library
73f0235f 49Summary(pl.UTF-8): Statyczna biblioteka KtoBLZCheck
2a3de659
JB
50Group: Development/Libraries
51Requires: %{name}-devel = %{version}-%{release}
52
53%description static
54Static KtoBLZCheck library.
55
c45bdc01 56%description static -l pl.UTF-8
2a3de659
JB
57Statyczna biblioteka KtoBLZCheck.
58
59%package -n python-ktoblzcheck
60Summary: Python binding for KtoBLZCheck library
73f0235f 61Summary(pl.UTF-8): Wiązanie Pythona dla biblioteki KtoBLZCheck
2a3de659
JB
62Group: Development/Languages/Python
63Requires: %{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
68Python binding for KtoBLZCheck library.
69
c45bdc01
JR
70%description -n python-ktoblzcheck -l pl.UTF-8
71Wią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
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
9068fc9a 88%py_postclean
2a3de659
JB
89
90%clean
91rm -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]
This page took 0.118908 seconds and 4 git commands to generate.