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-devel >= 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: vte-devel >= 0.27.0
31 BuildRequires: xorg-lib-libSM-devel
32 Requires(post,postun): gtk-update-icon-cache
33 Requires(post,postun): hicolor-icon-theme
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 ROXTerm is a terminal emulator intended to provide similar features to
39 gnome-terminal, based on the same VTE library, but with a smaller
40 footprint and quicker start-up time. It achieves this by not using the
41 GNOME libraries and by using a separate applet to provide the
42 configuration GUI. It can be used as a ROX application, as the name
43 implies, or in any other X environment.
45 %description -l hu.UTF-8
46 ROXTerm egy terminál emulátor, amely hasonló képességekkel bír, mint a
47 gnome-terminal. VTE alapú, de kisebb és gyorsabban indul. Nem
48 használja a Gnome könyvtárait és egy konfiguráló GUI-t is biztosít.
49 Használható ROX alkalmazásként is, mint ahogy a neve mutatatja, vagy
50 bármely más X környezetben.
52 %description -l pl.UTF-8
53 ROXTerm jest emulatorem terminala, który w założeniach ma być podobny
54 do gnome-terminala, bazować na tej samej bibliotece VTE, ale być
55 mniejszy i szybciej się uruchamiać. Cel ten został osiągnięty, dzięki
56 temu, że ROXTerm nie używa bibliotek GNOME, a do graficznego
57 interfejsu konfiguracyjnego używa osobnego apletu. ROXTerm - jak nazwa
58 wskazuje - może być używany jako aplikacja ROX. Może być również
59 używany z dowolnym innym środowiskiem X.
65 %{__python} mscript.py configure \
66 --prefix="%{_prefix}" \
69 --with%{!?with_gnomecontrol:out}-gnome-default-applications
71 %{__python} mscript.py build \
73 CPPFLAGS="%{rpmcflags}"
76 rm -rf $RPM_BUILD_ROOT
78 %{__python} mscript.py install \
79 DESTDIR=$RPM_BUILD_ROOT
81 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc
83 %find_lang %{name} --all-name
86 rm -rf $RPM_BUILD_ROOT
89 %update_icon_cache hicolor
92 %update_icon_cache hicolor
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog NEWS README Help/en Help/es Help/lib
97 %attr(755,root,root) %{_bindir}/roxterm-config
98 %attr(755,root,root) %{_bindir}/roxterm
100 %{?with_gnomecontrol:%{_datadir}/gnome-control-center/default-apps/roxterm.xml}
101 %{_desktopdir}/roxterm.desktop
102 %{_iconsdir}/hicolor/scalable/apps/roxterm.svg
103 %{_mandir}/man1/roxterm-config.1*
104 %{_mandir}/man1/roxterm.1*
105 %lang(es) %{_mandir}/es/man1/roxterm-config.1*
106 %lang(es) %{_mandir}/es/man1/roxterm.1*
107 %lang(fr) %{_mandir}/fr/man1/roxterm-config.1*
108 %lang(fr) %{_mandir}/fr/man1/roxterm.1*
109 %lang(pt) %{_mandir}/pt/man1/roxterm-config.1*
110 %lang(pt) %{_mandir}/pt/man1/roxterm.1*
111 %lang(pt_BR) %{_mandir}/pt_BR/man1/roxterm-config.1*
112 %lang(pt_BR) %{_mandir}/pt_BR/man1/roxterm.1*
113 %lang(ru) %{_mandir}/ru/man1/roxterm-config.1*
114 %lang(ru) %{_mandir}/ru/man1/roxterm.1*
115 %lang(uk) %{_mandir}/uk/man1/roxterm-config.1*
116 %lang(uk) %{_mandir}/uk/man1/roxterm.1*