- remove lapce.desktop

- remove lapce.sh
- update specfile

OBS-URL: https://build.opensuse.org/package/show/editors/lapce?expand=0&rev=14
This commit is contained in:
Soc Virnyl Estela 2022-08-06 04:01:05 +00:00 committed by Git OBS Bridge
parent 65647acf97
commit 5be9c5f571
7 changed files with 16 additions and 40 deletions

View File

@ -1,14 +1,4 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/lapce/lapce</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">f8e45ae</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">socvirnyl.estela@gmail.com</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a67486bafdfc09fec59da0b051afe6421a89b77797540bf7cec230f8e3dc0eb4
size 1819242
oid sha256:381f95be6ed43396ecff5da5ce7d2bc75969ba1f67e251410d72753e1059d74d
size 1797992

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Aug 6 03:59:03 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- remove lapce.desktop
- remove lapce.sh
- update specfile
-------------------------------------------------------------------
Fri Jul 15 14:19:28 UTC 2022 - socvirnyl.estela@gmail.com

View File

@ -1,11 +0,0 @@
[Desktop Entry]
Name=Lapce
GenericName=Text Editor
Comment=Performant and light editor
TryExec=lapce.sh
Exec=lapce.sh %F
Icon=lapce
Type=Application
Keywords=Text;editor;Lapce
Categories=TextEditor;Development;IDE;
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++

View File

@ -1,8 +0,0 @@
#!/usr/bin/bash
if [ -n "${WAYLAND_DISPLAY}" ]
then
env -u WAYLAND_DISPLAY /usr/bin/lapce "$@"
else
/usr/bin/lapce "$@"
fi

View File

@ -23,14 +23,12 @@ Summary: Lightning-fast and Powerful Code Editor written in Rust
URL: https://github.com/lapce/lapce
License: (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND MIT AND (Artistic-2.0 OR CC0-1.0) AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND CC0-1.0 AND ISC AND MIT AND (MIT OR Unlicense) AND MPL-2.0 AND MPL-2.0+ AND Zlib AND zlib-acknowledgement AND Apache-2.0
Group: Productivity/Text/Editors
Source0: %{name}-%{version}.tar.gz
Source0: https://github.com/lapce/lapce/archive/refs/tags/v0.1.3.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Source2: cargo_config
Source3: lapce.desktop
Source4: lapce.sh
BuildRequires: c_compiler
BuildRequires: cargo-packaging
BuildRequires: cmake
BuildRequires: c_compiler
BuildRequires: gcc-c++
BuildRequires: libgcc_s1
BuildRequires: pkgconfig
@ -63,9 +61,9 @@ cp %{SOURCE2} .cargo/config
%install
install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name}
install -Dm 0755 %{SOURCE4} %{buildroot}%{_bindir}/lapce.sh
install -Dm 0644 extra/images/logo.svg %{buildroot}%{_datadir}/pixmaps/lapce.svg
install -Dm 0644 %{SOURCE3} %{buildroot}%{_datadir}/applications/%{name}.desktop
install -Dm 0644 extra/linux/dev.%{name}.%{name}.appdata.xml %{buildroot}%{_datadir}/metainfo/dev.%{name}.%{name}.appdata.xml
install -Dm 0644 extra/linux/dev.%{name}.%{name}.desktop %{buildroot}%{_datadir}/applications/dev.%{name}.%{name}.desktop
install -Dm 0644 extra/images/dev.%{name}.%{name}.svg %{buildroot}%{_datadir}/pixmaps/dev.%{name}.%{name}.svg
%files
%license LICENSE

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d110f2bbac55e84c4753b213772dd21621cc0c9d4100fd61d5036b1b65dd09a2
size 101277910
oid sha256:758908583e3ca872119bdf8f39d471c0f0cae67ba6ac11438da8377577dc22a1
size 101316316