user-manager/user-manager.spec

88 lines
2.6 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: user-manager
Version: 5.11.3
Release: 1mamba
Summary: KDE Plasma 5 user manager
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/plasma/%{version}/user-manager-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libkauth-devel
BuildRequires: libkcmutils-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libpwquality-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Plasma 5 user manager.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_libdir}/qt5/plugins/user_manager.so
%{_datadir}/kservices5/user_manager.desktop
%dir %{_datadir}/user-manager/avatars/bluesstyle
%{_datadir}/user-manager/avatars/bluesstyle/*
%dir %{_datadir}/user-manager/avatars/circles
%{_datadir}/user-manager/avatars/circles/*
%dir %{_datadir}/user-manager/avatars/classic
%{_datadir}/user-manager/avatars/classic/*
%dir %{_datadir}/user-manager/avatars/konqui
%{_datadir}/user-manager/avatars/konqui/*
%doc COPYING
%changelog
* Wed Nov 08 2017 Automatic Build System <autodist@mambasoft.it> 5.11.3-1mamba
- automatic version update by autodist
* Wed Oct 25 2017 Automatic Build System <autodist@mambasoft.it> 5.11.2-1mamba
- automatic version update by autodist
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 5.11.1-1mamba
- automatic version update by autodist
* Wed Oct 11 2017 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
- automatic version update by autodist
* Fri Oct 06 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.5-1mamba
- package created using the webbuild interface