mirror of
https://abf.rosa.ru/djam/cool-retro-term.git
synced 2025-02-23 18:12:47 +00:00
51 lines
1.5 KiB
RPMSpec
51 lines
1.5 KiB
RPMSpec
%define qmltermwidget_version 0.1.0
|
|
|
|
Summary: Cool Retro Terminal
|
|
Name: cool-retro-term
|
|
Version: 1.0.1
|
|
Release: 1
|
|
License: GPLv3+
|
|
Group: Terminals
|
|
Url: https://github.com/Swordfish90/cool-retro-term
|
|
# From git by tag https://github.com/Swordfish90/cool-retro-term/archive/v%{version}.tar.gz
|
|
Source0: %{name}-%{version}.tar.gz
|
|
# From git by tag https://github.com/Swordfish90/qmltermwidget/archive/v%{qmltermwidget_version}.tar.gz
|
|
Source1: qmltermwidget-%{qmltermwidget_version}.tar.gz
|
|
BuildRequires: qmake5
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
%description
|
|
Cool Retro Terminal is a terminal emulator which tries to mimic the look and
|
|
feel of the old cathode tube screens. It has been designed to be eye-candy,
|
|
customizable, and reasonably lightweight.
|
|
|
|
%files
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_iconsdir}/hicolor/*/apps/%{name}.png
|
|
%dir %{_qt5_libdir}/qt5/qml/QMLTermWidget
|
|
%{_qt5_libdir}/qt5/qml/QMLTermWidget/*
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
rm -rf qmltermwidget
|
|
tar -xf %{SOURCE1}
|
|
mv qmltermwidget-%{qmltermwidget_version} qmltermwidget
|
|
|
|
%build
|
|
%define optflags -Wa,--compress-debug-sections -gdwarf-4
|
|
%define ldflags %{nil}
|
|
%qmake_qt5
|
|
%make
|
|
|
|
%install
|
|
make install INSTALL_ROOT=%{buildroot} STRIP=true
|
|
|