]> git.pld-linux.org Git - packages/epiphany.git/blob - epiphany.spec
- version 0.7.0
[packages/epiphany.git] / epiphany.spec
1
2 %define         minmozver       1.4b
3 %define         snap            20030518
4
5 Summary:        Epiphany - gecko-based GNOME web browser
6 Summary(pl):    Epiphany - przegl±darka WWW dla GNOME
7 Name:           epiphany
8 Version:        0.7.0
9 #Release:       1.%{snap}.1
10 Release:        1
11 License:        GPL
12 Group:          X11/Applications/Networking
13 #Source0:       %{name}-%{version}-%{snap}.tar.bz2
14 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.7/%{name}-%{version}.tar.bz2
15 # Source0-md5:  db0e1071f9cc1b7dac1854557c27a177
16 Patch0:         %{name}-ac.patch
17 Patch1:         %{name}-MOZILLA_FIVE_HOME.patch
18 URL:            http://epiphany.mozdev.org/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  GConf2-devel
22 BuildRequires:  ORBit2-devel
23 BuildRequires:  bonobo-activation-devel >= 2.1.0
24 BuildRequires:  gnome-vfs2-devel
25 BuildRequires:  gtk+2-devel >= 2.0.6
26 BuildRequires:  intltool
27 BuildRequires:  libglade2-devel
28 BuildRequires:  libgnomeui-devel
29 BuildRequires:  libxml2-devel
30 BuildRequires:  mozilla-embedded-devel >= %{minmozver}
31 BuildRequires:  nautilus-devel >= 2.0.0
32 BuildRequires:  scrollkeeper
33 BuildRequires:  rpm-build >= 4.1-10
34 Requires:       mozilla-embedded = %(rpm -q --qf '%{VERSION}' --whatprovides mozilla-embedded)
35 Requires(post): GConf2
36 Requires(post): mozilla
37 Requires(post): scrollkeeper
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 # can be provided by mozilla or mozilla-embedded
41 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
42
43 %description
44 Gnome browser based on Gecko (Mozilla rendering engine).
45
46 %description -l pl
47 Epiphany jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
48 interpretacji stron Mozilli).
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54
55 %build
56 rm -f acconfig.h
57 glib-gettextize --copy --force
58 intltoolize --copy --force
59 %{__libtoolize}
60 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
61 %{__autoheader}
62 %{__automake}
63 %{__autoconf}
64
65 %configure \
66         --disable-schemas-install \
67         --enable-nautilus-view=yes \
68         --with-mozilla-snapshot=1.4b
69
70 # CFLAGS is a hack for gcc 3.3" 
71 %{__make} CFLAGS="%{rpmcflags} -fno-strict-aliasing"
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %find_lang %{name}-2.0
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post
85 %gconf_schema_install
86 /usr/bin/scrollkeeper-update
87
88 %files -f %{name}-2.0.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog NEWS README
91 %attr(755,root,root) %{_bindir}/*
92 %{_libdir}/bonobo/servers/*
93 %{_datadir}/%{name}
94 %{_desktopdir}/*
95 %{_datadir}/application-registry/*
96 %{_datadir}/gnome/help/*
97 %{_pixmapsdir}/*
98 %{_sysconfdir}/gconf/schemas/*
99 %{_omf_dest_dir}/*
This page took 0.085199 seconds and 4 git commands to generate.