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