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