]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
- commented out unecessary patches and removed
[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.1
5 Release:        2
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 URL:            http://galeon.sourceforge.net/
15 Requires:       mozilla-embedded >= 0.9.2-4
16 BuildRequires:  GConf-devel
17 BuildRequires:  ORBit-devel >= 0.5.0
18 BuildRequires:  gettext-devel
19 BuildRequires:  gnome-core-devel >= 1.2.0
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-4
26 BuildRequires:  oaf >= 0.6.2
27 BuildRequires:  oaf-devel >= 0.6.2
28 BuildRequires:  gdk-pixbuf-devel >= 0.10.
29 BuildRequires:  bison
30 BuildRequires:  xml-i18n-tools
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _prefix         /usr/X11R6
34 %define         _mandir         %{_prefix}/man
35
36 %description
37 Gnome browser based on Gecko (Mozilla rendering engine).
38
39 %description -l pl
40 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
41 interpretacji stron Mozilli).
42
43 %prep
44 %setup -q
45 %patch0 -p1
46
47 %build
48 %configure \
49         --with-mozilla-libs=%{_libdir} \
50         --with-mozilla-includes=%{_includedir}/mozilla \
51         --with-mozilla-home=%{_libdir}/mozilla \
52         --enable-nls \
53         --disable-included-gettext
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         Networkdir=%{_applnkdir}/Network/WWW
63
64 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
65
66 gzip -9nf AUTHORS ChangeLog NEWS README
67
68 %find_lang %{name} --with-gnome
69
70 %post
71 umask 022
72 rm -f %{_libdir}/mozilla/component.reg
73 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc *.gz
81 %attr(755,root,root) %{_bindir}/*
82 %{_applnkdir}/Network/WWW/*
83 %{_datadir}/galeon
84 %{_datadir}/oaf/*
85 %{_datadir}/sounds/galeon
86 %{_pixmapsdir}/*
This page took 0.074716 seconds and 3 git commands to generate.