]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
- string from g++ v2 not v3
[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.12.3
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Group(de):      X11/Applikationen/Netzwerkwesen
10 Group(pl):      X11/Aplikacje/Sieciowe
11 Source0:        http://prdownloads.sourceforge.net/galeon/%{name}-%{version}.tar.gz             
12 Patch0:         %{name}-mozilla_five_home.patch
13 Patch1:         %{name}-g++.patch
14 URL:            http://galeon.sourceforge.net/
15 Requires:       mozilla-embedded = 0.9.4-2
16 Requires:       GConf >= 1.0.4-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-devel >= 0.9.3-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 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 #sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in >configure.in.tmp
52 #mv -f configure.in.tmp configure.in
53 #rm -f missing
54 #aclocal -I %{_aclocaldir}/gnome
55 #autoconf
56 #automake -a -c
57 %configure2_13 \
58         --with-mozilla-libs=%{_libdir} \
59         --with-mozilla-includes=%{_includedir}/mozilla \
60         --with-mozilla-home=%{_libdir}/mozilla \
61         --enable-nls \
62         --disable-included-gettext \
63         --disable-install-schemas \
64         --enable-gconf-source=%{_sysconfdir}/gconf/schemas
65
66
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.032755 seconds and 3 git commands to generate.