diff --git a/.files b/.files
new file mode 100644
index 0000000..52fc25b
Binary files /dev/null and b/.files differ
diff --git a/.meta b/.meta
new file mode 100644
index 0000000..eeb2034
--- /dev/null
+++ b/.meta
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/.rev b/.rev
new file mode 100644
index 0000000..1555af5
--- /dev/null
+++ b/.rev
@@ -0,0 +1,10 @@
+
+
+ 41f690e6adda0dc99e789c2356c1e88b
+ 0.5.0~0
+
+ RBrownFactory
+
+ 991353
+
+
diff --git a/.servicemark b/.servicemark
new file mode 100644
index 0000000..ab30f8e
--- /dev/null
+++ b/.servicemark
@@ -0,0 +1 @@
+4c11b7294b8803e9b0de103792ae979c
diff --git a/_service b/_service
new file mode 100644
index 0000000..c5aab64
--- /dev/null
+++ b/_service
@@ -0,0 +1,25 @@
+
+
+ https://github.com/unlimitedbacon/stl-thumb
+ @PARENT_TAG@~@TAG_OFFSET@
+ git
+ v0.5.0
+ *
+ v(\d+\.\d+\.\d+)
+ \1
+ enable
+ mvetter@suse.com
+
+
+
+ *.tar
+ xz
+
+
+
+ stl-thumb
+ xz
+ true
+
+
+
diff --git a/cargo_config b/cargo_config
new file mode 100644
index 0000000..3305d12
--- /dev/null
+++ b/cargo_config
@@ -0,0 +1,10 @@
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source."https://github.com/rust-windowing/glutin.git"]
+git = "https://github.com/rust-windowing/glutin.git"
+rev = "07c461e"
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
\ No newline at end of file
diff --git a/stl-thumb-0.5.0~0.tar.xz b/stl-thumb-0.5.0~0.tar.xz
new file mode 120000
index 0000000..8d76b9b
--- /dev/null
+++ b/stl-thumb-0.5.0~0.tar.xz
@@ -0,0 +1 @@
+/ipfs/bafybeigidqimiawfuk2yuhbgdjg55unxafulb7kbiul4skeoowxpirkuri
\ No newline at end of file
diff --git a/stl-thumb.changes b/stl-thumb.changes
new file mode 100644
index 0000000..f7224c2
--- /dev/null
+++ b/stl-thumb.changes
@@ -0,0 +1,25 @@
+-------------------------------------------------------------------
+Thu Jul 21 10:59:37 UTC 2022 - Michael Vetter
+
+- Update to version 0.5.0~0:
+ * FXAA Anti-aliasing - Images look much nicer now without the
+ jagged edges! FXAA is on by default, but can be shut off. It has
+ minimal performance impact.
+ * Pipes! - Can now read STL data from the stdin stream instead of
+ a file #23
+ * Faster Image Compression
+ * Added option to force recalculating face normals if your STL
+ files are malformed #59
+ * Published on package on crates.io and docs on docs.rs.
+
+-------------------------------------------------------------------
+Thu Jul 21 10:33:27 UTC 2022 - Michael Vetter
+
+- Copy version 0.4.0 from home:mrbadguy:KDE5/stl-thumb
+- Remove patches:
+ * glium.patch
+ * force-running-event-loop-outside-main-loop.patch
+ * change-colors.patch
+ * no-mesa-workaround.patch
+- Update _service file get sources and recompress according to
+ rust packaging wiki
diff --git a/stl-thumb.spec b/stl-thumb.spec
new file mode 100644
index 0000000..fb4910d
--- /dev/null
+++ b/stl-thumb.spec
@@ -0,0 +1,79 @@
+#
+# spec file for package stl-thumb
+#
+# Copyright (c) 2022 SUSE LLC
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
+Name: stl-thumb
+Version: 0.5.0~0
+Release: 0
+Summary: Stl-thumb is a fast lightweight thumbnail generator for STL files.
+License: MIT
+URL: https://github.com/unlimitedbacon/stl-thumb
+Source0: %{name}-%{version}.tar.xz
+Source1: vendor.tar.xz
+Source2: cargo_config
+BuildRequires: rust-packaging
+
+%description
+Stl-thumb is a fast lightweight thumbnail generator for STL files.
+It can show previews for STL files in your file manager on Linux and Windows.
+It is written in Rust and uses OpenGL.
+
+%package devel
+Summary: Files needed for stl-thumb development
+Group: Development/Languages/C and C++
+Requires: libstl-thumb = %{version}
+
+%description devel
+Files needed to develop applications for the stl-thumb.
+
+%package -n libstl-thumb
+Summary: stl-thumb Libraries
+Group: System/Libraries
+
+%description -n libstl-thumb
+stl-thumb Libraries
+
+%prep
+%autosetup -a1 -p1
+cp %{SOURCE2} .cargo/config
+
+%build
+#RUSTFLAGS=%{rustflags} cargo build --release
+%{cargo_build}
+
+%install
+# RUSTFLAGS=%{rustflags} cargo install --root=%{buildroot}%{_prefix} --path .
+install --mode 0755 -D target/release/stl-thumb %{buildroot}%{_bindir}/stl-thumb
+install --mode 0755 -D target/release/libstl_thumb.so %{buildroot}%{_libdir}/libstl_thumb.so
+install --mode 0644 -D target/release/libstl_thumb.a %{buildroot}%{_libdir}/libstl_thumb.a
+install --mode 0644 -D stl-thumb.thumbnailer %{buildroot}%{_datadir}/thumbnailers/stl-thumb.thumbnailer
+install --mode 0644 -D libstl_thumb.h %{buildroot}%{_includedir}/libstl_thumb.h
+
+%files
+%{_bindir}/stl-thumb
+%dir %{_datadir}/thumbnailers
+%{_datadir}/thumbnailers/stl-thumb.thumbnailer
+
+%files -n libstl-thumb
+%{_libdir}/libstl_thumb.so
+
+%files devel
+%{_libdir}/libstl_thumb.a
+%{_includedir}/libstl_thumb.h
+
+%changelog
diff --git a/vendor.tar.xz b/vendor.tar.xz
new file mode 120000
index 0000000..b6cc556
--- /dev/null
+++ b/vendor.tar.xz
@@ -0,0 +1 @@
+/ipfs/bafybeif5wnykhicbmuglra5iaa4yhbfybwj6y5utm5zvfdnq3apgtmqhhq
\ No newline at end of file