plasma-integration/plasma-integration.spec

78 lines
2.3 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: plasma-integration
Version: 5.7.5
Release: 1mamba
Summary: Integration of Qt application with KDE workspaces
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/plasma/%{version}/plasma-integration-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libXcursor-devel
BuildRequires: libgcc
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknotifications-devel
BuildRequires: libkservice-devel
BuildRequires: libkwayland-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Framework Integration is a set of plugins responsible for better integration of Qt applications when running on a KDE Plasma workspace.
%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/platformthemes/KDEPlasmaPlatformTheme.so
%doc COPYING.LIB
%changelog
* Wed Oct 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.7.5-1mamba
- update to 5.7.5
* Tue Aug 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.7.3-1mamba
- package created using the webbuild interface