2023-10-24 12:20:32 +08:00
|
|
|
Name: redpanda-cpp-git
|
|
|
|
Version: __VERSION__
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A fast, lightweight, open source, and cross platform C++ IDE
|
|
|
|
License: GPLv3+
|
|
|
|
URL: https://github.com/royqh1979/RedPanda-CPP
|
2023-11-19 08:48:58 +08:00
|
|
|
Source0: RedPanda-CPP.tar.gz
|
2023-10-24 12:20:32 +08:00
|
|
|
|
|
|
|
BuildRequires: gcc gcc-c++
|
|
|
|
BuildRequires: qt5-qtbase-devel qt5-qtsvg-devel qt5-qttools-devel
|
|
|
|
Requires: gcc gcc-c++
|
|
|
|
Requires: glibc-static libstdc++-static libasan
|
|
|
|
Requires: qt5-qtbase qt5-qtsvg
|
|
|
|
|
|
|
|
%description
|
|
|
|
A lightweight but powerful C/C++ IDE
|
|
|
|
|
|
|
|
Red Panda C++ (Old name Red Panda Dev-C++ 7) is a full featured C/C++ IDE.
|
|
|
|
It's the succesor of Red Panda Dev-C++ 6, which is developed by Delphi 7 and
|
|
|
|
can only running under Windows.
|
|
|
|
|
|
|
|
%prep
|
2023-11-19 08:48:58 +08:00
|
|
|
%setup -n "RedPanda-CPP"
|
2023-10-24 12:20:32 +08:00
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir -p %{name}
|
|
|
|
cd %{name}
|
|
|
|
qmake-qt5 \
|
|
|
|
PREFIX=/usr \
|
2023-11-19 08:48:58 +08:00
|
|
|
"%{_builddir}/RedPanda-CPP/Red_Panda_CPP.pro"
|
2023-10-24 12:20:32 +08:00
|
|
|
make %{_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
cd %{name}
|
|
|
|
make INSTALL_ROOT="%{buildroot}" install
|
|
|
|
|
|
|
|
%files
|
|
|
|
/usr/bin/RedPandaIDE
|
|
|
|
/usr/libexec/RedPandaCPP/*
|
|
|
|
/usr/share/RedPandaCPP/*
|
|
|
|
/usr/share/doc/RedPandaCPP/*
|
2024-03-10 08:04:41 +08:00
|
|
|
/usr/share/applications/RedPandaIDE.desktop
|
2023-10-24 12:20:32 +08:00
|
|
|
/usr/share/icons/hicolor/scalable/apps/redpandaide.svg
|
2024-02-26 10:51:15 +08:00
|
|
|
/usr/share/mime/packages/redpandaide.xml
|
2023-10-24 12:20:32 +08:00
|
|
|
|
|
|
|
%changelog
|