]> git.pld-linux.org Git - packages/galeon.git/blob - galeon.spec
- added %%post (like RH and MDK)
[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 URL:            http://galeon.sourceforge.net/
15 Requires:       mozilla >= 0.9.1
16 BuildRequires:  GConf-devel
17 BuildRequires:  ORBit-devel >= 0.5.0
18 BuildRequires:  gettext-devel
19 BuildRequires:  gnome-libs-devel >= 1.2.0
20 BuildRequires:  gnome-vfs-devel >= 0.5
21 BuildRequires:  libxml-devel >= 1.8.7
22 BuildRequires:  libglade-devel
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  mozilla-devel >= 0.9.2
25 BuildRequires:  oaf >= 0.6.2
26 BuildRequires:  bison
27 BuildRequires:  automake
28 BuildRequires:  autoconf
29 BuildRequires:  libtool
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %define         _prefix         /usr/X11R6
33 %define         _mandir         %{_prefix}/man
34
35 %description
36 Gnome browser based on Gecko (Mozilla rendering engine).
37
38 %description -l pl
39 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
40 interpretacji stron Mozilli).
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p1
46 %patch2 -p1
47
48 %build
49 rm missing
50 gettextize --copy --force
51 libtoolize --copy --force
52 aclocal
53 autoconf
54 automake -a -c
55 %configure \
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
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT \
69         Networkdir=%{_applnkdir}/Network/WWW
70
71 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
72
73 gzip -9nf AUTHORS ChangeLog NEWS README
74
75 %find_lang %{name} --with-gnome
76
77 %post
78 umask 022
79 rm -f %{_libdir}/mozilla/component.reg
80 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc *.gz
88 %attr(755,root,root) %{_bindir}/*
89 %{_applnkdir}/Network/WWW/*
90 %{_datadir}/galeon
91 %{_datadir}/oaf/*
92 %{_datadir}/sounds/galeon
93 %{_pixmapsdir}/*
This page took 0.056567 seconds and 3 git commands to generate.