kquickcharts/kquickcharts.spec

95 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kquickcharts
Version: 5.72.0
Release: 1mamba
Summary: KDE Frameworks 5 QtQuick plugin providing high-performance charts
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/frameworks/%{majver}/kquickcharts-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-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
KDE Frameworks 5 QtQuick plugin providing high-performance charts.
%package -n lib%{name}
Group: System/Libraries
Summary: KDE Frameworks 5 QtQuick plugin providing high-performance charts
%description -n lib%{name}
KDE Frameworks 5 QtQuick plugin providing high-performance charts.
%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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}
%defattr(-,root,root)
%dir %{_libdir}/qt5/qml/org/kde/quickcharts
%dir %{_libdir}/qt5/qml/org/kde/quickcharts/controls
%{_libdir}/qt5/qml/org/kde/quickcharts/controls/*
%{_libdir}/qt5/qml/org/kde/quickcharts/libQuickCharts.so
%{_libdir}/qt5/qml/org/kde/quickcharts/qmldir
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_kde5_libdir}/cmake/KF5QuickCharts/KF5QuickChartsConfig.cmake
%{_kde5_libdir}/cmake/KF5QuickCharts/KF5QuickChartsConfigVersion.cmake
%{_kde5_libdir}/cmake/KF5QuickCharts/KF5QuickChartsTargets-relwithdebinfo.cmake
%{_kde5_libdir}/cmake/KF5QuickCharts/KF5QuickChartsTargets.cmake
%changelog
* Tue Jul 14 2020 Automatic Build System <autodist@mambasoft.it> 5.72.0-1mamba
- automatic version update by autodist
* Tue Jun 16 2020 Automatic Build System <autodist@mambasoft.it> 5.71.0-1mamba
- automatic version update by autodist
* Mon May 11 2020 Automatic Build System <autodist@mambasoft.it> 5.70.0-1mamba
- automatic version update by autodist
* Tue Apr 14 2020 Automatic Build System <autodist@mambasoft.it> 5.69.0-1mamba
- automatic version update by autodist
* Tue Mar 17 2020 Automatic Build System <autodist@mambasoft.it> 5.68.0-1mamba
- automatic version update by autodist
* Mon Feb 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.67.0-1mamba
- package created using the webbuild interface