~ubuntu-branches/debian/squeeze/galeon/squeeze

« back to all changes in this revision

Viewing changes to galeon.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Mark Howard
  • Date: 2004-06-06 09:02:01 UTC
  • Revision ID: james.westby@ubuntu.com-20040606090201-yhx6ruhq8um7ggs2
Tags: upstream-1.3.15
ImportĀ upstreamĀ versionĀ 1.3.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Note that this is NOT a relocatable package
 
2
# DON'T FORGET TO UPDATE THE MOZILLA DEPENDENCY
 
3
 
 
4
Summary:   GNOME2 Web browser based on Mozilla
 
5
Name:      galeon
 
6
Version:   @VERSION@
 
7
Release:   1
 
8
Copyright: GPL
 
9
Group:     Applications/Internet
 
10
Source:    %{name}-%{version}.tar.bz2
 
11
URL:       http://galeon.sourceforge.net
 
12
BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
13
 
 
14
%description
 
15
Galeon is a web browser built around Gecko (Mozilla 's rendering engine) 
 
16
and Necko (Mozilla's networking engine). It's a GNOME web browser, 
 
17
designed to take advantage of as many GNOME technologies as makes sense. 
 
18
Galeon was written to do just one thing - browse the web.
 
19
 
 
20
%prep
 
21
%setup
 
22
 
 
23
%build
 
24
# if you set the DONT_BUILD_NAUTILUS_VIEW environment variable to something 
 
25
# else than "" the view won't be built. Otherwise, it will e built if 
 
26
# libnautilus is detected by configure.
 
27
if [ "$DONT_BUILD_NAUTILUS_VIEW" != "" ] ; then
 
28
        NAUTILUS_VIEW_OPTION="--enable-nautilus-view=no"
 
29
        echo Warning: The nautilius view will not be built.
 
30
else
 
31
        NAUTILUS_VIEW_OPTION=""
 
32
fi
 
33
%configure $NAUTILUS_VIEW_OPTION --disable-werror --disable-schemas-install
 
34
make
 
35
 
 
36
%install
 
37
rm -rf $RPM_BUILD_ROOT
 
38
make DESTDIR=$RPM_BUILD_ROOT install
 
39
%find_lang galeon-2.0
 
40
 
 
41
%clean
 
42
rm -rf $RPM_BUILD_ROOT
 
43
 
 
44
%files -f galeon-2.0.lang
 
45
%defattr(-, root, root)
 
46
%doc AUTHORS COPYING COPYING.README ChangeLog NEWS README INSTALL THANKS TODO FAQ FAQ.html README.ExtraPrefs
 
47
%{_bindir}/*
 
48
%{_libdir}/galeon/components
 
49
%config %{_sysconfdir}/gconf/schemas/*
 
50
%config %{_sysconfdir}/sound/events/*
 
51
%{_datadir}/applications/*
 
52
%{_datadir}/galeon
 
53
%{_libdir}/bonobo/servers/*
 
54
%{_datadir}/pixmaps/*
 
55
%{_datadir}/sounds/galeon
 
56
%{_datadir}/gnome-2.0/ui/*
 
57
%{_mandir}/man1/*
 
58
%{_datadir}/gnome/help/*
 
59
%{_datadir}/omf/*
 
60
 
 
61
%post
 
62
%{_bindir}/galeon-config-tool --fix-gconf-permissions
 
63
%{_bindir}/galeon-config-tool --pkg-install-schemas
 
64
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
 
65
 
 
66
%postun
 
67
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
 
68