signon-kwallet-extension/signon-kwallet-extension.spec

67 lines
1.9 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: signon-kwallet-extension
Version: 18.12.1
Release: 1mamba
Summary: KDE Frameworks 5 signon extension for kwallet
Group: Graphical Desktop/Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
* Sat Jan 12 2019 Automatic Build System <autodist@mambasoft.it> 18.12.1-1mamba
- automatic version update by autodist
* Fri Jan 11 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 18.12.0-1mamba
- package created using the webbuild interface