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