update to 0.112.0 [release 0.112.0-1mamba;Tue Feb 03 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 10:25:18 +01:00
parent cbac84cbca
commit ba5a49a812

View File

@ -1,5 +1,5 @@
Name: polkit-qt-1
Version: 0.103.0
Version: 0.112.0
Release: 1mamba
Summary: Qt bindings for polkit
Group: System/Libraries
@ -14,53 +14,105 @@ License: LGPL
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libpolkit-devel
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: polkit-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Provides: polkit-qt
Obsoletes: polkit-qt
%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.
%package devel
%package -n libpolkit-qt-1
Group: System/Libraries
Summary: Qt4 bindings for polkit
Provides: polkit-qt
Obsoletes: polkit-qt
Provides: polkit-qt-1
Obsoletes: polkit-qt-1
%description -n libpolkit-qt-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-qt-1-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: polkit-qt-devel
Obsoletes: polkit-qt-devel
Provides: polkit-qt-1-devel
Obsoletes: polkit-qt-1-devel
%description devel
%description -n libpolkit-qt-1-devel
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.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%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.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%build
%cmake -d build
%cmake -d build \
-DUSE_QT4=ON
%make
cd ..
%cmake -d build-qt5 \
-DUSE_QT5=ON
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build-qt5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%post -n libpolkit-qt-1
/sbin/ldconfig
:
%postun -n libpolkit-qt-1
/sbin/ldconfig
:
%post -n libpolkit-qt5-1
/sbin/ldconfig
:
%postun -n libpolkit-qt5-1
/sbin/ldconfig
:
%files -n libpolkit-qt-1
%defattr(-,root,root)
%{_libdir}/libpolkit-qt-agent-1.so.*
%{_libdir}/libpolkit-qt-core-1.so.*
%{_libdir}/libpolkit-qt-gui-1.so.*
%doc AUTHORS COPYING README TODO
%doc AUTHORS COPYING
%files devel
%files -n libpolkit-qt-1-devel
%defattr(-,root,root)
%{_includedir}/polkit-qt-1/PolkitQt1
%{_includedir}/polkit-qt-1/polkitqt1-*.h
@ -74,9 +126,49 @@ This package contains static libraries and header files need for development.
%{_libdir}/pkgconfig/polkit-qt-core-1.pc
%{_libdir}/pkgconfig/polkit-qt-gui-1.pc
%{_libdir}/pkgconfig/polkit-qt-agent-1.pc
%doc README.porting
%{_libdir}/cmake/PolkitQt-1/PolkitQt-1Targets-noconfig.cmake
%{_libdir}/cmake/PolkitQt-1/PolkitQt-1Targets.cmake
%doc README TODO
%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
%dir %{_includedir}/polkit-qt5-1/PolkitQt1/Agent/Session
%{_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
%doc README TODO
%changelog
* Tue Feb 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.112.0-1mamba
- update to 0.112.0
* Tue Dec 20 2011 Automatic Build System <autodist@mambasoft.it> 0.103.0-1mamba
- automatic version update by autodist