]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
- Updated to version 1.0, STBR
[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:        1.0
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 URL:            http://galeon.sourceforge.net/
14 Requires:       GConf >= 1.0.4-1
15 Requires:       mozilla-embedded >= 0.9.5-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-embedded-devel >= 0.9.5-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 %define         _sysconfdir     /etc/X11/GNOME
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
48 %build
49 #sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in >configure.in.tmp
50 #mv -f configure.in.tmp configure.in
51 #rm -f missing
52 #aclocal -I %{_aclocaldir}/gnome
53 #autoconf
54 #automake -a -c
55 %configure2_13 \
56         --with-mozilla-libs=%{_libdir} \
57         --with-mozilla-includes=%{_includedir}/mozilla \
58         --with-mozilla-home=%{_libdir}/mozilla \
59         --enable-nls \
60         --disable-included-gettext \
61         --disable-install-schemas \
62         --enable-gconf-source=%{_sysconfdir}/gconf/schemas
63
64
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         Networkdir=%{_applnkdir}/Network/WWW
74
75 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
76
77 gzip -9nf AUTHORS ChangeLog NEWS README
78
79 %find_lang %{name} --with-gnome
80
81 %post
82 umask 022
83 rm -f %{_libdir}/mozilla/component.reg
84 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
85 gconftool --shutdown
86 GCONF_CONFIG_SOURCE=xml::%{_sysconfdir}/gconf/gconf.xml.defaults gconftool --makefile-install-rule %{_sysconfdir}/gconf/schemas/galeon.schemas 2>dev/null >/dev/null
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc *.gz
94 %attr(755,root,root) %{_bindir}/*
95 %{_applnkdir}/Network/WWW/*
96 %{_datadir}/galeon
97 %{_datadir}/oaf/*
98 %{_datadir}/sounds/galeon
99 %{_pixmapsdir}/*
100 %{_sysconfdir}/gconf/schemas/*
101 %{_sysconfdir}/sound/events/*
102 %{_mandir}/man1/*
This page took 0.117384 seconds and 3 git commands to generate.