2024-01-06 10:25:18 +01:00
|
|
|
Name: polkit-qt-1
|
2024-01-06 10:25:18 +01:00
|
|
|
Version: 0.113.0
|
2024-01-06 10:25:18 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Qt bindings for polkit
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt-1/html/
|
2024-01-06 10:25:18 +01:00
|
|
|
Source: https://download.kde.org/stable/polkit-qt-1/polkit-qt-1-%{version}.tar.xz
|
2024-01-06 10:25:18 +01:00
|
|
|
Patch0: polkit-qt-0.95.1-install-cmake-find.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 10:25:18 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 10:25:18 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 10:25:18 +01:00
|
|
|
BuildRequires: libpolkit-devel
|
|
|
|
BuildRequires: libqt5-devel
|
2024-01-06 10:25:18 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
polkit-qt-1 aims to make it easy for Qt developers to take advantage of polkit API. It is a convenience wrapper around QAction and QAbstractButton that lets you integrate those two components easily with polkit.
|
|
|
|
|
2024-01-06 10:25:18 +01:00
|
|
|
%package -n libpolkit-qt5-1
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Qt5 bindings for polkit
|
|
|
|
|
|
|
|
%description -n libpolkit-qt5-1
|
|
|
|
Polkit-qt-1 aims to make it easy for Qt5 developers to take advantage of polkit API. It is a convenience wrapper around QAction and QAbstractButton that lets you integrate those two components easily with polkit.
|
|
|
|
|
|
|
|
%package -n libpolkit-qt5-1-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for libpolkit-qt5-1
|
|
|
|
Requires: libpolkit-qt5-1 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libpolkit-qt5-1-devel
|
|
|
|
Polkit-qt-1 aims to make it easy for Qt5 developers to take advantage of polkit API. It is a convenience wrapper around QAction and QAbstractButton that lets you integrate those two components easily with polkit.
|
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 10:25:18 +01:00
|
|
|
|
2024-01-06 10:25:18 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 10:25:18 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
2024-01-06 10:25:18 +01:00
|
|
|
%cmake -d build
|
2024-01-06 10:25:18 +01:00
|
|
|
|
2024-01-06 10:25:18 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 10:25:18 +01:00
|
|
|
%post -n libpolkit-qt5-1
|
|
|
|
/sbin/ldconfig
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun -n libpolkit-qt5-1
|
|
|
|
/sbin/ldconfig
|
|
|
|
:
|
|
|
|
|
|
|
|
%files -n libpolkit-qt5-1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libpolkit-qt5-agent-1.so.*
|
|
|
|
%{_libdir}/libpolkit-qt5-core-1.so.*
|
|
|
|
%{_libdir}/libpolkit-qt5-gui-1.so.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files -n libpolkit-qt5-1-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/polkit-qt5-1
|
|
|
|
%dir %{_includedir}/polkit-qt5-1/PolkitQt1
|
2024-01-06 10:25:18 +01:00
|
|
|
%{_includedir}/polkit-qt5-1/PolkitQt1/Agent/Session
|
2024-01-06 10:25:18 +01:00
|
|
|
%{_includedir}/polkit-qt5-1/PolkitQt1/ActionDescription
|
|
|
|
%{_includedir}/polkit-qt5-1/PolkitQt1/Agent
|
|
|
|
%{_includedir}/polkit-qt5-1/PolkitQt1/Authority
|
|
|
|
%{_includedir}/polkit-qt5-1/PolkitQt1/Details
|
|
|
|
%dir %{_includedir}/polkit-qt5-1/PolkitQt1/Gui
|
|
|
|
%{_includedir}/polkit-qt5-1/PolkitQt1/Gui/Action*
|
|
|
|
%{_includedir}/polkit-qt5-1/PolkitQt1/Identity
|
|
|
|
%{_includedir}/polkit-qt5-1/PolkitQt1/Subject
|
|
|
|
%{_includedir}/polkit-qt5-1/PolkitQt1/TemporaryAuthorization
|
|
|
|
%{_includedir}/polkit-qt5-1/*.h
|
|
|
|
%{_libdir}/cmake/PolkitQt5-1/PolkitQt5-1Config.cmake
|
|
|
|
%{_libdir}/cmake/PolkitQt5-1/PolkitQt5-1ConfigVersion.cmake
|
|
|
|
%{_libdir}/cmake/PolkitQt5-1/PolkitQt5-1Targets-noconfig.cmake
|
|
|
|
%{_libdir}/cmake/PolkitQt5-1/PolkitQt5-1Targets.cmake
|
|
|
|
%{_libdir}/libpolkit-qt5-agent-1.so
|
|
|
|
%{_libdir}/libpolkit-qt5-core-1.so
|
|
|
|
%{_libdir}/libpolkit-qt5-gui-1.so
|
|
|
|
%{_libdir}/pkgconfig/polkit-qt5-1.pc
|
|
|
|
%{_libdir}/pkgconfig/polkit-qt5-agent-1.pc
|
|
|
|
%{_libdir}/pkgconfig/polkit-qt5-core-1.pc
|
|
|
|
%{_libdir}/pkgconfig/polkit-qt5-gui-1.pc
|
2024-01-06 10:25:18 +01:00
|
|
|
%{_datadir}/cmake/Modules/FindPolkitQt-1.cmake
|
2024-01-06 10:25:18 +01:00
|
|
|
%doc README TODO
|
2024-01-06 10:25:18 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:25:18 +01:00
|
|
|
* Thu Apr 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.113.0-1mamba
|
|
|
|
- update to 0.113.0
|
|
|
|
|
2024-01-06 10:25:18 +01:00
|
|
|
* Tue Feb 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.112.0-1mamba
|
|
|
|
- update to 0.112.0
|
|
|
|
|
2024-01-06 10:25:18 +01:00
|
|
|
* Tue Dec 20 2011 Automatic Build System <autodist@mambasoft.it> 0.103.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.0-1mamba
|
|
|
|
- update to 0.99.0
|
|
|
|
|
|
|
|
* Thu Oct 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.96.1-1mamba
|
|
|
|
- update to 0.96.1
|
|
|
|
|
|
|
|
* Thu Jun 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.95.1-3mamba
|
|
|
|
- obsolete polkit-qt
|
|
|
|
|
|
|
|
* Mon Apr 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.95.1-2mamba
|
|
|
|
- added install-cmake-find patch
|
|
|
|
|
|
|
|
* Sun Apr 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.95.1-1mamba
|
|
|
|
- package created by autospec
|