]>
Commit | Line | Data |
---|---|---|
57c82be3 | 1 | # |
2 | %define pre beta2 | |
3 | %define xfce_version 4.3.90.2 | |
4 | # | |
6caa55d2 AG |
5 | Summary: X Terminal Emulator |
6 | Summary(pl): Emulator terminala dla X | |
6b65d6dc | 7 | Name: Terminal |
57c82be3 | 8 | Version: 0.2.5.4 |
9 | Release: 0.%{pre}.1 | |
6caa55d2 | 10 | License: GPL v2 |
0d4b0e22 | 11 | Group: X11/Applications |
57c82be3 | 12 | Source0: http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}%{pre}.tar.bz2 |
13 | # Source0-md5: 9f129b5d143a707394aa7aa139a67afa | |
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 |
57c82be3 | 19 | BuildRequires: gtk+2-devel >= 2:2.10.0 |
20 | BuildRequires: intltool >= 0.35 | |
21 | BuildRequires: libexo-devel >= 0.3.1.8 | |
22 | BuildRequires: libtool | |
23 | BuildRequires: libxfcegui4-devel >= %{xfce_version} | |
8dcc65ac | 24 | BuildRequires: ncurses-devel |
8f909203 | 25 | BuildRequires: perl-XML-Parser |
8dcc65ac | 26 | BuildRequires: pkgconfig |
6caa55d2 | 27 | BuildRequires: sed >= 4.0 |
57c82be3 | 28 | BuildRequires: vte-devel >= 0.13.3 |
29 | BuildRequires: xfce4-dev-tools >= %{xfce_version} | |
30 | Requires(post,postun): gtk+2 >= 2:2.10.0 | |
6b65d6dc | 31 | Obsoletes: xfce4-terminal |
6caa55d2 AG |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
35 | Advanced lightweight Terminal Emulator for the X windowing system. | |
36 | ||
37 | %description -l pl | |
38 | Zaawansowany emulator terminala dla systemu X Window. | |
39 | ||
40 | %prep | |
ed060ddd | 41 | %setup -q -n %{name}-%{version}%{pre} |
6caa55d2 AG |
42 | |
43 | %build | |
8f909203 | 44 | %{__sed} -i 's,Categories.*,Categories=GTK;TerminalEmulator;,' Terminal.desktop.in |
57c82be3 | 45 | %{__libtoolize} |
46 | %{__aclocal} | |
47 | %{__autoheader} | |
48 | %{__automake} | |
49 | %{__autoconf} | |
50 | LDFLAGS="%{rpmldflags} -Wl,--as-needed" | |
6caa55d2 AG |
51 | %configure |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
6b65d6dc | 60 | %find_lang %{name} |
90ce645f | 61 | |
6caa55d2 AG |
62 | %clean |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
57c82be3 | 65 | %post |
66 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor | |
67 | ||
68 | %postun | |
69 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor | |
70 | ||
6b65d6dc | 71 | %files -f %{name}.lang |
6caa55d2 | 72 | %defattr(644,root,root,755) |
ed060ddd | 73 | %doc AUTHORS ChangeLog HACKING NEWS README THANKS |
6caa55d2 AG |
74 | %attr(755,root,root) %{_bindir}/* |
75 | %attr(755,root,root) %{_libdir}/TerminalHelp | |
6b65d6dc AG |
76 | %{_datadir}/%{name} |
77 | %{_desktopdir}/%{name}.desktop | |
6b65d6dc | 78 | %{_iconsdir}/hicolor/*/apps/%{name}* |
57c82be3 | 79 | %{_iconsdir}/hicolor/*/stock/navigation/* |
6caa55d2 | 80 | %{_pixmapsdir}/* |
57c82be3 | 81 | |
82 | %dir %{_docdir}/%{name} | |
83 | %{_docdir}/%{name}/C | |
84 | %{_docdir}/%{name}/*.css | |
85 | %lang(ja) %{_docdir}/%{name}/ja | |
86 | %{_mandir}/man1/%{name}* |