diff --git a/README.md b/README.md index d87a808..409ba0f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # signon-kwallet-extension +KDE Frameworks 5 signon extension for kwallet. + diff --git a/signon-kwallet-extension.spec b/signon-kwallet-extension.spec new file mode 100644 index 0000000..833b8b8 --- /dev/null +++ b/signon-kwallet-extension.spec @@ -0,0 +1,63 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: signon-kwallet-extension +Version: 18.12.0 +Release: 1mamba +Summary: KDE Frameworks 5 signon extension for kwallet +Group: Graphical Desktop/Applications/Security +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: https://download.kde.org/stable/applications/%{version}/src/signon-kwallet-extension-%{version}.tar.xz +# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libkwallet-devel +BuildRequires: libqt5-devel +BuildRequires: libsignon-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +KDE Frameworks 5 signon extension for kwallet. + +%package -n lib%{name} +Group: System/Libraries +Summary: KDE Frameworks 5 signon extension for kwallet + +%description -n lib%{name} +KDE Frameworks 5 signon extension for kwallet. +This package contains shared libraries for %{name}. + +%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 -n lib%{name} +%defattr(-,root,root) +%{_libdir}/signon/extensions/libkeyring-kwallet.so +%doc COPYING + +%changelog +* Fri Jan 11 2019 Silvan Calarco 18.12.0-1mamba +- package created using the webbuild interface