x86_64: provide symlink /usr/lib/libgksu for gksu-run-helper to be found [release 2.0.12-3mamba;Sun Jul 27 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 04:23:19 +01:00
parent 2e2307d2ac
commit b122a8d9b7

View File

@ -1,6 +1,6 @@
Name: libgksu
Version: 2.0.12
Release: 2mamba
Release: 3mamba
Summary: A library that provides a Gtk+ frontend to su and sudo
Group: System/Libraries
Vendor: openmamba
@ -15,13 +15,18 @@ Patch3: libgksu-2.0.12-make-3.82.patch
Patch4: libgksu-2.0.12-polinguas.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libGConf-devel
BuildRequires: libORBit2-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libelf-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
@ -35,19 +40,12 @@ BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtop-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -80,6 +78,10 @@ autoreconf -f -i
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%ifarch x86_64
install -d -m0755 %{buildroot}%{_prefix}/lib
ln -s ../lib64/libgksu %{buildroot}%{_prefix}/lib/libgksu
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -90,6 +92,10 @@ autoreconf -f -i
%{_sysconfdir}/gconf/schemas/gksu.schemas
%{_bindir}/gksu-properties
%{_libdir}/libgksu2.so.*
%ifarch x86_64
%{_prefix}/lib/libgksu
%endif
%dir %{_libdir}/libgksu
%{_libdir}/libgksu/gksu-run-helper
%{_datadir}/applications/gksu-properties.desktop
%dir %{_datadir}/libgksu
@ -110,6 +116,9 @@ autoreconf -f -i
%doc ChangeLog
%changelog
* Sun Jul 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.12-3mamba
- x86_64: provide symlink /usr/lib/libgksu for gksu-run-helper to be found
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.12-2mamba
- rebuilt to update .la file