diff --git a/_service b/_service
index 7ba9ebc..12a0c8a 100644
--- a/_service
+++ b/_service
@@ -3,9 +3,11 @@
https://github.com/pop-os/xdg-desktop-portal-cosmic.git
git
- master
- 0.1.0+git%cd.%h
+ refs/tags/epoch-1.0.0-alpha.1
+ epoch-(.*)
+ 1.0.0~alpha1
yes
+ xdg-desktop-portal-cosmic
*.tar
diff --git a/leap-fix-libexec.patch b/leap-fix-libexec.patch
new file mode 100644
index 0000000..ce21400
--- /dev/null
+++ b/leap-fix-libexec.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig 2024-07-29 19:11:10.189698162 +0300
++++ Makefile 2024-07-29 19:12:48.420183313 +0300
+@@ -1,7 +1,7 @@
+ prefix ?= /usr/local
+ bindir = $(prefix)/bin
+ libdir = $(prefix)/lib
+-libexecdir = $(prefix)/libexec
++libexecdir = $(prefix)/lib
+ includedir = $(prefix)/include
+ datarootdir = $(prefix)/share
+ datadir = $(datarootdir)
diff --git a/vendor.tar.zst b/vendor.tar.zst
index e34e522..1679e7d 100644
--- a/vendor.tar.zst
+++ b/vendor.tar.zst
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a7694dbe3c9fc0795741c65da0cacb5e2549fa77e5c79de185eed2052418152e
-size 93051170
+oid sha256:605fe19af864abd5f75a18e938af95fea28c0884d27d42e308829444f5eee116
+size 99876144
diff --git a/xdg-desktop-portal-cosmic-0.1.0+git20240717.813352e.tar.zst b/xdg-desktop-portal-cosmic-0.1.0+git20240717.813352e.tar.zst
deleted file mode 100644
index c53b0fa..0000000
--- a/xdg-desktop-portal-cosmic-0.1.0+git20240717.813352e.tar.zst
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:12abe745a0dabf23b78313cce6bc30ef41d34a9c354fcf685e69b8262c4cce3b
-size 279031
diff --git a/xdg-desktop-portal-cosmic-1.0.0~alpha1.tar.zst b/xdg-desktop-portal-cosmic-1.0.0~alpha1.tar.zst
new file mode 100644
index 0000000..cb0449e
--- /dev/null
+++ b/xdg-desktop-portal-cosmic-1.0.0~alpha1.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bf049122aa1ebed539de093b8ec8891b2a4cf9805df199ac973a3f470bad1278
+size 297603
diff --git a/xdg-desktop-portal-cosmic.changes b/xdg-desktop-portal-cosmic.changes
index a0a567b..59d08e5 100644
--- a/xdg-desktop-portal-cosmic.changes
+++ b/xdg-desktop-portal-cosmic.changes
@@ -1,3 +1,28 @@
+-------------------------------------------------------------------
+Thu Aug 8 01:01:29 UTC 2024 - Richard Rahl
+
+- standardize packaging with also fixes for miscellaneous hardcoding
+ filenames, using @PARENT_TAG where applicable, and be more specific
+ with files in the %files section (so no non-wanted files are getting
+ added
+
+-------------------------------------------------------------------
+Wed Aug 7 02:12:58 UTC 2024 - Richard Rahl
+
+- update to 1.0.0~alpha1:
+ * Fix compile warnings
+ * Add scrolling for list of toplevels
+ * Hover and selected styles for outputs in screencast dialog
+ * Use custom widget instead of global subscription for keybindings
+ * screencopy: Respect source_type option
+ * Allow multiple select for screencast only when requested
+ * Arrange screen capture outputs horiozontally
+ * Display name of application requiring screen capture
+ * Show preview of outputs in screencast dialog
+ * Show toplevel icons in screencast dialog
+ * Fix button text color
+- enable leap with patch leap-fix-libexec.patch (thanks to vyvir)
+
-------------------------------------------------------------------
Sat Jul 06 17:07:55 UTC 2024 - Joshua Smith
diff --git a/xdg-desktop-portal-cosmic.spec b/xdg-desktop-portal-cosmic.spec
index 2529e15..8f98945 100644
--- a/xdg-desktop-portal-cosmic.spec
+++ b/xdg-desktop-portal-cosmic.spec
@@ -17,13 +17,14 @@
Name: xdg-desktop-portal-cosmic
-Version: 0.1.0+git20240717.813352e
+Version: 1.0.0~alpha1
Release: 0
Summary: COSMIC xdg portal
License: GPL-3.0-only
URL: https://github.com/pop-os/xdg-desktop-portal-cosmic
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
+Patch0: leap-fix-libexec.patch
BuildRequires: cargo-packaging
BuildRequires: clang-devel
BuildRequires: git-core
@@ -43,13 +44,16 @@ BuildRequires: pkgconfig(xkbcommon)
This package contains the xdg portal implementation for COSMIC DE.
%prep
-%autosetup -a1
+%autosetup -N -a1
+%if 0%{?suse_version} < 1600
+%autopatch -p0
+%endif
%build
%make_build
%install
-%make_install prefix=%{_prefix}
+%make_install DESTDIR=%{buildroot} prefix=%{_prefix}
%check
%{cargo_test}
@@ -57,7 +61,7 @@ This package contains the xdg portal implementation for COSMIC DE.
%files
%license LICENSE
%{_libexecdir}/%{name}
-%{_iconsdir}/hicolor/scalable/actions/*.svg
+%{_datadir}/icons/hicolor/scalable/actions/{screenshot-screen-symbolic,screenshot-selection-symbolic,screenshot-window-symbolic}.svg
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.cosmic.service
%{_datadir}/xdg-desktop-portal/cosmic-portals.conf
%{_datadir}/xdg-desktop-portal/portals/cosmic.portal