|
|
d7555e |
%global common_desc \
|
|
|
d7555e |
Dibbler is a portable DHCPv6 implementation. It supports stateful (i.e. IPv6 \
|
|
|
d7555e |
address granting and IPv6 prefix delegation) as well as stateless (i.e. option \
|
|
|
d7555e |
granting) autoconfiguration for IPv6.
|
|
|
d7555e |
|
|
|
d7555e |
%if 0%{?rhel} < 7 && 0%{?rhel} > 0
|
|
|
d7555e |
%global _pkgdocdir %{_docdir}/%{name}
|
|
|
d7555e |
%endif
|
|
|
d7555e |
|
|
|
d7555e |
Name: dibbler
|
|
|
d7555e |
Version: 1.0.1
|
|
|
d7555e |
Release: 11%{?dist}
|
|
|
d7555e |
Summary: Portable DHCPv6 implementation
|
|
|
d7555e |
|
|
|
d7555e |
License: GPLv2
|
|
|
d7555e |
URL: http://klub.com.pl/dhcpv6
|
|
|
d7555e |
Source0: http://klub.com.pl/dhcpv6/dibbler/dibbler-%{version}.tar.gz
|
|
|
d7555e |
|
|
|
d7555e |
# Needed for gcc10+ https://github.com/tomaszmrugalski/dibbler/commit/6f1578
|
|
|
d7555e |
Patch0: gcc10-no-common.patch
|
|
|
d7555e |
|
|
|
d7555e |
BuildRequires: gcc-c++
|
|
|
d7555e |
%description
|
|
|
d7555e |
%{common_desc}
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%package client
|
|
|
d7555e |
Summary: Dibbler, DHCPv6 client
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%description client
|
|
|
d7555e |
%{common_desc}
|
|
|
d7555e |
|
|
|
d7555e |
This package contains DHCPv6 client.
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%package relay
|
|
|
d7555e |
Summary: Dibbler, DHCPv6 relay
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%description relay
|
|
|
d7555e |
%{common_desc}
|
|
|
d7555e |
|
|
|
d7555e |
This package contains DHCPv6 relay.
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%package requestor
|
|
|
d7555e |
Summary: Dibbler, DHCPv6 request generator
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%description requestor
|
|
|
d7555e |
%{common_desc}
|
|
|
d7555e |
|
|
|
d7555e |
This package contains DHCPv6 request generator.
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%package server
|
|
|
d7555e |
Summary: Dibbler, DHCPv6 server
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%description server
|
|
|
d7555e |
%{common_desc}
|
|
|
d7555e |
|
|
|
d7555e |
This package contains DHCPv6 server.
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%package docs
|
|
|
d7555e |
Summary: Dibbler documentation
|
|
|
d7555e |
BuildArch: noarch
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%description docs
|
|
|
d7555e |
%{common_desc}
|
|
|
d7555e |
|
|
|
d7555e |
This package contains dibbler documentation.
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%prep
|
|
|
d7555e |
%setup -q -n dibbler-%{version}
|
|
|
d7555e |
%patch0 -p1
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%build
|
|
|
d7555e |
%configure
|
|
|
d7555e |
make %{?_smp_mflags}
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%install
|
|
|
d7555e |
make install DESTDIR=%{buildroot}
|
|
|
d7555e |
|
|
|
d7555e |
# We explicitly add license file to each sub-package, so no need to install it
|
|
|
d7555e |
# as documentation
|
|
|
d7555e |
rm %{buildroot}%{_pkgdocdir}/LICENSE
|
|
|
d7555e |
|
|
|
d7555e |
# Setup directories
|
|
|
d7555e |
install -p -d -m 755 %{buildroot}%{_sharedstatedir}/dibbler
|
|
|
d7555e |
install -p -d -m 755 %{buildroot}%{_sysconfdir}/dibbler
|
|
|
d7555e |
|
|
|
d7555e |
# Install configuration files
|
|
|
d7555e |
for config in client relay server; do
|
|
|
d7555e |
cp -p doc/examples/$config.conf %{buildroot}%{_sysconfdir}/dibbler
|
|
|
d7555e |
done
|
|
|
d7555e |
|
|
|
d7555e |
# Kill example files irrelevant to Fedora Linux
|
|
|
d7555e |
for file in client-win32.conf server-win32.conf; do
|
|
|
d7555e |
rm %{buildroot}%{_pkgdocdir}/examples/$file
|
|
|
d7555e |
done
|
|
|
d7555e |
|
|
|
d7555e |
for file in client-notify-bsd.sh client-notify-macos.sh; do
|
|
|
d7555e |
rm %{buildroot}%{_pkgdocdir}/scripts/notify-scripts/$file
|
|
|
d7555e |
done
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%files client
|
|
|
d7555e |
%license LICENSE
|
|
|
d7555e |
%{_sbindir}/dibbler-client
|
|
|
d7555e |
%{_mandir}/man8/dibbler-client.8*
|
|
|
d7555e |
%dir %{_sysconfdir}/dibbler
|
|
|
d7555e |
%config(noreplace) %{_sysconfdir}/dibbler/client.conf
|
|
|
d7555e |
%dir %{_sharedstatedir}/dibbler
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%files relay
|
|
|
d7555e |
%license LICENSE
|
|
|
d7555e |
%{_sbindir}/dibbler-relay
|
|
|
d7555e |
%{_mandir}/man8/dibbler-relay.8*
|
|
|
d7555e |
%dir %{_sysconfdir}/dibbler
|
|
|
d7555e |
%config(noreplace) %{_sysconfdir}/dibbler/relay.conf
|
|
|
d7555e |
%dir %{_sharedstatedir}/dibbler
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%files requestor
|
|
|
d7555e |
%license LICENSE
|
|
|
d7555e |
%{_sbindir}/dibbler-requestor
|
|
|
d7555e |
%dir %{_sharedstatedir}/dibbler
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%files server
|
|
|
d7555e |
%license LICENSE
|
|
|
d7555e |
%{_sbindir}/dibbler-server
|
|
|
d7555e |
%{_mandir}/man8/dibbler-server.8*
|
|
|
d7555e |
%dir %{_sysconfdir}/dibbler
|
|
|
d7555e |
%config(noreplace) %{_sysconfdir}/dibbler/server.conf
|
|
|
d7555e |
%dir %{_sharedstatedir}/dibbler
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%files docs
|
|
|
d7555e |
%license LICENSE
|
|
|
d7555e |
%dir %{_pkgdocdir}
|
|
|
d7555e |
%{_pkgdocdir}/CHANGELOG
|
|
|
d7555e |
%{_pkgdocdir}/RELNOTES
|
|
|
d7555e |
%{_pkgdocdir}/dibbler-user.pdf
|
|
|
d7555e |
%dir %{_pkgdocdir}/examples
|
|
|
d7555e |
%dir %{_pkgdocdir}/scripts
|
|
|
d7555e |
%{_pkgdocdir}/examples/*.conf
|
|
|
d7555e |
%{_pkgdocdir}/scripts/*
|
|
|
d7555e |
|
|
|
d7555e |
|
|
|
d7555e |
%changelog
|
|
|
d7555e |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-11
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-10
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-9
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-8
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-7
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Mon Jun 13 2016 Ihar Hrachyshka <ihrachys@redhat.com> - 1.0.1-3.fc25
|
|
|
d7555e |
- Added missing dist macro to Release field.
|
|
|
d7555e |
|
|
|
d7555e |
* Mon Jun 13 2016 Ihar Hrachyshka <ihrachys@redhat.com> - 1.0.1-2
|
|
|
d7555e |
- Removed gtest build requirement since we don't run those tests anyway.
|
|
|
d7555e |
|
|
|
d7555e |
* Thu Feb 04 2016 Ihar Hrachyshka <ihrachys@redhat.com> - 1.0.1-1
|
|
|
d7555e |
- Bumped to 1.0.1 final.
|
|
|
d7555e |
|
|
|
d7555e |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-0.RC1.2.3
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-0.RC1.2.2
|
|
|
d7555e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d7555e |
|
|
|
d7555e |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.1-0.RC1.2.1
|
|
|
d7555e |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
d7555e |
|
|
|
d7555e |
* Tue Apr 7 2015 Ihar Hrachyshka <ihrachys@redhat.com> - 1.0.1-0.RC1.2
|
|
|
d7555e |
- package examples and scripts directories into -docs package.
|
|
|
d7555e |
|
|
|
d7555e |
* Thu Apr 2 2015 Ihar Hrachyshka <ihrachys@redhat.com> - 1.0.1-0.RC1.1
|
|
|
d7555e |
- removed dibbler-common package, instead put _sharedstatedir in each package
|
|
|
d7555e |
that needs it.
|
|
|
d7555e |
- added check section (disabled for now due to upstream bug).
|
|
|
d7555e |
- cleaned up scripts and examples for non-Linux platforms.
|
|
|
d7555e |
- removed Group tags.
|
|
|
d7555e |
- build -docs package as noarch.
|
|
|
d7555e |
- preserve timestamps for files installed with `install` and `cp`.
|
|
|
d7555e |
|
|
|
d7555e |
* Thu Mar 26 2015 Ihar Hrachyshka <ihrachys@redhat.com> - 1.0.1-0.RC1
|
|
|
d7555e |
- Initial package build.
|