]> git.pld-linux.org Git - packages/csv2bin.git/blame - csv2bin.spec
- working url
[packages/csv2bin.git] / csv2bin.spec
CommitLineData
86e2913c
ER
1Summary: Convert a CSV database to format suitable for GeoIP library
2Name: csv2bin
3Version: 20041103
4Release: 0.1
5License: GPL v2
6Group: Applications
4efaf76d 7Source0: http://people.netfilter.org/peejix/geoip/tools/%{name}-%{version}.tar.gz
86e2913c
ER
8# Source0-md5: b92bff0fc2adba02a48cfbb4b401205c
9URL: http://people.netfilter.org/peejix/GeoIP/tools/
10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12%description
13csv2bin is a tool specially written for the iptables/netfilter's GeoIP
14match purpose. This file won't discuss about the iptables/netfilter's
15framework. <www.netfilter.org> for details.
16
17csv2bin's only task is to convert a comma-seperated-value database
18containing all IPv4 subnets and their associated countries to an
19understable binary format for the iptables' GeoIP shared library.
20
21You can create your own database (perhaps you feel sado) or simply
22gets the latest GeoIP's free database from MaxMind. This product
23includes GeoIP data created by MaxMind, available from
24<http://maxmind.com/>
25
26%prep
27%setup -q -n %{name}
28
29%build
30%{__make} \
31 CC="%{__cc}" \
32 OPTION="%{rpmcflags}"
33
34%install
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT%{_bindir}
37install %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%doc README
45%attr(755,root,root) %{_bindir}/csv2bin
This page took 0.100054 seconds and 4 git commands to generate.