]> git.pld-linux.org Git - packages/epiphany.git/blob - epiphany.spec
- minmozver = 5:1.6
[packages/epiphany.git] / epiphany.spec
1
2 %define         minmozver       5:1.6
3
4 Summary:        Epiphany - gecko-based GNOME web browser
5 Summary(es):    Epiphany - navigador Web de GNOME basado en gecko
6 Summary(pl):    Epiphany - przegl±darka WWW dla GNOME
7 Name:           epiphany
8 Version:        1.0.7
9 Release:        2
10 License:        GPL
11 Group:          X11/Applications/Networking
12 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
13 # Source0-md5:  6f1639d7c7133769ce28eb24358ef55b
14 #Source0:       http://downloads.uk1.mozdev.org/rsync/%{name}/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-MOZILLA_FIVE_HOME.patch
16 Patch1:         %{name}-tabsmenu.patch
17 Patch2:         %{name}-first-tab.patch
18 URL:            http://www.gnome.org/projects/epiphany/
19 BuildRequires:  GConf2-devel >= 2.4.0
20 BuildRequires:  ORBit2-devel >= 2.8.0
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  gnome-common >= 2.4.0
24 BuildRequires:  gnome-vfs2-devel >= 2.4.0
25 BuildRequires:  gtk+2-devel >= 2.2.0
26 BuildRequires:  intltool
27 BuildRequires:  libbonoboui-devel >= 2.4.0
28 BuildRequires:  libglade2-devel >= 2.0.1
29 BuildRequires:  libgnomeui-devel >= 2.4.0
30 BuildRequires:  libtool
31 BuildRequires:  libxml2-devel >= 2.5.9
32 BuildRequires:  mozilla-embedded-devel >= %{minmozver}
33 BuildRequires:  nautilus-devel >= 2.4.0
34 BuildRequires:  rpm-build >= 4.1-10
35 BuildRequires:  scrollkeeper
36 Requires(post): GConf2
37 Requires(post): scrollkeeper
38 Requires:       gnome-icon-theme
39 Requires:       mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 # can be provided by mozilla or mozilla-embedded
43 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
44
45 %description
46 GNOME browser based on Gecko (Mozilla rendering engine).
47
48 %description -l es
49 Navigador Web de GNOME basado en Gecko (el engine plasmante de Mozilla).
50
51 %description -l pl
52 Epiphany jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
53 interpretacji stron Mozilli).
54
55 %package devel
56 Summary:        Epiphany header files
57 Summary(es):    Ficheros de cabecera de Epiphany
58 Summary(pl):    Pliki nag³ówkowe Epiphany
59 Group:          X11/Applications/Networking
60 Requires:       %{name} = %{version}
61 Requires:       gtk+2-devel >= 2.2.0
62 Requires:       libxml2-devel >= 2.5.9
63
64 %description devel
65 Epiphany header files for plugin development.
66
67 %description devel -l es
68 Ficheros de cabecera de Epiphany para desarrollar plug-ins.
69
70 %description devel -l pl
71 Pliki nag³ówkowe Epiphany do tworzenia wtyczek.
72
73 %prep
74 %setup -q
75 %patch0 -p1
76 %patch1 -p1
77 %patch2 -p1
78
79 %build
80 rm -f acconfig.h
81 glib-gettextize --copy --force
82 intltoolize --copy --force
83 %{__libtoolize}
84 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
85 %{__autoheader}
86 %{__automake}
87 %{__autoconf}
88
89 # rebuild for new ORBit2
90 cd idl
91 orbit-idl-2 -I/usr/share/idl -I/usr/share/idl/bonobo-2.0 \
92         -I/usr/share/idl/bonobo-activation-2.0 EphyAutomation.idl
93 mv -f *.h *.c ../src
94 cd ..
95
96 %configure \
97         --disable-schemas-install \
98         --enable-nautilus-view=yes \
99         --with-mozilla-snapshot=1.6
100
101 # CFLAGS is a hack for gcc 3.3
102 %{__make} \
103         CFLAGS="%{rpmcflags} -fno-strict-aliasing"
104
105 %install
106 rm -rf $RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
108
109 %{__make} install \
110         DESTDIR=$RPM_BUILD_ROOT
111
112 # epiphany-2.0.mo, but gnome/help/epiphany
113 %find_lang %{name}-2.0 --with-gnome --all-name
114
115 %clean
116 rm -rf $RPM_BUILD_ROOT
117
118 %post
119 %gconf_schema_install
120 /usr/bin/scrollkeeper-update
121
122 %postun -p /usr/bin/scrollkeeper-update
123
124 %files -f %{name}-2.0.lang
125 %defattr(644,root,root,755)
126 %doc AUTHORS ChangeLog NEWS README
127 %attr(755,root,root) %{_bindir}/*
128 %{_libdir}/bonobo/servers/*
129 %{_datadir}/%{name}
130 %{_desktopdir}/*
131 %{_datadir}/application-registry/*
132 %{_pixmapsdir}/*
133 %{_sysconfdir}/gconf/schemas/*
134 %{_omf_dest_dir}/*
135 %{_libdir}/%{name}
136
137 %files devel
138 %defattr(644,root,root,755)
139 %{_includedir}/epiphany-1.0
140 %{_pkgconfigdir}/*.pc
This page took 0.0533 seconds and 4 git commands to generate.