]> git.pld-linux.org Git - packages/gnome-terminal.git/blob - gnome-terminal.spec
e66c1ed83c86a6d2a166b38a20a78344e79c29c3
[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:        1
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 Requires:       libgnomeui >= 2.1.2
22 Requires(post,postun):  scrollkeeper
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _prefix         /usr/X11R6
26 %define         _sysconfdir     /etc/X11/GNOME2
27
28 %description
29 This is a terminal thing that isn't finished at all.
30
31 %description -l pl
32 To jest terminal, na razie ca³kowicie nie dokoñczony.
33
34 %prep
35 %setup -q 
36 %patch0 -p1
37 #%patch1 -p1
38
39 %build
40 %configure \
41         --with-widget=%{?!_with_zvt:vte}%{?_with_zvt:zvt}
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         omf_dest_dir=%{_omf_dest_dir}/%{name} \
51         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
52
53 %find_lang %{name} --with-gnome --all-name
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post 
59 scrollkeeper-update
60 GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null
61
62 %postun
63 scrollkeeper-update
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc README ChangeLog NEWS TODO AUTHORS
68 %attr(755,root,root) %{_bindir}/*
69 %{_sysconfdir}/gconf/schemas/*
70 %{_datadir}/%{name}
71 %{_datadir}/applications/*
72 %{_libdir}/bonobo/servers/*
73 %{_datadir}/pixmaps/*
74 %doc %{_omf_dest_dir}/%{name}
This page took 0.041201 seconds and 2 git commands to generate.