]> git.pld-linux.org Git - packages/gnome-terminal.git/blob - gnome-terminal.spec
9c46b8c8c2674e428966e27e0096281d34162d79
[packages/gnome-terminal.git] / gnome-terminal.spec
1 #
2 # This causes <prev-tab> key do nothing on the first tab (instead of 
3 # passing the keypress to the application running in the terminal). Ditto 
4 # for the last tab. This is kinda annoying.
5 %bcond_with     disable_prev_next_tab_sensitivity_changes
6 #
7 Summary:        GNOME Terminal
8 Summary(pl):    Terminal dla GNOME
9 Name:           gnome-terminal
10 Version:        2.6.1
11 Release:        1
12 License:        GPL
13 Group:          X11/Applications
14 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
15 # Source0-md5:  43e04260410e66e767a4b247d0af8b46
16 Patch0:         %{name}-TERM.patch
17 Patch1:         %{name}-locale-names.patch
18 Patch2:         %{name}-disable-prev_next-tab-sensitivity-changes.patch
19 Patch3:         %{name}-gcc-3.4.patch
20 URL:            http://www.gnome.org/
21 BuildRequires:  GConf2-devel >= 2.6.0
22 Buildrequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  gtk+2-devel >= 2:2.4.0
25 Buildrequires:  gnome-vfs2-devel >= 2.6.0
26 BuildRequires:  intltool
27 BuildRequires:  libglade2-devel >= 1:2.3.6
28 BuildRequires:  libgnomeui-devel >= 2.6.0
29 BuildRequires:  libtool
30 BuildRequires:  pkgconfig >= 0.12.0
31 BuildRequires:  rpm-build >= 4.1-10
32 BuildRequires:  scrollkeeper
33 BuildRequires:  startup-notification-devel >= 0.5
34 BuildRequires:  vte-devel >= 0.11.10-3
35 BuildRequires:  xft-devel >= 2.1-2
36 Requires(post): GConf2
37 Requires(post): scrollkeeper
38 Requires:       libgnomeui >= 2.6.0
39 Requires:       terminfo
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 This is a terminal thing that isn't finished at all.
44
45 %description -l pl
46 To jest terminal, na razie ca³kowicie nie dokoñczony.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52 %if %{with disable_prev_next_tab_sensitivity_changes}
53 %patch2 -p1
54 %endif
55 %patch3 -p0
56
57 mv po/{no,nb}.po
58
59 %build
60 cp -f /usr/share/automake/config.sub .
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__automake}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
74         localedir=%{_localedir}
75
76 %find_lang %{name} --with-gnome --all-name
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 /usr/bin/scrollkeeper-update
83 %gconf_schema_install
84
85 %postun -p /usr/bin/scrollkeeper-update
86
87 %files -f %{name}.lang
88 %defattr(644,root,root,755)
89 %doc README ChangeLog NEWS TODO AUTHORS
90 %doc %{_omf_dest_dir}/%{name}
91 %attr(755,root,root) %{_bindir}/*
92 %{_sysconfdir}/gconf/schemas/*
93 %{_datadir}/%{name}
94 %{_libdir}/bonobo/servers/*
95 %{_desktopdir}/*
96 %{_pixmapsdir}/*
97 %{_datadir}/application-registry/*
This page took 0.093974 seconds and 3 git commands to generate.