License: MIT
URL: http://www.x.org/
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.gz
+Source1001: packaging/libXTrap.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(xproto)
%setup -q -n %{name}-%{version}
%build
+cp %{SOURCE1001} .
export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
%reconfigure --disable-static
make %{?jobs:-j%jobs}
%files
+%manifest libXTrap.manifest
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libXTrap.so.6
%files devel
+%manifest libXTrap.manifest
%defattr(-,root,root,-)
%doc AUTHORS README ChangeLog
%{_libdir}/libXTrap.so