2024-01-06 10:24:25 +01:00
|
|
|
Name: polkit-gnome
|
|
|
|
Version: 0.105
|
2024-01-06 10:24:26 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 10:24:25 +01:00
|
|
|
Summary: PolicyKit integration for the GNOME desktop
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 10:24:26 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:24:25 +01:00
|
|
|
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
|
|
|
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/polkit-gnome/%{version}/polkit-gnome-%{version}.tar.xz
|
2024-01-06 10:24:26 +01:00
|
|
|
Patch0: polkit-gnome-0.105-Select-the-current-user-to-authenticate-with-by-defa.patch
|
|
|
|
Patch1: polkit-gnome-0.105-Auth-dialog-Make-the-label-wrap-at-70-chars.patch
|
|
|
|
Patch2: polkit-gnome-0.105-Get-user-icon-from-accountsservice-instead-of-lookin.patch
|
|
|
|
Patch3: polkit-gnome-0.105-Use-fresh-X11-timestamps-when-displaying-authenticat.patch
|
2024-01-06 10:24:25 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libatk-devel
|
2024-01-06 10:24:26 +01:00
|
|
|
BuildRequires: libbrotli-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
2024-01-06 10:24:25 +01:00
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 10:24:26 +01:00
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-06 10:24:25 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-06 10:24:26 +01:00
|
|
|
BuildRequires: libpolkit-devel
|
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-06 10:24:25 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
Provides: polkit-gnome-devel
|
2024-01-06 10:24:26 +01:00
|
|
|
Obsoletes: polkit-gnome-devel < 0.105-3mamba
|
|
|
|
Obsoletes: polkit-gnome-apidocs < 0.105-3mamba
|
2024-01-06 10:24:25 +01:00
|
|
|
Requires: at-spi2-core
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} provides an authentication agent for PolicyKit that matches the look and feel of the GNOME desktop
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
PolicyKit integration for the GNOME desktop.
|
|
|
|
|
2024-01-06 10:24:26 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 10:24:25 +01:00
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Group: Documentation
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
%{name} API documentation.
|
|
|
|
|
2024-01-06 10:24:26 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 10:24:25 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 10:24:26 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2024-01-06 10:24:25 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--disable-introspection
|
2024-01-06 10:24:26 +01:00
|
|
|
|
2024-01-06 10:24:25 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
#echo 'NotShowIn=KDE;' >> %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
|
|
|
|
|
|
|
|
%find_lang %{name}-1
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}-1.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libexecdir}/polkit-gnome-*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:24:26 +01:00
|
|
|
* Wed Apr 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.105-3mamba
|
|
|
|
- rebuilt with aarch64 build fix, debug package and patches
|
|
|
|
|
2024-01-06 10:24:25 +01:00
|
|
|
* Sun May 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.105-2mamba
|
|
|
|
- require at-spi2-core
|
|
|
|
|
|
|
|
* Thu Oct 27 2011 Automatic Build System <autodist@mambasoft.it> 0.105-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 17 2011 Automatic Build System <autodist@mambasoft.it> 0.104-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 01 2011 Automatic Build System <autodist@mambasoft.it> 0.103-1mamba
|
|
|
|
- update to 0.103
|
|
|
|
|
|
|
|
* Wed Aug 17 2011 Automatic Build System <autodist@mambasoft.it> 0.102-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 26 2011 Automatic Build System <autodist@mambasoft.it> 0.101-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99-1mamba
|
|
|
|
- update to 0.99
|
|
|
|
|
|
|
|
* Fri Oct 08 2010 gil <puntogil@libero.it> 0.96-1mamba
|
|
|
|
- package created by autospec
|