]>
Commit | Line | Data |
---|---|---|
57c82be3 | 1 | # |
2d2afde7 | 2 | %define xfce_version 4.4.2 |
57c82be3 | 3 | # |
6caa55d2 | 4 | Summary: X Terminal Emulator |
7806769f | 5 | Summary(pl.UTF-8): Emulator terminala dla X |
6b65d6dc | 6 | Name: Terminal |
2d2afde7 | 7 | Version: 0.2.8 |
06d39d07 | 8 | Release: 1 |
6caa55d2 | 9 | License: GPL v2 |
0d4b0e22 | 10 | Group: X11/Applications |
06d39d07 | 11 | Source0: http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2 |
2d2afde7 MB |
12 | # Source0-md5: cfe660ecf50e9d3b073576bbc4af6ab2 |
13 | Patch0: %{name}-locale-names.patch | |
6caa55d2 | 14 | URL: http://www.os-cillation.com/ |
57c82be3 | 15 | BuildRequires: autoconf >= 2.50 |
16 | BuildRequires: automake | |
17 | BuildRequires: dbus-glib-devel >= 0.62 | |
8dcc65ac | 18 | BuildRequires: gettext-devel |
ec0a9545 | 19 | BuildRequires: gtk+2-devel >= 2:2.10.6 |
6c7a2afa | 20 | BuildRequires: intltool >= 0.35.0 |
06d39d07 | 21 | BuildRequires: libexo-devel >= 0.3.2 |
57c82be3 | 22 | BuildRequires: libtool |
23 | BuildRequires: libxfcegui4-devel >= %{xfce_version} | |
8dcc65ac | 24 | BuildRequires: ncurses-devel |
8f909203 | 25 | BuildRequires: perl-XML-Parser |
8dcc65ac | 26 | BuildRequires: pkgconfig |
6c7a2afa | 27 | BuildRequires: rpmbuild(macros) >= 1.311 |
6caa55d2 | 28 | BuildRequires: sed >= 4.0 |
ec0a9545 MB |
29 | BuildRequires: startup-notification-devel >= 0.8 |
30 | BuildRequires: vte-devel >= 0.14.1 | |
2d2afde7 | 31 | BuildRequires: xfce4-dev-tools >= 4.4.0.1 |
ec0a9545 | 32 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
6c7a2afa | 33 | Requires(post,postun): hicolor-icon-theme |
6b65d6dc | 34 | Obsoletes: xfce4-terminal |
6caa55d2 AG |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
38 | Advanced lightweight Terminal Emulator for the X windowing system. | |
39 | ||
f25c7956 | 40 | %description -l pl.UTF-8 |
6caa55d2 AG |
41 | Zaawansowany emulator terminala dla systemu X Window. |
42 | ||
43 | %prep | |
06d39d07 | 44 | %setup -q |
2d2afde7 MB |
45 | %patch0 -p1 |
46 | ||
47 | mv -f po/{nb_NO,nb}.po | |
48 | mv -f po/{pt_PT,pt}.po | |
6caa55d2 AG |
49 | |
50 | %build | |
8f909203 | 51 | %{__sed} -i 's,Categories.*,Categories=GTK;TerminalEmulator;,' Terminal.desktop.in |
2d2afde7 | 52 | %{__intltoolize} |
57c82be3 | 53 | %{__libtoolize} |
54 | %{__aclocal} | |
55 | %{__autoheader} | |
56 | %{__automake} | |
57 | %{__autoconf} | |
ec0a9545 MB |
58 | %configure \ |
59 | --enable-dbus \ | |
60 | --enable-startup-notification | |
61 | ||
6caa55d2 AG |
62 | %{__make} |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
6b65d6dc | 70 | %find_lang %{name} |
90ce645f | 71 | |
6caa55d2 AG |
72 | %clean |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
57c82be3 | 75 | %post |
6c7a2afa | 76 | %update_icon_cache hicolor |
57c82be3 | 77 | |
78 | %postun | |
6c7a2afa | 79 | %update_icon_cache hicolor |
57c82be3 | 80 | |
6b65d6dc | 81 | %files -f %{name}.lang |
6caa55d2 | 82 | %defattr(644,root,root,755) |
ed060ddd | 83 | %doc AUTHORS ChangeLog HACKING NEWS README THANKS |
6caa55d2 AG |
84 | %attr(755,root,root) %{_bindir}/* |
85 | %attr(755,root,root) %{_libdir}/TerminalHelp | |
6b65d6dc AG |
86 | %{_datadir}/%{name} |
87 | %{_desktopdir}/%{name}.desktop | |
6b65d6dc | 88 | %{_iconsdir}/hicolor/*/apps/%{name}* |
57c82be3 | 89 | %{_iconsdir}/hicolor/*/stock/navigation/* |
6caa55d2 | 90 | %{_pixmapsdir}/* |
57c82be3 | 91 | |
92 | %dir %{_docdir}/%{name} | |
93 | %{_docdir}/%{name}/C | |
94 | %{_docdir}/%{name}/*.css | |
2d2afde7 | 95 | %lang(fr) %{_docdir}/%{name}/fr |
57c82be3 | 96 | %lang(ja) %{_docdir}/%{name}/ja |
97 | %{_mandir}/man1/%{name}* |