34 lines
639 B
RPMSpec
34 lines
639 B
RPMSpec
Summary: Manage ip ranges
|
|
Name: iprange
|
|
Version: 1.0.4
|
|
Release: 2%{?dist}
|
|
License: GPLv2+
|
|
URL: http://firehol.org
|
|
Source: %{name}-1.0.4.tar.bz2
|
|
|
|
|
|
%description
|
|
Manage ip ranges.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-1.0.4
|
|
|
|
%build
|
|
./configure --prefix=/usr/local
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf "%{buildroot}"
|
|
make %{?_smp_mflags} install DESTDIR="%{buildroot}"
|
|
gzip %{buildroot}/usr/local/share/man/man1/iprange.1
|
|
|
|
%files
|
|
/usr/local/share/man/man1/iprange.1.gz
|
|
/usr/local/bin/iprange
|
|
|
|
%changelog
|
|
* Thu Mar 28 2024 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
|
- First build on fedora
|
|
- Conflicts with haproxy rpm, path changed to /usr/local
|
|
|