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