47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
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
|
|
Source0: RedPanda-CPP.tar.gz
|
|
|
|
BuildRequires: gcc gcc-c++
|
|
BuildRequires: libqt5-qtbase-devel libqt5-qtsvg-devel libqt5-qttools-devel
|
|
Requires: gcc gcc-c++
|
|
Requires: glibc-devel-static
|
|
Requires: libQt5Core5 libQt5Gui5 libQt5Svg5
|
|
|
|
%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
|
|
%setup -n "RedPanda-CPP"
|
|
|
|
%build
|
|
mkdir -p %{name}
|
|
cd %{name}
|
|
qmake-qt5 \
|
|
PREFIX=/usr \
|
|
"%{_builddir}/RedPanda-CPP/Red_Panda_CPP.pro"
|
|
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/*
|
|
/usr/share/applications/redpandaide.desktop
|
|
/usr/share/icons/hicolor/scalable/apps/redpandaide.svg
|
|
/usr/share/mime/packages/redpandaide.xml
|
|
|
|
%changelog
|