]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
- BuidRequires: mozilla-devel >= 0.9.8
[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.3
6 Release:        2
7 Epoch:          2
8 License:        GPL
9 Group:          X11/Applications/Networking
10 Group(de):      X11/Applikationen/Netzwerkwesen
11 Group(pl):      X11/Aplikacje/Sieciowe
12 # This HTTP URL does not support continuation
13 # Source0:      http://prdownloads.sourceforge.net/galeon/%{name}-%{version}.tar.gz
14 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/galeon/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-mozilla_five_home.patch
16 URL:            http://galeon.sourceforge.net/
17 BuildRequires:  GConf-devel >= 1.0.4-1
18 BuildRequires:  ORBit-devel >= 0.5.0
19 BuildRequires:  bison
20 BuildRequires:  gdk-pixbuf-devel >= 0.10.
21 BuildRequires:  gettext-devel
22 BuildRequires:  gnome-core-devel >= 1.2.0
23 BuildRequires:  gnome-libs-devel >= 1.2.0
24 BuildRequires:  gnome-vfs-devel >= 0.5
25 BuildRequires:  intltool
26 BuildRequires:  libglade-devel
27 BuildRequires:  libstdc++-devel
28 BuildRequires:  libxml-devel >= 1.8.7
29 BuildRequires:  mozilla-devel >= 0.9.8
30 BuildRequires:  oaf >= 0.6.2
31 BuildRequires:  oaf-devel >= 0.6.2
32 Requires:               GConf >= 1.0.4-1
33 %requires_eq    mozilla
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %define         _prefix         /usr/X11R6
37 %define         _mandir         %{_prefix}/man
38 %define         _sysconfdir     /etc/X11/GNOME
39
40 %description
41 Gnome browser based on Gecko (Mozilla rendering engine).
42
43 %description -l pl
44 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
45 interpretacji stron Mozilli).
46
47 %description -l pt_BR
48 O galeon é um browser para o gnome baseado no mozilla.
49
50 %prep
51 %setup -q
52 %patch0 -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 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT \
77         Networkdir=%{_applnkdir}/Network/WWW
78
79 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
80
81 gzip -9nf AUTHORS ChangeLog NEWS README
82
83 %find_lang %{name} --with-gnome
84
85 %post
86 umask 022
87 rm -f %{_libdir}/mozilla/component.reg
88 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
89 gconftool --shutdown
90 GCONF_CONFIG_SOURCE=xml::%{_sysconfdir}/gconf/gconf.xml.defaults gconftool --makefile-install-rule %{_sysconfdir}/gconf/schemas/galeon.schemas 2>dev/null >/dev/null
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %doc *.gz
98 %attr(755,root,root) %{_bindir}/*
99 %{_applnkdir}/Network/WWW/*
100 %{_libdir}/%{name}
101 %{_datadir}/galeon
102 %{_datadir}/gnome/help/galeon-manual
103 %{_datadir}/oaf/*
104 %{_datadir}/omf/*
105 %{_datadir}/sounds/galeon
106 %{_pixmapsdir}/*
107 %{_sysconfdir}/gconf/schemas/*
108 %{_sysconfdir}/sound/events/*
109 %{_mandir}/man1/*
This page took 0.087969 seconds and 4 git commands to generate.