-#
-# Do NOT Edit the Auto-generated Part!
-# Generated by: spectacle version 0.22git
-#
-# >> macros
-# << macros
-
Name: mtdev
Summary: A library to transform all kernel MT events to protocol B (slotted)
Version: 1.0.11
License: MIT
URL: http://bitmath.org/code/mtdev/
Source0: %{name}-%{version}.tar.gz
-Source100: mtdev.yaml
-Source1001: packaging/mtdev.manifest
-# >> gbp-patch-tags # auto-added by gbp
-# << gbp-patch-tags # auto-added by gbp
+Source1001: mtdev.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: autoconf
%prep
-%setup -q -n %{name}-%{version}
-# >> gbp-apply-patches # auto-added by gbp
-# << gbp-apply-patches # auto-added by gbp
+%setup -q
-# >> setup
-# << setup
%build
cp %{SOURCE1001} .
-# >> build pre
-# << build pre
-%configure --disable-static
+%configure
make %{?jobs:-j%jobs}
-# >> build post
-# << build post
%install
-rm -rf %{buildroot}
-# >> install pre
-
-# << install pre
%make_install
-# >> install post
-# << install post
%files
%manifest mtdev.manifest
-%defattr(-,root,root,-)
-# >> files
%{_libdir}/libmtdev.so.*
-# << files
%files devel
%manifest mtdev.manifest
%defattr(-,root,root,-)
-# >> files devel
%{_bindir}/mtdev-test
%{_libdir}/libmtdev.so
%{_libdir}/pkgconfig/mtdev.pc
%{_includedir}/mtdev*.h
-# << files devel