]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
473db645135923536f85a92f213a4ced07b9921c
[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.1
6 Release:        3
7 Epoch:          2
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 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.6
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
52 %build
53 #sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in >configure.in.tmp
54 #mv -f configure.in.tmp configure.in
55 #rm -f missing
56 #aclocal -I %{_aclocaldir}/gnome
57 #autoconf
58 #automake -a -c
59 %configure2_13 \
60         --with-mozilla-libs=%{_libdir} \
61         --with-mozilla-includes=%{_includedir}/mozilla \
62         --with-mozilla-home=%{_libdir}/mozilla \
63         --enable-nls \
64         --disable-included-gettext \
65         --disable-install-schemas \
66         --enable-gconf-source=%{_sysconfdir}/gconf/schemas
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT \
75         Networkdir=%{_applnkdir}/Network/WWW
76
77 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
78
79 gzip -9nf AUTHORS ChangeLog NEWS README
80
81 %find_lang %{name} --with-gnome
82
83 %post
84 umask 022
85 rm -f %{_libdir}/mozilla/component.reg
86 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
87 gconftool --shutdown
88 GCONF_CONFIG_SOURCE=xml::%{_sysconfdir}/gconf/gconf.xml.defaults gconftool --makefile-install-rule %{_sysconfdir}/gconf/schemas/galeon.schemas 2>dev/null >/dev/null
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc *.gz
96 %attr(755,root,root) %{_bindir}/*
97 %{_applnkdir}/Network/WWW/*
98 %{_datadir}/galeon
99 %{_datadir}/oaf/*
100 %{_datadir}/sounds/galeon
101 %{_pixmapsdir}/*
102 %{_sysconfdir}/gconf/schemas/*
103 %{_sysconfdir}/sound/events/*
104 %{_mandir}/man1/*
This page took 0.057279 seconds and 2 git commands to generate.