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