99 lines
3.0 KiB
RPMSpec
99 lines
3.0 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
Name: kauth
|
||
|
Version: 5.9.0
|
||
|
Release: 1mamba
|
||
|
Summary: Execute actions as privileged user
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.kde.org
|
||
|
Source: http://download.kde.org/stable/frameworks/%{majver}/kauth-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libkcoreaddons-devel
|
||
|
BuildRequires: libqt5-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
KAuth provides a convenient, system-integrated way to offload actions that need to be performed as a privileged user (root, for example) to small (hopefully secure) helper utilities.
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: Execute actions as privileged user
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
KAuth provides a convenient, system-integrated way to offload actions that need to be performed as a privileged user (root, for example) to small (hopefully secure) helper utilities.
|
||
|
|
||
|
%package -n lib%{name}-devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
#%find_lang kauth5-qt
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||
|
|
||
|
%files -n lib%{name}
|
||
|
%defattr(-,root,root)
|
||
|
%{_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf
|
||
|
%{_libdir}/libKF5Auth.so.*
|
||
|
%dir %{_libdir}/plugins/kauth
|
||
|
%dir %{_libdir}/plugins/kauth/helper
|
||
|
%{_libdir}/plugins/kauth/helper/kauth_helper_plugin.so
|
||
|
%{_libdir}/plugins/kauth/backend/kauth_backend_plugin.so
|
||
|
%{_libdir}/libexec/kauth/kauth-policy-gen
|
||
|
%{_datadir}/locale/*/LC_MESSAGES/kauth5_qt.qm
|
||
|
%doc COPYING.LIB
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/KF5/kauth_version.h
|
||
|
%dir %{_includedir}/KF5/KAuth
|
||
|
%{_includedir}/KF5/KAuth/*
|
||
|
%dir %{_libdir}/cmake/KF5Auth
|
||
|
%{_libdir}/cmake/KF5Auth/KF5Auth*.cmake
|
||
|
%{_libdir}/libKF5Auth.so
|
||
|
/usr/mkspecs/modules/qt_KAuth.pri
|
||
|
%{_datadir}/kf5/kauth/dbus_policy.stub
|
||
|
%{_datadir}/kf5/kauth/dbus_service.stub
|
||
|
%doc README.md
|
||
|
|
||
|
%changelog
|
||
|
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Mar 21 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Feb 28 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri Feb 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
|
||
|
- package created using the webbuild interface
|