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