Blame SPECS/libseccomp.spec

dabb01
Summary: Enhanced seccomp library
dabb01
Name: libseccomp
dabb01
Version: 2.3.1
dabb01
Release: 3%{?dist}
dabb01
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc ppc64 ppc64le s390 s390x
dabb01
License: LGPLv2
dabb01
Group: System Environment/Libraries
dabb01
Source: https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{name}-%{version}.tar.gz
dabb01
URL: https://github.com/seccomp/libseccomp
dabb01
%ifnarch s390
dabb01
BuildRequires: valgrind
dabb01
%endif
dabb01
dabb01
%description
dabb01
The libseccomp library provides an easy to use interface to the Linux Kernel's
dabb01
syscall filtering mechanism, seccomp.  The libseccomp API allows an application
dabb01
to specify which syscalls, and optionally which syscall arguments, the
dabb01
application is allowed to execute, all of which are enforced by the Linux
dabb01
Kernel.
dabb01
dabb01
%package devel
dabb01
Summary: Development files used to build applications with libseccomp support
dabb01
Group: Development/Libraries
dabb01
Requires: %{name}%{?_isa} = %{version}-%{release} pkgconfig
dabb01
dabb01
%description devel
dabb01
The libseccomp library provides an easy to use interface to the Linux Kernel's
dabb01
syscall filtering mechanism, seccomp.  The libseccomp API allows an application
dabb01
to specify which syscalls, and optionally which syscall arguments, the
dabb01
application is allowed to execute, all of which are enforced by the Linux
dabb01
Kernel.
dabb01
dabb01
%prep
dabb01
%setup -q
dabb01
dabb01
%build
dabb01
%configure
dabb01
make V=1 %{?_smp_mflags}
dabb01
dabb01
%install
dabb01
rm -rf "%{buildroot}"
dabb01
mkdir -p "%{buildroot}/%{_libdir}"
dabb01
mkdir -p "%{buildroot}/%{_includedir}"
dabb01
mkdir -p "%{buildroot}/%{_mandir}"
dabb01
make V=1 DESTDIR="%{buildroot}" install
dabb01
rm -f "%{buildroot}/%{_libdir}/libseccomp.la"
dabb01
rm -f "%{buildroot}/%{_libdir}/libseccomp.a"
dabb01
dabb01
%check
dabb01
make V=1 check
dabb01
dabb01
%post -p /sbin/ldconfig
dabb01
dabb01
%postun -p /sbin/ldconfig
dabb01
dabb01
%files
dabb01
%{!?_licensedir:%global license %%doc}
dabb01
%license LICENSE
dabb01
%doc CREDITS
dabb01
%doc README
dabb01
%doc CHANGELOG
dabb01
%doc SUBMITTING_PATCHES
dabb01
%{_libdir}/libseccomp.so.*
dabb01
dabb01
%files devel
dabb01
%{_includedir}/seccomp.h
dabb01
%{_libdir}/libseccomp.so
dabb01
%{_libdir}/pkgconfig/libseccomp.pc
dabb01
%{_bindir}/scmp_sys_resolver
dabb01
%{_mandir}/man1/*
dabb01
%{_mandir}/man3/*
dabb01
dabb01
%changelog
dabb01
* Wed Feb 22 2017 Paul Moore <pmoore@redhat.com> - 2.3.1-3
dabb01
- Added the ppc arch to the build
dabb01
dabb01
* Thu Apr 28 2016 Paul Moore <pmoore@redhat.com> - 2.3.1-2
dabb01
- Fix a typo with the ppc64le architecture
dabb01
dabb01
* Thu Apr 21 2016 Paul Moore <pmoore@redhat.com> - 2.3.1-1
dabb01
- Escape the macros in the changelog to make rpmlint and friends happy
dabb01
dabb01
* Wed Apr 20 2016 Paul Moore <pmoore@redhat.com> - 2.3.1-0
dabb01
- New upstream version
dabb01
dabb01
* Mon Jun 15 2015 Paul Moore <pmoore@redhat.com> - 2.2.1-1
dabb01
- Removed '--disable-static' from the build to ensure that scmp_sys_resolver
dabb01
  is self contained and resolve RPATH issues
dabb01
dabb01
* Wed May 13 2015 Paul Moore <pmoore@redhat.com> - 2.2.1-0
dabb01
- New upstream version
dabb01
- Added aarch64 support
dabb01
- Move to an autotools based build system
dabb01
dabb01
* Thu Feb 27 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-2
dabb01
- Build with CFLAGS="${optflags}" (RHBZ #1070774)
dabb01
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.1.1-1
dabb01
- Mass rebuild 2013-12-27
dabb01
dabb01
* Tue Nov  5 2013 Paul Moore <pmoore@redhat.com> - 2.1.1-0
dabb01
- New upstream version
dabb01
- Added a %%check procedure for self-test during build
dabb01
* Tue Jun 11 2013 Paul Moore <pmoore@redhat.com> - 2.1.0-0
dabb01
- New upstream version
dabb01
- Added support for the ARM architecture
dabb01
- Added the scmp_sys_resolver tool
dabb01
* Mon Jan 28 2013 Paul Moore <pmoore@redhat.com> - 2.0.0-0
dabb01
- New upstream version
dabb01
* Tue Nov 13 2012 Paul Moore <pmoore@redhat.com> - 1.0.1-0
dabb01
- New upstream version with several important fixes
dabb01
* Tue Jul 31 2012 Paul Moore <pmoore@redhat.com> - 1.0.0-0
dabb01
- New upstream version
dabb01
- Remove verbose build patch as it is no longer needed
dabb01
- Enable _smp_mflags during build stage
dabb01
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
dabb01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dabb01
* Tue Jul 10 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-1
dabb01
- Limit package to x86/x86_64 platforms (RHBZ #837888)
dabb01
* Tue Jun 12 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-0
dabb01
- Initial version
dabb01