plasma-framework/plasma-framework.spec

175 lines
6.1 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: plasma-framework
Version: 5.12.0
Release: 1mamba
Summary: KDE Frameworks 5 foundations that can be used to build a primary user interface
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/5.12/plasma-framework-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libGL-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libgcc
BuildRequires: libkactivities5-devel
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: libkglobalaccel-devel
BuildRequires: libkguiaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknotifications-devel
BuildRequires: libkpackage-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxcb-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
The plasma framework provides the foundations that can be used to build a primary user interface, from graphical to logical components.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%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}"
%post -n lib%{name}
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
exit 0
%postun -n lib%{name}
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
exit 0
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_datadir}/dbus-1/interfaces/org.kde.platformstatus.xml
%{_datadir}/kservices5/kded/platformstatus.desktop
%{_datadir}/kservices5/plasma-dataengine-testengine.desktop
%{_datadir}/kservices5/plasma-scriptengine-applet-declarative.desktop
%{_kde5_servicetypesdir}/plasma-applet.desktop
%{_kde5_servicetypesdir}/plasma-containment.desktop
%{_kde5_servicetypesdir}/plasma-containmentactions.desktop
%{_kde5_servicetypesdir}/plasma-dataengine.desktop
%{_kde5_servicetypesdir}/plasma-generic.desktop
%{_kde5_servicetypesdir}/plasma-lookandfeel.desktop
%{_kde5_servicetypesdir}/plasma-packagestructure.desktop
%{_kde5_servicetypesdir}/plasma-scriptengine.desktop
%{_kde5_servicetypesdir}/plasma-service.desktop
%{_kde5_servicetypesdir}/plasma-shell.desktop
%{_kde5_servicetypesdir}/plasma-wallpaper.desktop
%{_datadir}/locale/lt/LC_SCRIPTS/libplasma5/libplasma5.js
%{_datadir}/locale/lt/LC_SCRIPTS/libplasma5/plasmoids.js
%{_mandir}/man1/plasmapkg2.1*
%dir %{_datadir}/plasma
%dir %{_datadir}/plasma/desktoptheme
%dir %{_datadir}/plasma/desktoptheme/air
%{_datadir}/plasma/desktoptheme/air/*
%dir %{_datadir}/plasma/desktoptheme/breeze-dark
%{_datadir}/plasma/desktoptheme/breeze-dark/*
%dir %{_datadir}/plasma/desktoptheme/default
%{_datadir}/plasma/desktoptheme/default/*
%dir %{_datadir}/plasma/desktoptheme/oxygen
%{_datadir}/plasma/desktoptheme/oxygen/*
%{_datadir}/plasma/services/dataengineservice.operations
%{_datadir}/plasma/services/plasmoidservice.operations
%{_datadir}/plasma/services/storage.operations
%doc COPYING COPYING.LIB
%files -n lib%{name}
%defattr(-,root,root)
%{_bindir}/plasmapkg2
%{_kde5_libdir}/libKF5Plasma.so.*
%{_kde5_libdir}/libKF5PlasmaQuick.so.*
%{_libdir}/qt5/plugins/kf5/kded/platformstatus.so
%{_libdir}/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
%{_libdir}/qt5/plugins/plasma_engine_testengine.so
%{_libdir}/qt5/qml/QtQuick/Controls/Styles/Plasma/*
%{_libdir}/qt5/qml/org/kde/plasma/accessdenied/qmldir
%dir %{_libdir}/qt5/qml/org/kde/plasma/calendar
%{_libdir}/qt5/qml/org/kde/plasma/calendar/*
%dir %{_libdir}/qt5/qml/org/kde/plasma/components
%{_libdir}/qt5/qml/org/kde/plasma/components/*
%dir %{_libdir}/qt5/qml/org/kde/plasma/core
%{_libdir}/qt5/qml/org/kde/plasma/core/*
%dir %{_libdir}/qt5/qml/org/kde/plasma/extras
%{_libdir}/qt5/qml/org/kde/plasma/extras/*
%dir %{_libdir}/qt5/qml/org/kde/plasma/platformcomponents
%{_libdir}/qt5/qml/org/kde/plasma/platformcomponents/libplatformcomponentsplugin.so
%{_libdir}/qt5/qml/org/kde/plasma/platformcomponents/qmldir
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_kde5_includedir}/Plasma
%{_kde5_includedir}/Plasma/*
%dir %{_kde5_includedir}/plasma
%{_kde5_includedir}/plasma/*
%{_kde5_includedir}/plasma_version.h
%dir %{_kde5_libdir}/cmake/KF5Plasma
%{_kde5_libdir}/cmake/KF5Plasma/*.cmake
%dir %{_kde5_libdir}/cmake/KF5PlasmaQuick
%{_kde5_libdir}/cmake/KF5PlasmaQuick/*.cmake
%{_kde5_libdir}/libKF5Plasma.so
%{_kde5_libdir}/libKF5PlasmaQuick.so
%changelog
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.12.0-1mamba
- package created using the webbuild interface