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