%define majver %(echo %version | cut -d. -f1-2) Name: kscreen Version: 5.5.3 Release: 1mamba Summary: KDE Frameworks 5 restore and save screen configurations depending on which monitors are connected Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: http://download.kde.org/stable/plasma/%{version}/kscreen-%{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: libkcodecs-devel BuildRequires: libkconfig-devel BuildRequires: libkconfigwidgets-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkdbusaddons-devel BuildRequires: libkglobalaccel-devel BuildRequires: libki18n-devel BuildRequires: libkscreen-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: libkxmlgui-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 Frameworks 5 restore and save screen configurations depending on which monitors are connected. %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) %{_bindir}/kscreen-console %{_libdir}/qt5/plugins/kcm_kscreen.so %{_libdir}/qt5/plugins/kf5/kded/kscreen.so %{_datadir}/icons/hicolor/*/actions/kdocumentinfo.png %{_datadir}/icons/hicolor/scalable/actions/kdocumentinfo.svgz %dir %{_datadir}/kcm_kscreen %dir %{_datadir}/kcm_kscreen/qml %{_datadir}/kcm_kscreen/* %{_datadir}/kservices5/kcm_kscreen.desktop %doc COPYING %changelog * Thu Jan 07 2016 Automatic Build System 5.5.3-1mamba - automatic version update by autodist * Sat Jan 02 2016 Silvan Calarco 5.5.2-1mamba - package created using the webbuild interface