]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
1c04a14b162b304fd44dcb0b1086663a21a323c2
[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.1
5 Epoch:          1
6 Release:        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 URL:            http://galeon.sourceforge.net/
14 Requires:       mozilla-embedded >= 0.9.3-1
15 Requires:       GConf >= 1.0.4-1
16 BuildRequires:  GConf-devel >= 1.0.4-1
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.3-1
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 %configure2_13 \
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         --sysconfdir=%{_sysconfdir}/X11/GNOME \
55         --disable-install-schemas \
56         --enable-gconf-source=%{_sysconfdir}/X11/GNOME/gconf/schemas
57
58
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT \
67         Networkdir=%{_applnkdir}/Network/WWW \
68         sysconfdir=%{_sysconfdir}/X11/GNOME 
69
70 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
71
72 gzip -9nf AUTHORS ChangeLog NEWS README
73
74 %find_lang %{name} --with-gnome
75
76 %post
77 umask 022
78 rm -f %{_libdir}/mozilla/component.reg
79 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
80 gconftool --shutdown
81 GCONF_CONFIG_SOURCE=xml::%{_sysconfdir}/X11/GNOME/gconf/gconf.xml.defaults gconftool --makefile-install-rule %{_sysconfdir}/X11/GNOME/gconf/schemas/galeon.schemas 2>dev/null >/dev/null
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc *.gz
89 %attr(755,root,root) %{_bindir}/*
90 %{_applnkdir}/Network/WWW/*
91 %{_datadir}/galeon
92 %{_datadir}/oaf/*
93 %{_datadir}/sounds/galeon
94 %{_pixmapsdir}/*
95 %{_sysconfdir}/*
This page took 0.02797 seconds and 2 git commands to generate.