]> git.pld-linux.org Git - packages/gnome-terminal.git/blob - gnome-terminal.spec
- sr@Latn -> sr@latin, rel. 2
[packages/gnome-terminal.git] / gnome-terminal.spec
1 #
2 # Conditional build:
3 # This causes <prev-tab> key do nothing on the first tab (instead of 
4 # passing the keypress to the application running in the terminal). Ditto 
5 # for the last tab. This is kinda annoying.
6 %bcond_with     disable_prev_next_tab_sensitivity_changes
7 # This is specific to PLD and causes an "unknown term type" on most other
8 # hosts I have to work on (the rest of the world uses xterm for g-t)
9 %bcond_with     term_voodoo
10 # This allows to mark on-terminal urls containing square brackets (eg. to
11 # copy them or to open in external browser).
12 %bcond_with     classify_square_brackets_into_url_paths
13 #
14 Summary:        GNOME Terminal
15 Summary(pl.UTF-8):      Terminal dla GNOME
16 Name:           gnome-terminal
17 Version:        2.18.2
18 Release:        2
19 License:        GPL
20 Group:          X11/Applications
21 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/2.18/%{name}-%{version}.tar.bz2
22 # Source0-md5:  a54b010cdeb1e908cad6085bf9de87c4
23 Patch0:         %{name}-TERM.patch
24 Patch1:         %{name}-disable-prev_next-tab-sensitivity-changes.patch
25 Patch2:         %{name}-desktop.patch
26 Patch3:         %{name}-save-session-crash.patch
27 Patch4:         %{name}-url-regex.patch
28 URL:            http://www.gnome.org/
29 BuildRequires:  GConf2-devel >= 2.19.1
30 BuildRequires:  autoconf >= 2.53
31 BuildRequires:  automake
32 BuildRequires:  gtk+2-devel >= 2:2.12.0
33 BuildRequires:  gnome-common >= 2.20.0
34 BuildRequires:  gnome-doc-utils >= 0.12.0
35 BuildRequires:  gnome-vfs2-devel >= 2.20.0
36 BuildRequires:  intltool >= 0.36.2
37 BuildRequires:  libglade2-devel >= 1:2.6.2
38 BuildRequires:  libgnomeui-devel >= 2.19.1
39 BuildRequires:  libtool
40 BuildRequires:  pkgconfig >= 1:0.12.0
41 BuildRequires:  rpmbuild(macros) >= 1.197
42 BuildRequires:  scrollkeeper
43 BuildRequires:  startup-notification-devel >= 0.8
44 BuildRequires:  vte-devel >= 0.16.9
45 Requires(post,preun):   GConf2
46 Requires(post,postun):  scrollkeeper
47 Requires:       libgnomeui >= 2.19.1
48 Requires:       startup-notification >= 0.8
49 Requires:       vte >= 0.16.9
50 Requires:       terminfo
51 # sr@Latn vs. sr@latin
52 Conflicts:      glibc-misc < 6:2.7
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
55 %description
56 This is a terminal thing that isn't finished at all.
57
58 %description -l pl.UTF-8
59 To jest terminal, na razie całkowicie nie dokończony.
60
61 %prep
62 %setup -q
63 %if %{with term_voodoo}
64 %patch0 -p1
65 %endif
66 %if %{with disable_prev_next_tab_sensitivity_changes}
67 %patch1 -p1
68 %endif
69 %patch2 -p1
70 %patch3 -p1
71 %if %{with classify_square_brackets_into_url_paths}
72 %patch4 -p1
73 %endif
74
75 %build
76 %{__intltoolize}
77 %{__gnome_doc_common}
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__automake}
82 %configure \
83         --disable-schemas-install \
84         --disable-scrollkeeper
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT \
92         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
93         localedir=%{_localedir}
94
95 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
96
97 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
98         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
99 %find_lang %{name} --with-gnome --all-name
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post
105 %gconf_schema_install gnome-terminal.schemas
106 %scrollkeeper_update_post
107
108 %preun
109 %gconf_schema_uninstall gnome-terminal.schemas
110
111 %postun
112 %scrollkeeper_update_postun
113
114 %files -f %{name}.lang
115 %defattr(644,root,root,755)
116 %doc AUTHORS ChangeLog NEWS README
117 %doc %{_omf_dest_dir}/%{name}
118 %attr(755,root,root) %{_bindir}/*
119 %{_libdir}/bonobo/servers/*
120 %{_datadir}/%{name}
121 %{_desktopdir}/*.desktop
122 %{_pixmapsdir}/*
123 %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
This page took 0.110279 seconds and 4 git commands to generate.