]> git.pld-linux.org Git - packages/Terminal.git/blob - Terminal.spec
- up to 0.2.5.8rc2 (Xfce 4.4RC2)
[packages/Terminal.git] / Terminal.spec
1 #
2 %define         pre             rc2
3 %define         xfce_version    4.3.99.2
4 #
5 Summary:        X Terminal Emulator
6 Summary(pl):    Emulator terminala dla X
7 Name:           Terminal
8 Version:        0.2.5.8
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:  d2785c1b11c48ed012042faa708bbf94
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.6
20 BuildRequires:  intltool >= 0.35.0
21 BuildRequires:  libexo-devel >= 0.3.1.12
22 BuildRequires:  libtool
23 BuildRequires:  libxfcegui4-devel >= %{xfce_version}
24 BuildRequires:  ncurses-devel
25 BuildRequires:  perl-XML-Parser
26 BuildRequires:  pkgconfig
27 BuildRequires:  rpmbuild(macros) >= 1.311
28 BuildRequires:  sed >= 4.0
29 BuildRequires:  startup-notification-devel >= 0.8
30 BuildRequires:  vte-devel >= 0.14.1
31 BuildRequires:  xfce4-dev-tools >= %{xfce_version}
32 Requires(post,postun):  gtk+2 >= 2:2.10.6
33 Requires(post,postun):  hicolor-icon-theme
34 Obsoletes:      xfce4-terminal
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Advanced lightweight Terminal Emulator for the X windowing system.
39
40 %description -l pl
41 Zaawansowany emulator terminala dla systemu X Window.
42
43 %prep
44 %setup -q -n %{name}-%{version}%{pre}
45
46 %build
47 %{__sed} -i 's,Categories.*,Categories=GTK;TerminalEmulator;,' Terminal.desktop.in
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoheader}
51 %{__automake}
52 %{__autoconf}
53 %configure \
54         --enable-dbus \
55         --enable-startup-notification
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %find_lang %{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 %update_icon_cache hicolor
72
73 %postun
74 %update_icon_cache hicolor
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog HACKING NEWS README THANKS
79 %attr(755,root,root) %{_bindir}/*
80 %attr(755,root,root) %{_libdir}/TerminalHelp
81 %{_datadir}/%{name}
82 %{_desktopdir}/%{name}.desktop
83 %{_iconsdir}/hicolor/*/apps/%{name}*
84 %{_iconsdir}/hicolor/*/stock/navigation/*
85 %{_pixmapsdir}/*
86
87 %dir %{_docdir}/%{name}
88 %{_docdir}/%{name}/C
89 %{_docdir}/%{name}/*.css
90 %lang(ja) %{_docdir}/%{name}/ja
91 %{_mandir}/man1/%{name}*
This page took 0.089057 seconds and 4 git commands to generate.