1 Star 0 Fork 1

egrias/KDChart

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
kdchart.spec 2.35 KB
一键复制 编辑 原始数据 按行查看 历史
Allen Winter 提交于 2020-10-16 12:06 . various - prep for 2.7.2 release
Name: kdchart
Version: 2.7.2
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-only OR GPL-3.0-only
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Vendor: Klaralvdalens Datakonsult AB (KDAB)
Packager: Klaralvdalens Datakonsult AB (KDAB) <info@kdab.com>
BuildRequires: cmake
%if %{defined suse_version}
BuildRequires: libqt4-devel
%endif
%if %{defined fedora}
BuildRequires: gcc-c++ qt-devel desktop-file-utils
%endif
%if %{defined rhel}
BuildRequires: gcc-c++ qt-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) <info@kdab.com>
%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
* Fri Oct 16 2020 Allen Winter <allen.winter@kdab.com> 2.7.2
2.7.2
* Fri Jun 19 2020 Allen Winter <allen.winter@kdab.com> 2.7.1
2.7.1
* Mon Jan 06 2020 Allen Winter <allen.winter@kdab.com> 2.7.0
2.7.0
* Mon Apr 22 2019 Allen Winter <allen.winter@kdab.com> 2.6.2
2.6.2 final
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/egrias/KDChart.git
git@gitee.com:egrias/KDChart.git
egrias
KDChart
KDChart
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385