1 Star 1 Fork 0

crazyi/KDChart

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
qt5-kdchart.spec 2.27 KB
一键复制 编辑 原始数据 按行查看 历史
Allen Winter 提交于 2020-01-06 15:22 . various - prep for 2.7.0 release
Name: qt5-kdchart
Version: 2.7.0
Release: 1
Summary: A Qt tool for creating business and scientific charts
Source0: %{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc
Source2: %{name}-%{version}.tar.gz.asc
URL: https://github.com/KDAB/KDChart
Group: System/Libraries
License: GPL-2.0+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Vendor: Klaralvdalens Datakonsult AB (KDAB)
Packager: Klaralvdalens Datakonsult AB (KDAB) <[email protected]>
BuildRequires: cmake
%if %{defined suse_version}
BuildRequires: libqt5-qtbase-devel libqt5-qtsvg-devel
%endif
%if %{defined fedora}
BuildRequires: gcc-c++ qt5-qtbase-devel qt5-qtsvg-devel desktop-file-utils
%endif
%if %{defined rhel}
BuildRequires: gcc-c++ qt5-qtbase-devel qt5-qtsvg-devel desktop-file-utils
%endif
%description
KDAB's KD Chart a tool for creating business and scientific charts.
It provides developers with a sophisticated way to customize layouts and
to design and manage large numbers of axes. KD Chart targets C++ programmers
who use Qt in their applications.
Authors:
--------
Klaralvdalens Datakonsult AB (KDAB) <[email protected]>
%define debug_package %{nil}
%global __debug_install_post %{nil}
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
This package contains header files and associated tools and libraries to
develop programs using kdchart.
%prep
%autosetup
%build
touch .license.accepted
%if "%{_lib}"=="lib64"
QMAKE_ARGS="LIB_SUFFIX=64" ./configure.sh -shared -release -no-unittests -prefix %{buildroot}/usr
%else
./configure.sh -shared -release -prefix %{buildroot}/usr
%endif
%__make %{?_smp_mflags}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%install
%make_install
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_prefix}/share/doc/KDChart
%{_libdir}/libkdchart.so.*
%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/KDChart
%{_includedir}/KDChart/*
%dir %{_includedir}/KDGantt
%{_includedir}/KDGantt/*
%{_libdir}/libkdchart.so
%changelog
* Mon Jan 06 2020 Allen Winter <[email protected]> 2.7.0
2.7.0
* Mon Apr 22 2019 Allen Winter <[email protected]> 2.6.2
2.6.2 final
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/crazyi/KDChart.git
[email protected]:crazyi/KDChart.git
crazyi
KDChart
KDChart
master

搜索帮助