]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
- updated to snap 20021020 which is working with mozilla 1.2b
[packages/galeon.git] / galeon.spec
1
2 %define         minmozver       1.2
3 %define         snap            20021020
4
5 Summary:        Galeon - gecko-based GNOME web browser
6 Summary(pl):    Galeon - przegl±darka WWW dla GNOME
7 Summary(pt_BR): O galeon é um browser para o gnome baseado no mozilla
8 Summary(zh_CN): »ùÓÚGeckoµÄGNOMEÁ÷ÀÀÆ÷
9 Name:           galeon
10 Version:        1.2.99
11 Release:        0.%{snap}.1
12 Epoch:          2
13 License:        GPL
14 Group:          X11/Applications/Networking
15 #Source0:       http://unc.dl.sourceforge.net/sourceforge/galeon/%{name}-%{version}.tar.gz
16 Source0:        %{name}-%{version}.%{snap}.tar.bz2
17 Source1:        %{name}-config-tool.1
18 Patch0:         %{name}-mozilla_five_home.patch
19 URL:            http://galeon.sourceforge.net/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  GConf2-devel
23 BuildRequires:  ORBit2-devel
24 BuildRequires:  bison
25 BuildRequires:  bonobo-activation-devel
26 BuildRequires:  gettext-devel
27 BuildRequires:  gnome-vfs2-devel
28 BuildRequires:  gtk+2-devel >= 2.0.6
29 BuildRequires:  intltool
30 BuildRequires:  libglade2-devel
31 BuildRequires:  libgnomeui-devel
32 BuildRequires:  libstdc++-devel
33 BuildRequires:  libxml2-devel
34 BuildRequires:  mozilla-embedded-devel >= %{minmozver}
35 BuildRequires:  nautilus-devel >= 2.0.0
36 BuildRequires:  openssl-devel
37 BuildRequires:  scrollkeeper
38 Requires:       mozilla-embedded = %(rpm -q --qf '%{VERSION}' --whatprovides mozilla-embedded)
39 Requires(post): GConf2
40 Requires(post): mozilla
41 Requires(post): scrollkeeper
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 # can be provided by mozilla or mozilla-embedded
45 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
46
47 %define         _prefix         /usr/X11R6
48 %define         _mandir         %{_prefix}/man
49 %define         _sysconfdir     /etc/X11/GNOME2
50
51 %description
52 Gnome browser based on Gecko (Mozilla rendering engine).
53
54 %description -l pl
55 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
56 interpretacji stron Mozilli).
57
58 %description -l pt_BR
59 O galeon é um browser para o gnome baseado no mozilla.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64
65 %build
66 rm -f missing
67 glib-gettextize --copy --force
68 #xml-i18n-toolize --copy --force
69 intltoolize --copy --force
70 libtoolize --copy --force
71 %{__aclocal}
72 %{__autoheader}
73 %{__autoconf}
74 %{__automake}
75 %configure \
76         --with-mozilla-libs=%{_libdir} \
77         --with-mozilla-includes=%{_includedir}/mozilla \
78         --with-mozilla-home=%{_libdir}/mozilla \
79         --enable-nls \
80         --disable-included-gettext \
81         --disable-install-schemas \
82         --disable-werror \
83         --with-mozilla-snapshot=trunk \
84         --enable-gconf-source=%{_sysconfdir}/gconf/schemas \
85         --enable-nautilus-view=yes
86
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT%{_mandir}/man1
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT \
95         Networkdir=%{_applnkdir}/Network/WWW \
96         omf_dest_dir=%{_omf_dest_dir}/%{name}
97
98 #mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
99
100 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
101
102 %find_lang galeon-2.0
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post
108 /usr/bin/scrollkeeper-update
109 umask 022
110 rm -f %{_libdir}/mozilla/component.reg
111 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
112 GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/galeon.schemas >/dev/null
113
114 %postun -p /usr/bin/scrollkeeper-update
115
116 %files -f galeon-2.0.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS ChangeLog NEWS README
119 %attr(755,root,root) %{_bindir}/*
120 #%{_applnkdir}/Network/WWW/*
121 %{_libdir}/%{name}
122 %{_libdir}/bonobo/servers/*
123 %{_datadir}/galeon
124 %{_datadir}/applications/*
125 %{_datadir}/gnome/help/*
126 %{_datadir}/gnome-2.0/ui/*.xml
127 %{_omf_dest_dir}/%{name}
128 %{_datadir}/sounds/galeon
129 %{_pixmapsdir}/*
130 %{_sysconfdir}/gconf/schemas/*
131 %{_sysconfdir}/sound/events/*
132 %{_mandir}/man1/*
This page took 0.051883 seconds and 4 git commands to generate.