diff --git a/README.md b/README.md index 983411b..e585f9b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kwallet-pam +KDE Plasma 5 kwallet login integration with PAM. + diff --git a/kwallet-pam.spec b/kwallet-pam.spec new file mode 100644 index 0000000..979a4e7 --- /dev/null +++ b/kwallet-pam.spec @@ -0,0 +1,54 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: kwallet-pam +Version: 5.11.2 +Release: 1mamba +Summary: KDE Plasma 5 kwallet login integration with PAM +Group: Applications/Security +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: https://download.kde.org/stable/plasma/%{version}/kwallet-pam-%{version}.tar.xz +# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcrypt-devel +BuildRequires: libgpg-error-devel +BuildRequires: libpam-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +KDE Plasma 5 kwallet login integration with PAM. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sysconfdir}/xdg/autostart/pam_kwallet_init.desktop +%{_libdir}/security/pam_kwallet5.so +%{_libexecdir}/pam_kwallet_init +%doc COPYING.LIB + +%changelog +* Sun Nov 05 2017 Silvan Calarco 5.11.2-1mamba +- package created using the webbuild interface