Richard Rahl 2024-08-08 02:46:06 +00:00 committed by Git OBS Bridge
parent 96f1b4db2c
commit 17b82f9b79
4 changed files with 17 additions and 8 deletions

View File

@ -6,6 +6,7 @@
<param name="revision">main</param>
<param name="versionformat">0.1.0+git%cd.%h</param>
<param name="package-meta">yes</param>
<param name="filename">cosmic-ext-applet-ollama</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cc2a501c84f9fa1ff8dadadf78156f322e62cb516076b741abba6547f4ea5a0
size 417793
oid sha256:e68bcc2ab1ea140feffd087be30e0e8ac3990eed3b2139478b348b7d64d64b3a
size 417802

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Aug 8 00:59:12 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- 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
-------------------------------------------------------------------
Thu Jul 11 07:11:23 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@ -26,12 +26,12 @@ URL: https://github.com/elevenhsoft/cosmic-ext-applet-ollama
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: just
BuildRequires: hicolor-icon-theme
BuildRequires: update-desktop-files
BuildRequires: just
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(xkbcommon)
Requires: ollama
%description
@ -47,11 +47,11 @@ just build-release
%install
install -Dm0755 ./target/release/%{name} %{buildroot}%{_bindir}/%{name}
install -Dm0755 data/%{appname}.desktop %{buildroot}%{_datadir}/applications/%{appname}.desktop
install -Dm0755 data/icons/scalable/apps/%{appname}-symbolic.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{appname}-symbolic.svg
install -Dm0755 data/icons/scalable/apps/%{appname}-symbolic.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{appname}-symbolic.svg
%suse_update_desktop_file %{appname}
#fix upstream
chmod -x %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{appname}-symbolic.svg
chmod -x %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{appname}-symbolic.svg
%check
%{cargo_test}
@ -61,6 +61,6 @@ chmod -x %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{appname}-symbolic.svg
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{appname}.desktop
%{_iconsdir}/hicolor/scalable/apps/%{appname}-symbolic.svg
%{_datadir}/icons/hicolor/scalable/apps/%{appname}-symbolic.svg
%changelog