]> git.pld-linux.org Git - packages/gnome-terminal.git/blob - gnome-terminal.spec
6e5ac158842e77989a0c35b233f709da4a71b6f9
[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 URL:            http://www.gnome.org/
20 BuildRequires:  GConf2-devel >= 2.6.0
21 Buildrequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  gtk+2-devel >= 2:2.4.0
24 Buildrequires:  gnome-vfs2-devel >= 2.6.0
25 BuildRequires:  intltool
26 BuildRequires:  libglade2-devel >= 1:2.3.6
27 BuildRequires:  libgnomeui-devel >= 2.6.0
28 BuildRequires:  libtool
29 BuildRequires:  pkgconfig >= 0.12.0
30 BuildRequires:  rpm-build >= 4.1-10
31 BuildRequires:  scrollkeeper
32 BuildRequires:  startup-notification-devel >= 0.5
33 BuildRequires:  vte-devel >= 0.11.10-3
34 BuildRequires:  xft-devel >= 2.1-2
35 Requires(post): GConf2
36 Requires(post): scrollkeeper
37 Requires:       libgnomeui >= 2.6.0
38 Requires:       terminfo
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 This is a terminal thing that isn't finished at all.
43
44 %description -l pl
45 To jest terminal, na razie ca³kowicie nie dokoñczony.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51 %if %{with disable_prev_next_tab_sensitivity_changes}
52 %patch2 -p1
53 %endif
54
55 mv po/{no,nb}.po
56
57 %build
58 cp -f /usr/share/automake/config.sub .
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__automake}
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT \
71         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
72         localedir=%{_localedir}
73
74 %find_lang %{name} --with-gnome --all-name
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 /usr/bin/scrollkeeper-update
81 %gconf_schema_install
82
83 %postun -p /usr/bin/scrollkeeper-update
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc README ChangeLog NEWS TODO AUTHORS
88 %doc %{_omf_dest_dir}/%{name}
89 %attr(755,root,root) %{_bindir}/*
90 %{_sysconfdir}/gconf/schemas/*
91 %{_datadir}/%{name}
92 %{_libdir}/bonobo/servers/*
93 %{_desktopdir}/*
94 %{_pixmapsdir}/*
95 %{_datadir}/application-registry/*
This page took 0.106359 seconds and 3 git commands to generate.