patched to fix rpath for private library in apper binary [release 1.0.0-2mamba;Sat Apr 07 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 20:30:06 +01:00
parent 29bc417405
commit 5978155cfd
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- apper-1.0.0/Apper/CMakeLists.txt.orig 2018-04-07 13:23:06.706687195 +0200
+++ apper-1.0.0/Apper/CMakeLists.txt 2018-04-07 13:23:13.174714815 +0200
@@ -49,7 +49,7 @@
set_target_properties(apper PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/apper)
-install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/apper DESTINATION ${CMAKE_INSTALL_BINDIR})
+install(TARGETS apper DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES org.kde.apper.desktop DESTINATION ${CMAKE_INSTALL_APPDIR})
install(FILES org.kde.apper_installer.desktop DESTINATION ${CMAKE_INSTALL_APPDIR})
install(FILES org.kde.apper_settings.desktop DESTINATION ${CMAKE_INSTALL_APPDIR})

View File

@ -1,7 +1,7 @@
Name: apper
Epoch: 1
Version: 1.0.0
Release: 1mamba
Release: 2mamba
Summary: A KDE interface and plasmoid for PackageKit
Group: Graphical Desktop/Applications/Administration
Vendor: openmamba
@ -13,6 +13,7 @@ Source1: 01-fedora-org.packagekit.updater.js
Source2: apper-0.8.0-translations.tar.xz
Patch0: apper-0.8.1-plasmoid-fix-icons.patch
Patch1: apper-0.9.1-no-popup-for-background-actions.patch
Patch2: apper-1.0.0-fix_rpath.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -58,6 +59,7 @@ Apper (aka KPackageKit) is the KDE interface for PackageKit.
%setup -q
#%patch0 -p1
#%patch1 -p1
%patch2 -p1
#rm -f plasmoid/package/contents/ui/main.qml.orig
@ -139,6 +141,9 @@ fi
# TODO
%changelog
* Sat Apr 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-2mamba
- patched to fix rpath for private library in apper binary
* Thu Mar 15 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0