[packages/cool-retro-term: 1/2] new, version 1.0.0

glen glen at pld-linux.org
Sat Sep 10 10:14:14 CEST 2016


commit 55e301e50f4295d24f4654b2291b720e80b7791d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Sep 10 11:07:55 2016 +0300

    new, version 1.0.0
    
    based on upstream .spec

 cool-retro-term.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/cool-retro-term.spec b/cool-retro-term.spec
new file mode 100644
index 0000000..1b0aaa0
--- /dev/null
+++ b/cool-retro-term.spec
@@ -0,0 +1,53 @@
+# TODO
+# - create and use system package for qmltermwidget?
+
+%define	qtver	5.2
+Summary:	A good looking terminal emulator which mimics the old cathode display
+Name:		cool-retro-term
+Version:	1.0.0
+Release:	0.2
+License:	GPL-3.0+
+Group:		X11/Applications
+Source0:	https://github.com/Swordfish90/cool-retro-term/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	06e73fbffcb5fd55695e5ec4034e3ad1
+Source1:	https://github.com/Swordfish90/qmltermwidget/archive/490eeaf195cd5764a3798c2a2340ced648db4526/qmltermwidget.tar.gz
+# Source1-md5:	64d5f6ee2f8d01512209f211d2533e7d
+URL:		https://github.com/Swordfish90/cool-retro-term
+BuildRequires:	Qt5Core-devel >= %{qtver}
+BuildRequires:	Qt5Declarative-devel >= %{qtver}
+BuildRequires:	Qt5Gui-devel >= %{qtver}
+BuildRequires:	Qt5Quick-devel >= %{qtver}
+BuildRequires:	desktop-file-utils
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+cool-retro-term is a terminal emulator which mimics the look and feel
+of the old cathode tube screens. It has been designed to be eye-candy,
+customizable, and reasonably lightweight.
+
+%prep
+%setup -q -a1
+mv qmltermwidget-*/* qmltermwidget
+
+%build
+qmake-qt5
+%{__make} \
+	CXX="%{__cxx}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL_ROOT=$RPM_BUILD_ROOT
+
+desktop-file-install --dir=$RPM_BUILD_ROOT%{_desktopdir} %{name}.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/%{name}
+%{_libdir}/qt5/qml/QMLTermWidget
+%{_desktopdir}/%{name}.desktop
+%{_iconsdir}/hicolor/*/*/*.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cool-retro-term.git/commitdiff/48959a0c61187ff3527eeadd5495513ac4c5e361



More information about the pld-cvs-commit mailing list