]> git.pld-linux.org Git - packages/csv2bin.git/blob - csv2bin.spec
- pl
[packages/csv2bin.git] / csv2bin.spec
1 Summary:        Convert a CSV database to format suitable for GeoIP library
2 Summary(pl.UTF-8):      Konwerter bazy danych CSV do formatu dla biblioteki GeoIP
3 Name:           csv2bin
4 Version:        20041103
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://people.netfilter.org/peejix/geoip/tools/%{name}-%{version}.tar.gz
9 # Source0-md5:  b92bff0fc2adba02a48cfbb4b401205c
10 URL:            http://people.netfilter.org/peejix/GeoIP/tools/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 csv2bin is a tool specially written for the iptables/netfilter's GeoIP
15 match purpose. csv2bin's only task is to convert a
16 comma-seperated-value database containing all IPv4 subnets and their
17 associated countries to an understable binary format for the iptables'
18 GeoIP shared library.
19
20 You can create your own database (perhaps you feel sado) or simply
21 gets the latest GeoIP's free database from MaxMind.
22
23 %description -l pl.UTF-8
24 csv2bin to narzędzie napisane specjalnie dla modułu dopasowującego
25 GeoIP dla iptables/netfiltra.  Jedynym jego zadaniem jest konwersja
26 bazy danych w formacie CSV (wartości oddzielonych przecinkami)
27 zawierającej wszystkie podsieci IPv4 i związane z nimi kraje do
28 binarnego formatu rozumianego przez bibliotekę współdzieloną GeoIP
29 iptables.
30
31 Można stworzyć własną bazę danych (jeśli ktoś jest masochistą) albo
32 po prostu pobrać darmową bazę danych GeoIP z MaxMind.
33
34 %prep
35 %setup -q -n %{name}
36
37 %build
38 %{__make} \
39         CC="%{__cc}" \
40         OPTION="%{rpmcflags}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_bindir}
45 install %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README
53 %attr(755,root,root) %{_bindir}/csv2bin
This page took 0.092632 seconds and 3 git commands to generate.