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