]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
- merge translations from CNV.
[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:        1
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 URL:            http://galeon.sourceforge.net/
15 Requires:       GConf >= 1.0.4-1
16 Requires:       mozilla-embedded >= 0.9.5-1
17 BuildRequires:  GConf-devel >= 1.0.4-1
18 BuildRequires:  ORBit-devel >= 0.5.0
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:  libxml-devel >= 1.8.7
24 BuildRequires:  libglade-devel
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  mozilla-embedded-devel >= 0.9.5-1
27 BuildRequires:  oaf >= 0.6.2
28 BuildRequires:  oaf-devel >= 0.6.2
29 BuildRequires:  gdk-pixbuf-devel >= 0.10.
30 BuildRequires:  bison
31 BuildRequires:  xml-i18n-tools
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
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 %{_datadir}/galeon
101 %{_datadir}/oaf/*
102 %{_datadir}/sounds/galeon
103 %{_pixmapsdir}/*
104 %{_sysconfdir}/gconf/schemas/*
105 %{_sysconfdir}/sound/events/*
106 %{_mandir}/man1/*
This page took 0.027996 seconds and 3 git commands to generate.