]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
- release 5: merge shutdown patch from rawhide with fixes crash when using
[packages/galeon.git] / galeon.spec
1 Summary:        Galeon - gecko-based GNOME web browser
2 Summary(pl):    Galeon - przegl±darka WWW dla GNOME
3 Summary(pt_BR): O galeon é um browser para o gnome baseado no mozilla
4 Name:           galeon
5 Version:        1.0
6 Release:        5
7 Epoch:          1
8 License:        GPL
9 Group:          X11/Applications/Networking
10 Group(de):      X11/Applikationen/Netzwerkwesen
11 Group(pl):      X11/Aplikacje/Sieciowe
12 Source0:        http://prdownloads.sourceforge.net/galeon/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-mozilla_five_home.patch
14 Patch1:         %{name}-shutdown.patch
15 URL:            http://galeon.sourceforge.net/
16 Requires:       GConf >= 1.0.4-1
17 Requires:       mozilla >= 0.9.5-1
18 BuildRequires:  GConf-devel >= 1.0.4-1
19 BuildRequires:  ORBit-devel >= 0.5.0
20 BuildRequires:  gettext-devel
21 BuildRequires:  gnome-core-devel >= 1.2.0
22 BuildRequires:  gnome-libs-devel >= 1.2.0
23 BuildRequires:  gnome-vfs-devel >= 0.5
24 BuildRequires:  libxml-devel >= 1.8.7
25 BuildRequires:  libglade-devel
26 BuildRequires:  libstdc++-devel
27 BuildRequires:  mozilla-devel >= 0.9.5-1
28 BuildRequires:  oaf >= 0.6.2
29 BuildRequires:  oaf-devel >= 0.6.2
30 BuildRequires:  gdk-pixbuf-devel >= 0.10.
31 BuildRequires:  bison
32 BuildRequires:  xml-i18n-tools
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _prefix         /usr/X11R6
36 %define         _mandir         %{_prefix}/man
37 %define         _sysconfdir     /etc/X11/GNOME
38
39 %description
40 Gnome browser based on Gecko (Mozilla rendering engine).
41
42 %description -l pl
43 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
44 interpretacji stron Mozilli).
45
46 %description -l pt_BR
47 O galeon é um browser para o gnome baseado no mozilla.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 %patch1 -p1
53
54 %build
55 #sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in >configure.in.tmp
56 #mv -f configure.in.tmp configure.in
57 #rm -f missing
58 #aclocal -I %{_aclocaldir}/gnome
59 #autoconf
60 #automake -a -c
61 %configure2_13 \
62         --with-mozilla-libs=%{_libdir} \
63         --with-mozilla-includes=%{_includedir}/mozilla \
64         --with-mozilla-home=%{_libdir}/mozilla \
65         --enable-nls \
66         --disable-included-gettext \
67         --disable-install-schemas \
68         --enable-gconf-source=%{_sysconfdir}/gconf/schemas
69
70
71
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT \
79         Networkdir=%{_applnkdir}/Network/WWW
80
81 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
82
83 gzip -9nf AUTHORS ChangeLog NEWS README
84
85 %find_lang %{name} --with-gnome
86
87 %post
88 umask 022
89 rm -f %{_libdir}/mozilla/component.reg
90 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
91 gconftool --shutdown
92 GCONF_CONFIG_SOURCE=xml::%{_sysconfdir}/gconf/gconf.xml.defaults gconftool --makefile-install-rule %{_sysconfdir}/gconf/schemas/galeon.schemas 2>dev/null >/dev/null
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc *.gz
100 %attr(755,root,root) %{_bindir}/*
101 %{_applnkdir}/Network/WWW/*
102 %{_datadir}/galeon
103 %{_datadir}/oaf/*
104 %{_datadir}/sounds/galeon
105 %{_pixmapsdir}/*
106 %{_sysconfdir}/gconf/schemas/*
107 %{_sysconfdir}/sound/events/*
108 %{_mandir}/man1/*
This page took 0.036446 seconds and 4 git commands to generate.