Cleanup spec file and remove obsolete yaml files
[external/mtdev.git] / packaging / mtdev.spec
index c809351..b26ce43 100644 (file)
@@ -1,10 +1,3 @@
-# 
-# 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
@@ -13,10 +6,7 @@ Group:      System/X Hardware Support
 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
@@ -45,33 +35,19 @@ Development header files for use with mtdev
 
 
 %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
 
 
 
@@ -85,19 +61,14 @@ rm -rf %{buildroot}
 
 %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