mirror of
https://abf.rosa.ru/djam/cool-retro-term.git
synced 2025-02-23 10:02:47 +00:00
Update to 1.0.1
This commit is contained in:
parent
5ce7af9d5b
commit
e129dccc9c
2 changed files with 39 additions and 36 deletions
1
.abf.yml
1
.abf.yml
|
@ -2,3 +2,4 @@ removed_sources:
|
|||
cool-retro-term-0.9.20140914.tar.xz: 203770f2d7cf0f6b30e67ab0cb899cbc78285591
|
||||
sources:
|
||||
cool-retro-term-1.0.1.tar.gz: 97c38c66c4c8468b9df38bf9b5df3e04ff89f1d8
|
||||
qmltermwidget-0.1.0.tar.gz: 98ddbab82c6d81eb8902379ec9a1d4f1b294c96b
|
||||
|
|
|
@ -1,49 +1,51 @@
|
|||
%define debug_package %nil
|
||||
%define qmltermwidget_version 0.1.0
|
||||
|
||||
Name: cool-retro-term
|
||||
Summary: Cool Retro Terminal
|
||||
Version: 1.0.1
|
||||
Release: 1
|
||||
Group: Graphical desktop/KDE
|
||||
License: GPLv3
|
||||
URL: https://github.com/Swordfish90/cool-retro-term
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRequires: qmake5
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Declarative)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Quick)
|
||||
BuildRequires: desktop-file-utils
|
||||
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-term 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,
|
||||
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
|
||||
qmake-qt5
|
||||
%define optflags -Wa,--compress-debug-sections -gdwarf-4
|
||||
%define ldflags %{nil}
|
||||
%qmake_qt5
|
||||
%make
|
||||
|
||||
%install
|
||||
%make INSTALL_ROOT=%{buildroot} install
|
||||
#makeinstall_std
|
||||
make install INSTALL_ROOT=%{buildroot} STRIP=true
|
||||
|
||||
desktop-file-install \
|
||||
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||
%{name}.desktop
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc gpl-2.0.txt gpl-3.0.txt README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/qt5/qml/
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
|
|
Loading…
Add table
Reference in a new issue