fix
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/appimaged?expand=0&rev=2
This commit is contained in:
parent
0b7bfd171b
commit
1254ce4a6f
@ -43,6 +43,9 @@ appimaged is a daemon that handles registering and unregistering AppImages
|
|||||||
with the system (e.g., menu entries, icons, MIME types, binary delta updates,
|
with the system (e.g., menu entries, icons, MIME types, binary delta updates,
|
||||||
and such).
|
and such).
|
||||||
|
|
||||||
|
The package comes also with appimage.validate CLI tool to verify signature
|
||||||
|
of AppImage files.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n AppImageKit-%version
|
%setup -q -n AppImageKit-%version
|
||||||
@ -75,14 +78,13 @@ $CC -std=gnu99 -o appimaged -I./squashfuse/ ./getsection.c ./notify.c ./elf.c ./
|
|||||||
$(pkg-config --cflags --libs cairo) \
|
$(pkg-config --cflags --libs cairo) \
|
||||||
-ldl -lpthread -lz -llzma
|
-ldl -lpthread -lz -llzma
|
||||||
|
|
||||||
# basic tools for validation
|
# basic tool for validation
|
||||||
$CC -o appimage.digest ./getsection.c ./digest.c -Wl,-Bdynamic -lssl -lcrypto -lz -ldl
|
|
||||||
$CC -o appimage.validate ./getsection.c ./validate.c -Wl,-Bdynamic -lssl -lcrypto \
|
$CC -o appimage.validate ./getsection.c ./validate.c -Wl,-Bdynamic -lssl -lcrypto \
|
||||||
-Wl,--as-needed $(pkg-config --cflags --libs glib-2.0) -lz -ldl
|
-Wl,--as-needed $(pkg-config --cflags --libs glib-2.0) -lz -ldl
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
install -m 0755 appimaged appimage.digest appimage.validate %{buildroot}%{_bindir}
|
install -m 0755 appimaged appimage.validate %{buildroot}%{_bindir}
|
||||||
|
|
||||||
# install systemd per user service
|
# install systemd per user service
|
||||||
mkdir -p %{buildroot}%{_userunitdir}
|
mkdir -p %{buildroot}%{_userunitdir}
|
||||||
@ -100,7 +102,6 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_userunitdir}/appimaged.service
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE README.md
|
%doc LICENSE README.md
|
||||||
%{_bindir}/appimage.digest
|
|
||||||
%{_bindir}/appimage.validate
|
%{_bindir}/appimage.validate
|
||||||
%{_bindir}/appimaged
|
%{_bindir}/appimaged
|
||||||
%{_userunitdir}/appimaged.service
|
%{_userunitdir}/appimaged.service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user