]> git.pld-linux.org Git - packages/gnome-terminal.git/blob - gnome-terminal.spec
- zvt is obsolete
[packages/gnome-terminal.git] / gnome-terminal.spec
1 # --with zvt    build with ZVT not VTE terminal widget
2 Summary:        GNOME Terminal
3 Summary(pl):    Terminal dla GNOME
4 Name:           gnome-terminal
5 Version:        2.1.2
6 Release:        3
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
10 Patch0:         %{name}-TERM.patch
11 #Patch1:                %{name}-pango-zvt.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 1.2.1
14 BuildRequires:  gtk+2-devel >= 2.0.3
15 BuildRequires:  libglade2-devel >= 2.0.0
16 BuildRequires:  libgnomeui-devel >= 2.1.2
17 %{?_with_zvt:BuildRequires:     libzvt-devel >= 2.0.0}
18 %{?!_with_zvt:BuildRequires:    vte-devel >= 0.10.4}
19 BuildRequires:  pkgconfig >= 0.12.0
20 BuildRequires:  scrollkeeper
21 BuildRequires:  rpm-build >= 4.1-7
22 Requires:       libgnomeui >= 2.1.2
23 Requires(post,postun):  scrollkeeper
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _prefix         /usr/X11R6
27 %define         _sysconfdir     /etc/X11/GNOME2
28
29 %description
30 This is a terminal thing that isn't finished at all.
31
32 %description -l pl
33 To jest terminal, na razie ca³kowicie nie dokoñczony.
34
35 %prep
36 %setup -q 
37 %patch0 -p1
38 #%patch1 -p1
39
40 %build
41 %configure \
42         --with-widget=%{?!_with_zvt:vte}%{?_with_zvt:zvt}
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT \
51         omf_dest_dir=%{_omf_dest_dir}/%{name} \
52         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
53
54 %find_lang %{name} --with-gnome --all-name
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post 
60 scrollkeeper-update
61 GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null
62
63 %postun
64 scrollkeeper-update
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc README ChangeLog NEWS TODO AUTHORS
69 %attr(755,root,root) %{_bindir}/*
70 %{_sysconfdir}/gconf/schemas/*
71 %{_datadir}/%{name}
72 %{_datadir}/applications/*
73 %{_libdir}/bonobo/servers/*
74 %{_datadir}/pixmaps/*
75 %doc %{_omf_dest_dir}/%{name}
This page took 0.047815 seconds and 3 git commands to generate.