]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | %define pre beta2 | |
3 | %define xfce_version 4.3.90.2 | |
4 | # | |
5 | Summary: X Terminal Emulator | |
6 | Summary(pl): Emulator terminala dla X | |
7 | Name: Terminal | |
8 | Version: 0.2.5.4 | |
9 | Release: 0.%{pre}.1 | |
10 | License: GPL v2 | |
11 | Group: X11/Applications | |
12 | Source0: http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}%{pre}.tar.bz2 | |
13 | # Source0-md5: 9f129b5d143a707394aa7aa139a67afa | |
14 | URL: http://www.os-cillation.com/ | |
15 | BuildRequires: autoconf >= 2.50 | |
16 | BuildRequires: automake | |
17 | BuildRequires: dbus-glib-devel >= 0.62 | |
18 | BuildRequires: gettext-devel | |
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} | |
24 | BuildRequires: ncurses-devel | |
25 | BuildRequires: perl-XML-Parser | |
26 | BuildRequires: pkgconfig | |
27 | BuildRequires: sed >= 4.0 | |
28 | BuildRequires: vte-devel >= 0.13.3 | |
29 | BuildRequires: xfce4-dev-tools >= %{xfce_version} | |
30 | Requires(post,postun): gtk+2 >= 2:2.10.0 | |
31 | Obsoletes: xfce4-terminal | |
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 | |
41 | %setup -q -n %{name}-%{version}%{pre} | |
42 | ||
43 | %build | |
44 | %{__sed} -i 's,Categories.*,Categories=GTK;TerminalEmulator;,' Terminal.desktop.in | |
45 | %{__libtoolize} | |
46 | %{__aclocal} | |
47 | %{__autoheader} | |
48 | %{__automake} | |
49 | %{__autoconf} | |
50 | LDFLAGS="%{rpmldflags} -Wl,--as-needed" | |
51 | %configure | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %find_lang %{name} | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %post | |
66 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor | |
67 | ||
68 | %postun | |
69 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor | |
70 | ||
71 | %files -f %{name}.lang | |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS ChangeLog HACKING NEWS README THANKS | |
74 | %attr(755,root,root) %{_bindir}/* | |
75 | %attr(755,root,root) %{_libdir}/TerminalHelp | |
76 | %{_datadir}/%{name} | |
77 | %{_desktopdir}/%{name}.desktop | |
78 | %{_iconsdir}/hicolor/*/apps/%{name}* | |
79 | %{_iconsdir}/hicolor/*/stock/navigation/* | |
80 | %{_pixmapsdir}/* | |
81 | ||
82 | %dir %{_docdir}/%{name} | |
83 | %{_docdir}/%{name}/C | |
84 | %{_docdir}/%{name}/*.css | |
85 | %lang(ja) %{_docdir}/%{name}/ja | |
86 | %{_mandir}/man1/%{name}* |