Blame SPECS/libseccomp.spec

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