639bd7
Summary: Tools to manage the Linux NetLabel subsystem
639bd7
Name: netlabel_tools
639bd7
Version: 0.30.0
639bd7
Release: 3%{?dist}
639bd7
License: GPLv2
639bd7
Group: System Environment/Daemons
639bd7
Source: https://github.com/netlabel/netlabel_tools/releases/download/v%{version}/%{name}-%{version}.tar.gz
639bd7
URL: https://github.com/netlabel/netlabel_tools
639bd7
639bd7
Requires: kernel libnl3
639bd7
Requires(post): systemd
639bd7
Requires(preun): systemd
639bd7
Requires(postun): systemd
639bd7
BuildRequires: kernel-headers
639bd7
BuildRequires: libnl3-devel
639bd7
BuildRequires: doxygen
639bd7
BuildRequires: systemd
639bd7
639bd7
%description
639bd7
NetLabel is a kernel subsystem which implements explicit packet labeling
639bd7
protocols such as CIPSO for Linux.  Packet labeling is used in secure networks
639bd7
to mark packets with the security attributes of the data they contain.  This
639bd7
package provides the necessary user space tools to query and configure the
639bd7
kernel subsystem.
639bd7
639bd7
%prep
639bd7
%setup -q
639bd7
639bd7
%build
639bd7
%configure
639bd7
make V=1 %{?_smp_mflags}
639bd7
639bd7
%install
639bd7
rm -rf "%{buildroot}"
639bd7
mkdir -p "%{buildroot}/etc"
639bd7
mkdir -p "%{buildroot}/%{_sbindir}"
639bd7
mkdir -p "%{buildroot}/%{_unitdir}"
639bd7
mkdir -p "%{buildroot}/%{_mandir}"
639bd7
make V=1 DESTDIR="%{buildroot}" install
639bd7
639bd7
# NOTE: disable since the tests require messing with the running kernel
639bd7
#%check
639bd7
#make V=1 check
639bd7
639bd7
%preun
639bd7
%systemd_preun netlabel.service
639bd7
639bd7
%postun
639bd7
%systemd_postun netlabel.service
639bd7
639bd7
%post
639bd7
%systemd_post netlabel.service
639bd7
639bd7
%files
639bd7
%{!?_licensedir:%global license %%doc}
639bd7
%license LICENSE
639bd7
%doc README
639bd7
%doc CHANGELOG
639bd7
%doc SUBMITTING_PATCHES
639bd7
%attr(0644,root,root) %{_mandir}/man8/*
639bd7
%attr(0755,root,root) %{_sbindir}/netlabelctl
639bd7
%attr(0755,root,root) %{_sbindir}/netlabel-config
639bd7
%attr(0644,root,root) %{_unitdir}/netlabel.service
639bd7
%attr(0644,root,root) %config(noreplace) /etc/netlabel.rules
639bd7
639bd7
%changelog
639bd7
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-3
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
639bd7
639bd7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-2
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
639bd7
639bd7
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-1
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
639bd7
639bd7
* Thu Dec 08 2016 Paul Moore <pmoore@redhat.com> - 0.30.0-0
639bd7
-New upstream version
639bd7
639bd7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-1
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
639bd7
639bd7
* Fri Jul 10 2015 Paul Moore <pmoore@redhat.com> - 0.21-0
639bd7
- New upstream version
639bd7
639bd7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-6
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
639bd7
639bd7
* Sat Mar 21 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.20-5
639bd7
- Add patch to support libnl3
639bd7
- Use %%license
639bd7
- Cleanup spec
639bd7
639bd7
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-4
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
639bd7
639bd7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
639bd7
639bd7
* Thu Feb 27 2014 Paul Moore <pmoore@redhat.com> - 0.20-2
639bd7
- Build with CFLAGS="${optflags}"
639bd7
639bd7
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-1
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
639bd7
639bd7
* Mon Jun 3 2013 Paul Moore <pmoore@redhat.com> - 0.20-0
639bd7
- Version bump to match latest upstream
639bd7
- Cleanups in the specfile due to changes in the upstream package
639bd7
639bd7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-12
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
639bd7
639bd7
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-11
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
639bd7
639bd7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-10
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
639bd7
639bd7
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-9
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
639bd7
639bd7
* Thu Jun 17 2010 Peter Vrabec <pvrabec@redhat.com> - 0.19-8
639bd7
- fixing return codes (#602291)
639bd7
639bd7
* Wed Jun 16 2010 Peter Vrabec <pvrabec@redhat.com> - 0.19-7
639bd7
- make initscript LSB compliant (#522818)
639bd7
- show version of netlabelctl and libnetlabel in help (#602577)
639bd7
639bd7
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-6
639bd7
- make initscript LSB compliant (#522818)
639bd7
639bd7
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-5
639bd7
- increase rel. number
639bd7
639bd7
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-4
639bd7
- fix license tag in spec (#524310)
639bd7
639bd7
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-3
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
639bd7
639bd7
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-2
639bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
639bd7
639bd7
* Thu Jan 08 2009 Peter Vrabec <pvrabec@redhat.com> - 0.19-1
639bd7
- upgrade (#478903)
639bd7
639bd7
* Mon Oct 27 2008 Peter Vrabec <pvrabec@redhat.com> - 0.18-1
639bd7
- upgrade (#439833)
639bd7
639bd7
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.17-8
639bd7
- fix license tag
639bd7
639bd7
* Mon Feb  11 2008 Steve Conklin <sconklin@redhat.com> - 0.17-7
639bd7
- New patch for bz#431766 to resolve conflicts
639bd7
639bd7
* Thu Feb  7 2008 Steve Conklin <sconklin@redhat.com> - 0.17-6
639bd7
- Various fixes to follow upstream
639bd7
- Resolves bz#431765 The example configuration file is invalid
639bd7
- Resolves bz#431766 The netlabelctl command fails to run due to newer libnl package
639bd7
- Resolves bz#431767 The url listed in the netlabel_tools package is wrong
639bd7
639bd7
* Mon Oct 16 2006 James Antill <james@and.org> - 0.17-3
639bd7
- Add upstream patch.
639bd7
- s/p1/p0/ for upstream patch.
639bd7
639bd7
* Sat Oct 14 2006 Steve Grubb <sgrubb@redhat.com> - 0.17-3
639bd7
- Add init scripts and default rules
639bd7
639bd7
* Sun Oct  1 2006 James Antill <james@and.org> - 0.17-2
639bd7
- Upgrade to latest upstream.
639bd7
639bd7
* Tue Aug 29 2006 James Antill <james@and.org> - 0.16-5
639bd7
- Fix install calls for mock.
639bd7
639bd7
* Tue Aug 29 2006 James Antill <james@and.org> - 0.16-4
639bd7
- Fix more reviewing problems, building on newer kernel-headers.
639bd7
- Add URL tag.
639bd7
639bd7
* Fri Aug 18 2006 James Antill <james@and.org> - 0.16-3
639bd7
- Fix minor review problems.
639bd7
- Added BuildRequires for kernel headers (netlink).
639bd7
639bd7
* Fri Aug 18 2006 James Antill <james@and.org> - 0.16-2
639bd7
- Use root as owner.
639bd7
- Contribute to fedora extras.
639bd7
639bd7
* Thu Aug  3 2006 Paul Moore <paul.moore@hp.com> 0.16-1
639bd7
- Bumped version number.
639bd7
639bd7
* Thu Jul  6 2006 Paul Moore <paul.moore@hp.com> 0.15-1
639bd7
- Bumped version number.
639bd7
639bd7
* Mon Jun 26 2006 Paul Moore <paul.moore@hp.com> 0.14-1
639bd7
- Bumped version number.
639bd7
- Changes related to including the version number in the path name.
639bd7
- Changed the netlabelctl perms from 0750 to 0755.
639bd7
- Removed the patch. (included in the base with edits)
639bd7
- Updated the description.
639bd7
639bd7
* Fri Jun 23 2006 Steve Grubb <sgrubb@redhat.com> 0.13-1
639bd7
- Initial build.
639bd7