plasma-sdk/plasma-sdk.spec

112 lines
3.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: plasma-sdk
Version: 5.11.2
Release: 1mamba
Summary: KDE Frameworks 5 sdk
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/plasma/%{version}/plasma-sdk-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libkdeclarative-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkpackage-devel
BuildRequires: libkparts-devel
BuildRequires: libkservice-devel
BuildRequires: libktexteditor-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libplasma-framework-devel
BuildRequires: libqt5-devel
BuildRequires: libsonnet-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 sdk.
%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}/cuttlefish
%{_bindir}/lookandfeelexplorer
%{_bindir}/plasmaengineexplorer
%{_bindir}/plasmathemeexplorer
%{_bindir}/plasmoidviewer
%{_libdir}/qt5/plugins/ktexteditor/cuttlefishplugin.so
%{_datadir}/applications/org.kde.cuttlefish.desktop
%{_datadir}/applications/org.kde.plasma.lookandfeelexplorer.desktop
%{_datadir}/applications/org.kde.plasma.themeexplorer.desktop
%dir %{_datadir}/kpackage/genericqml/org.kde.plasma.lookandfeelexplorer
%{_datadir}/kpackage/genericqml/org.kde.plasma.lookandfeelexplorer/*
%dir %{_datadir}/kpackage/genericqml/org.kde.plasma.themeexplorer
%{_datadir}/kpackage/genericqml/org.kde.plasma.themeexplorer/*
%{_datadir}/kservices5/plasma-package-org.kde.plasma.cuttlefish.desktop
%{_datadir}/kservices5/plasma-shell-org.kde.plasma.plasmoidviewershell.desktop
%{_mandir}/man1/plasmaengineexplorer.1.gz
%{_mandir}/man1/plasmoidviewer.1.gz
%{_datadir}/metainfo/org.kde.cuttlefish.appdata.xml
%{_datadir}/metainfo/org.kde.plasma.cuttlefish.appdata.xml
%{_datadir}/metainfo/org.kde.plasma.lookandfeelexplorer.appdata.xml
%{_datadir}/metainfo/org.kde.plasma.plasmoidviewershell.appdata.xml
%{_datadir}/metainfo/org.kde.plasma.themeexplorer.appdata.xml
%dir %{_datadir}/plasma/packages/org.kde.plasma.cuttlefish
%{_datadir}/plasma/packages/org.kde.plasma.cuttlefish/*
%dir %{_datadir}/plasma/shells/org.kde.plasma.plasmoidviewershell
%{_datadir}/plasma/shells/org.kde.plasma.plasmoidviewershell/*
%doc COPYING COPYING.LIB
%changelog
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 5.11.2-1mamba
- automatic version update by autodist
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 5.11.1-1mamba
- automatic version update by autodist
* Thu Oct 12 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