]> git.pld-linux.org Git - packages/epiphany.git/blob - epiphany.spec
- up to version 1.2.3
[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.2.3
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications/Networking
12 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/1.2/%{name}-%{version}.tar.bz2
13 # Source0-md5:  9b84ae65fe30b51db139ea6d44ab871c
14 Patch0:         %{name}-MOZILLA_FIVE_HOME.patch
15 Patch1:         %{name}-first-tab.patch
16 Patch2:         %{name}-locale-names.patch
17 Patch3:         %{name}-desktop-name-entry.patch
18 URL:            http://www.gnome.org/projects/epiphany/
19 BuildRequires:  GConf2-devel
20 BuildRequires:  ORBit2-devel >= 1:2.10.0
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  gnome-common >= 2.4.0
24 BuildRequires:  gnome-vfs2-devel >= 2.6.0
25 BuildRequires:  gtk+2-devel >= 2:2.4.0
26 BuildRequires:  intltool >= 0.29
27 BuildRequires:  libbonoboui-devel >= 2.6.0
28 BuildRequires:  libglade2-devel >= 1:2.3.6
29 BuildRequires:  libgnomeui-devel >= 2.6.0
30 BuildRequires:  libxml2-devel >=  2.6.6
31 BuildRequires:  mozilla-devel >= %{minmozver}
32 BuildRequires:  nautilus-devel >= 2.6.0
33 BuildRequires:  rpm-build >= 4.1-10
34 BuildRequires:  scrollkeeper
35 Requires(post): GConf2
36 Requires(post): scrollkeeper
37 Requires:       gnome-icon-theme >= 1.2.0
38 Requires:       gtk+2 >= 2:2.4.0
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 # doesn't require base
61 Requires:       gtk+2-devel >= 2:2.4.0
62 Requires:       libxml2-devel >= 2.6.6
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 %patch3 -p1
79
80 mv po/{no,nb}.po
81
82 %build
83 rm -f acconfig.h
84 cp /usr/share/automake/mkinstalldirs .
85 glib-gettextize --copy --force
86 intltoolize --copy --force
87 gnome-doc-common --copy
88 %{__libtoolize}
89 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
90 %{__autoheader}
91 %{__automake}
92 %{__autoconf}
93
94 %configure \
95         --disable-schemas-install \
96         --enable-nautilus-view=yes \
97         --enable-gtk-doc \
98         --with-html-dir=%{_gtkdocdir}
99
100 # CFLAGS is a hack for gcc 3.3
101 %{__make} \
102         CFLAGS="%{rpmcflags} -fno-strict-aliasing"
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions
107
108 %{__make} install \
109         DESTDIR=$RPM_BUILD_ROOT \
110         HTML_DIR=%{_gtkdocdir}
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.2
140 %{_pkgconfigdir}/*.pc
141 %{_gtkdocdir}/*
This page took 0.042679 seconds and 4 git commands to generate.