Projects
Multimedia
welle-io
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
welle-io.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Sep 13 09:38:06 UTC 2024 - Fridrich Strba <fridrich.strba@bluewin.ch> + +- Make the welle-cli start in a directory where are its data + * Allows running web-interface out of the box + +------------------------------------------------------------------- Thu Sep 12 17:39:03 UTC 2024 - Fridrich Strba <fridrich.strba@bluewin.ch> - Update to latest git snapshot
View file
welle-io.spec
Changed
@@ -74,6 +74,19 @@ %install %cmake_install +# move data of web interface to welle-cli subpackage +install -dm 0755 %{buildroot}%{_datadir}/welle-cli +mv %{buildroot}%{_datadir}/welle-io/html %{buildroot}%{_datadir}/welle-cli/html + +# create a launch script to use the web interface data from the right directory +mv %{buildroot}%{_bindir}/welle-cli %{buildroot}%{_bindir}/welle-cli.bin +cat > %{buildroot}%{_bindir}/welle-cli << EOF +#!/bin/sh +(cd %{_datadir}/welle-cli/html && %{_bindir}/welle-cli.bin "\$@") +EOF +chmod +x %{buildroot}%{_bindir}/welle-cli + + %files %license COPYING %{_bindir}/welle-io @@ -85,7 +98,8 @@ %doc README.md AUTHORS THANKS %files -n welle-cli -%{_bindir}/welle-cli +%{_bindir}/welle-cli* +%{_datadir}/welle-cli %{_mandir}/man1/welle-cli.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.