cool-retro-term

Форк
0
/
cool-retro-term.spec 
100 строк · 3.1 Кб
1
#
2
# spec file for package cool-retro-term
3
#
4
# Copyright © 2014 Markus S. <kamikazow@web.de>
5
#
6
# This program is free software: you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation, either version 3 of the License, or
9
# (at your option) any later version.
10
#
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License
17
# along with this program. If not, see <http://www.gnu.org/licenses/>.
18

19
Name:       cool-retro-term
20
Summary:    Cool Retro Terminal
21
Version:    1.0
22
Release:    0%{?dist}
23
Group:      System/X11/Terminals
24
License:    GPL-3.0+
25
URL:        https://github.com/Swordfish90/cool-retro-term
26

27
# For this spec file to work, the cool-retro-term sources must be located
28
# in a directory named cool-retro-term-0.9 (with "0.9" being the version
29
# number defined above).
30
# If the sources are compressed in another format than .tar.xz, change the
31
# file extension accordingly.
32
Source0:    %{name}-%{version}.tar.xz
33

34
BuildRequires: pkgconfig(Qt5Core)
35
BuildRequires: pkgconfig(Qt5Declarative)
36
BuildRequires: pkgconfig(Qt5Gui)
37
BuildRequires: pkgconfig(Qt5Quick)
38
BuildRequires: desktop-file-utils
39

40
# Package names only verified with Fedora and openSUSE.
41
# Should the packages in your distro be named dirrerently,
42
# see http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
43
%if 0%{?fedora}
44
Requires:      qt5-qtbase
45
Requires:      qt5-qtbase-gui
46
Requires:      qt5-qtdeclarative
47
Requires:      qt5-qtgraphicaleffects
48
Requires:      qt5-qtquickcontrols
49
%endif
50

51
%if 0%{?suse_version}
52
Requires:      libqt5-qtquickcontrols
53
Requires:      libqt5-qtbase
54
Requires:      libQt5Gui5
55
Requires:      libqt5-qtdeclarative
56
Requires:      libqt5-qtgraphicaleffects
57
%endif
58

59
%description
60
cool-retro-term is a terminal emulator which tries to mimic the look and feel
61
of the old cathode tube screens. It has been designed to be eye-candy,
62
customizable, and reasonably lightweight.
63

64
%prep
65
%setup -q
66

67
%build
68
qmake-qt5
69
make %{?_smp_mflags}
70

71
%install
72
# Work around weird qmake behaviour: http://davmac.wordpress.com/2007/02/21/qts-qmake/
73
make INSTALL_ROOT=%{buildroot} install
74

75
desktop-file-install                            \
76
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
77
%{name}.desktop
78

79
%files
80
%defattr(-,root,root,-)
81
%doc gpl-2.0.txt gpl-3.0.txt README.md
82
%{_bindir}/%{name}
83
%{_libdir}/qt5/qml/
84
%{_datadir}/applications/%{name}.desktop
85
%{_datadir}/icons/hicolor/*/*/*
86

87
%clean
88
rm -rf %{buildroot}
89

90
%changelog
91
* Sun Sep  7 14:03:35 UTC 2014 - kamikazow@web.de
92
- cool-old-term has been renamed to cool-retro-term
93
- Ported the spec file to CRT's new, way nicer build system <https://github.com/Swordfish90/cool-retro-term/pull/105>
94

95
* Fri Aug 29 20:56:20 UTC 2014 - kamikazow@web.de
96
- Fixed: QtDeclarative-devel is required for "qmlscene" binary
97

98
* Fri Aug  1 14:09:35 UTC 2014 - kamikazow@web.de
99
- First build
100
- cool-old-term 0.9
101

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.