]> git.pld-linux.org Git - packages/cool-retro-term.git/commitdiff
new, version 1.0.0
authorElan Ruusamäe <glen@delfi.ee>
Sat, 10 Sep 2016 08:07:55 +0000 (11:07 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 10 Sep 2016 08:07:55 +0000 (11:07 +0300)
based on upstream .spec

cool-retro-term.spec [new file with mode: 0644]

diff --git a/cool-retro-term.spec b/cool-retro-term.spec
new file mode 100644 (file)
index 0000000..1b0aaa0
--- /dev/null
@@ -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
This page took 0.074711 seconds and 4 git commands to generate.