2 %bcond_with gnomecontrol # register with GNOME as a default terminal application
4 Summary: ROXTerm - a terminal emulator
5 Summary(hu.UTF-8): ROXTerm egy terminál emulátor
6 Summary(pl.UTF-8): ROXTerm - emulator terminala
11 Group: X11/Applications
12 Source0: http://downloads.sourceforge.net/roxterm/%{name}-%{version}.tar.bz2
13 # Source0-md5: 9cdac35d5fd115eb1b67b21dc419db1c
14 URL: http://roxterm.sourceforge.net/
15 BuildRequires: ImageMagick-coder-png
16 BuildRequires: dbus-devel
17 BuildRequires: dbus-glib-devel >= 0.22
18 BuildRequires: gettext-tools >= 0.17
19 BuildRequires: glib2-devel >= 1:2.16.0
20 %{?with_gnomecontrol:BuildRequires: gnome-control-center-devel}
21 BuildRequires: gtk+3-devel
22 BuildRequires: libglade2-devel
23 BuildRequires: libtool
24 BuildRequires: pkgconfig
26 BuildRequires: python-lockfile
27 BuildRequires: rpmbuild(macros) >= 1.311
28 BuildRequires: sed >= 4.0
29 BuildRequires: vte2.90-devel
30 #BuildRequires: vte-devel >= 0.27.0
32 BuildRequires: xorg-lib-libSM-devel
33 Requires(post,postun): gtk-update-icon-cache
34 Requires(post,postun): hicolor-icon-theme
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 ROXTerm is a terminal emulator intended to provide similar features to
40 gnome-terminal, based on the same VTE library, but with a smaller
41 footprint and quicker start-up time. It achieves this by not using the
42 GNOME libraries and by using a separate applet to provide the
43 configuration GUI. It can be used as a ROX application, as the name
44 implies, or in any other X environment.
46 %description -l hu.UTF-8
47 ROXTerm egy terminál emulátor, amely hasonló képességekkel bír, mint a
48 gnome-terminal. VTE alapú, de kisebb és gyorsabban indul. Nem
49 használja a Gnome könyvtárait és egy konfiguráló GUI-t is biztosít.
50 Használható ROX alkalmazásként is, mint ahogy a neve mutatatja, vagy
51 bármely más X környezetben.
53 %description -l pl.UTF-8
54 ROXTerm jest emulatorem terminala, który w założeniach ma być podobny
55 do gnome-terminala, bazować na tej samej bibliotece VTE, ale być
56 mniejszy i szybciej się uruchamiać. Cel ten został osiągnięty, dzięki
57 temu, że ROXTerm nie używa bibliotek GNOME, a do graficznego
58 interfejsu konfiguracyjnego używa osobnego apletu. ROXTerm - jak nazwa
59 wskazuje - może być używany jako aplikacja ROX. Może być również
60 używany z dowolnym innym środowiskiem X.
66 %{__python} mscript.py configure \
67 --prefix="%{_prefix}" \
70 --with%{!?with_gnomecontrol:out}-gnome-default-applications
72 %{__python} mscript.py build \
74 CPPFLAGS="%{rpmcflags}"
77 rm -rf $RPM_BUILD_ROOT
79 %{__python} mscript.py install \
80 DESTDIR=$RPM_BUILD_ROOT
82 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc
84 %find_lang %{name} --all-name
87 rm -rf $RPM_BUILD_ROOT
90 %update_icon_cache hicolor
93 %update_icon_cache hicolor
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog NEWS README Help/en Help/es Help/lib
98 %attr(755,root,root) %{_bindir}/roxterm-config
99 %attr(755,root,root) %{_bindir}/roxterm
101 %{?with_gnomecontrol:%{_datadir}/gnome-control-center/default-apps/roxterm.xml}
102 %{_datadir}/appdata/roxterm.appdata.xml
103 %{_desktopdir}/roxterm.desktop
104 %{_iconsdir}/hicolor/scalable/apps/roxterm.svg
105 %{_mandir}/man1/roxterm-config.1*
106 %{_mandir}/man1/roxterm.1*
107 %lang(es) %{_mandir}/es/man1/roxterm-config.1*
108 %lang(es) %{_mandir}/es/man1/roxterm.1*
109 %lang(fr) %{_mandir}/fr/man1/roxterm-config.1*
110 %lang(fr) %{_mandir}/fr/man1/roxterm.1*
111 %lang(pt) %{_mandir}/pt/man1/roxterm-config.1*
112 %lang(pt) %{_mandir}/pt/man1/roxterm.1*
113 %lang(pt_BR) %{_mandir}/pt_BR/man1/roxterm-config.1*
114 %lang(pt_BR) %{_mandir}/pt_BR/man1/roxterm.1*
115 %lang(ru) %{_mandir}/ru/man1/roxterm-config.1*
116 %lang(ru) %{_mandir}/ru/man1/roxterm.1*
117 %lang(uk) %{_mandir}/uk/man1/roxterm-config.1*
118 %lang(uk) %{_mandir}/uk/man1/roxterm.1*