]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
- added QnD patch (patch removes unrecognized object)
[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.11.0
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 Patch1:         %{name}-macros.patch
13 Patch2:         %{name}-gettext.patch
14 Patch3:         %{name}-QnD.patch
15 URL:            http://galeon.sourceforge.net/
16 Requires:       mozilla >= 0.9.2-2
17 BuildRequires:  GConf-devel
18 BuildRequires:  ORBit-devel >= 0.5.0
19 BuildRequires:  gettext-devel
20 BuildRequires:  gnome-libs-devel >= 1.2.0
21 BuildRequires:  gnome-vfs-devel >= 0.5
22 BuildRequires:  libxml-devel >= 1.8.7
23 BuildRequires:  libglade-devel
24 BuildRequires:  libstdc++-devel
25 BuildRequires:  mozilla-devel >= 0.9.2
26 BuildRequires:  oaf >= 0.6.2
27 BuildRequires:  bison
28 BuildRequires:  automake
29 BuildRequires:  autoconf
30 BuildRequires:  libtool
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
37 %description
38 Gnome browser based on Gecko (Mozilla rendering engine).
39
40 %description -l pl
41 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
42 interpretacji stron Mozilli).
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48 %patch2 -p1
49 %patch3 -p1
50
51 %build
52 rm missing
53 gettextize --copy --force
54 libtoolize --copy --force
55 aclocal
56 autoconf
57 automake -a -c
58 %configure \
59         --with-mozilla-libs=%{_libdir} \
60         --with-mozilla-includes=%{_includedir}/mozilla \
61         --with-mozilla-home=%{_libdir}/mozilla \
62         --enable-nls \
63         --disable-included-gettext
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT \
72         Networkdir=%{_applnkdir}/Network/WWW
73
74 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
75
76 gzip -9nf AUTHORS ChangeLog NEWS README
77
78 %find_lang %{name} --with-gnome
79
80 %post
81 umask 022
82 rm -f %{_libdir}/mozilla/component.reg
83 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc *.gz
91 %attr(755,root,root) %{_bindir}/*
92 %{_applnkdir}/Network/WWW/*
93 %{_datadir}/galeon
94 %{_datadir}/oaf/*
95 %{_datadir}/sounds/galeon
96 %{_pixmapsdir}/*
This page took 0.060889 seconds and 4 git commands to generate.