]> git.pld-linux.org Git - packages/epiphany.git/blob - epiphany.spec
- updated to 2.17.92
[packages/epiphany.git] / epiphany.spec
1 %define         basever         2.17
2 Summary:        Epiphany - gecko-based GNOME web browser
3 Summary(es.UTF-8):      Epiphany - navigador Web de GNOME basado en gecko
4 Summary(pl.UTF-8):      Epiphany - przeglądarka WWW dla GNOME
5 Name:           epiphany
6 Version:        2.17.92
7 Release:        1
8 License:        GPL v2
9 Group:          X11/Applications/Networking
10 Source0:        http://ftp.gnome.org/pub/gnome/sources/epiphany/2.17/%{name}-%{version}.tar.bz2
11 # Source0-md5:  ddb4363fae7f826abd0602a6f08e6cd7
12 Patch0:         %{name}-first-tab.patch
13 Patch1:         %{name}-desktop.patch
14 Patch2:         %{name}-pld-homepage.patch
15 Patch3:         %{name}-configure.patch
16 URL:            http://www.gnome.org/projects/epiphany/
17 BuildRequires:  GConf2-devel >= 2.18.0.1
18 BuildRequires:  ORBit2-devel >= 1:2.14.7
19 BuildRequires:  autoconf >= 2.59
20 BuildRequires:  automake >= 1:1.9
21 BuildRequires:  dbus-glib-devel >= 0.73
22 BuildRequires:  gnome-common >= 2.12.0
23 BuildRequires:  gnome-desktop-devel >= 2.17.92
24 BuildRequires:  gnome-doc-utils >= 0.9.2
25 BuildRequires:  gnome-vfs2-devel >= 2.17.91
26 BuildRequires:  gtk+2-devel >= 2:2.10.9
27 BuildRequires:  gtk-doc >= 1.8
28 BuildRequires:  intltool >= 0.35.5
29 BuildRequires:  iso-codes >= 0.53
30 BuildRequires:  libglade2-devel >= 1:2.6.0
31 BuildRequires:  libgnomeprintui-devel >= 2.17.92
32 BuildRequires:  libgnomeui-devel >= 2.17.92
33 BuildRequires:  libtool
34 BuildRequires:  libxml2-devel >= 1:2.6.27
35 BuildRequires:  libxslt-devel >= 1.1.20
36 BuildRequires:  pkgconfig
37 BuildRequires:  python-gnome-devel >= 2.17.92
38 BuildRequires:  python-pygtk-devel >= 2:2.10.4
39 BuildRequires:  rpmbuild(macros) >= 1.311
40 BuildRequires:  scrollkeeper
41 BuildRequires:  startup-notification-devel >= 0.8
42 BuildRequires:  xulrunner
43 BuildRequires:  xulrunner-devel >= 1.8.0.4
44 Requires(post,postun):  desktop-file-utils
45 Requires(post,postun):  gtk+2
46 Requires(post,postun):  hicolor-icon-theme
47 Requires(post,postun):  scrollkeeper
48 Requires(post,preun):   GConf2
49 Requires:       dbus >= 1.0.2
50 Requires:       gnome-icon-theme >= 2.17.91
51 Requires:       libgnomeui >= 2.17.92
52 %requires_eq    xulrunner
53 Obsoletes:      python-epiphany
54 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56 # can be provided by mozilla or mozilla-embedded
57 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
58
59 %description
60 GNOME browser based on Gecko (Mozilla rendering engine).
61
62 %description -l es.UTF-8
63 Navigador Web de GNOME basado en Gecko (el engine plasmante de
64 Mozilla).
65
66 %description -l pl.UTF-8
67 Epiphany jest przeglądarką WWW bazującą na Gecko (mechanizmie
68 interpretacji stron Mozilli).
69
70 %package devel
71 Summary:        Epiphany header files
72 Summary(es.UTF-8):      Ficheros de cabecera de Epiphany
73 Summary(pl.UTF-8):      Pliki nagłówkowe Epiphany
74 Group:          X11/Applications/Networking
75 # doesn't require base
76 Requires:       gtk+2-devel >= 2:2.10.9
77 Requires:       libxslt-devel >= 1.1.20
78
79 %description devel
80 Epiphany header files for plugin development.
81
82 %description devel -l es.UTF-8
83 Ficheros de cabecera de Epiphany para desarrollar plug-ins.
84
85 %description devel -l pl.UTF-8
86 Pliki nagłówkowe Epiphany do tworzenia wtyczek.
87
88 %package apidocs
89 Summary:        Epiphany API documentation
90 Summary(pl.UTF-8):      Dokumentacja API Epiphany
91 Group:          Documentation
92 Requires:       gtk-doc-common
93
94 %description apidocs
95 Epiphany API documentation.
96
97 %description apidocs -l pl.UTF-8
98 Dokumentacja API Epiphany.
99
100 %prep
101 %setup -q
102 %patch0 -p1
103 %patch1 -p1
104 %patch2 -p1
105 %patch3 -p1
106
107 %build
108 %{__gnome_doc_prepare}
109 %{__gnome_doc_common}
110 %{__glib_gettextize}
111 %{__intltoolize}
112 %{__libtoolize}
113 %{__aclocal} -I m4
114 %{__autoheader}
115 %{__automake}
116 %{__autoconf}
117 %configure \
118         --disable-schemas-install \
119         --enable-dbus \
120         --enable-gtk-doc \
121         --enable-python \
122         --with-html-dir=%{_gtkdocdir}
123 %{__make}
124
125 %install
126 rm -rf $RPM_BUILD_ROOT
127 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions
128
129 %{__make} install \
130         DESTDIR=$RPM_BUILD_ROOT \
131         HTML_DIR=%{_gtkdocdir}
132
133 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/plugins/*.la
134
135 %find_lang %{name} --with-gnome
136
137 %clean
138 rm -rf $RPM_BUILD_ROOT
139
140 %post
141 %gconf_schema_install epiphany-fonts.schemas
142 %gconf_schema_install epiphany-lockdown.schemas
143 %gconf_schema_install epiphany-pango.schemas
144 %gconf_schema_install epiphany.schemas
145 %scrollkeeper_update_post
146 %update_desktop_database_post
147 %update_icon_cache hicolor
148
149 %preun
150 %gconf_schema_uninstall epiphany-fonts.schemas
151 %gconf_schema_uninstall epiphany-lockdown.schemas
152 %gconf_schema_uninstall epiphany-pango.schemas
153 %gconf_schema_uninstall epiphany.schemas
154
155 %postun
156 %scrollkeeper_update_postun
157 %update_desktop_database_postun
158 %update_icon_cache hicolor
159
160 %files -f %{name}.lang
161 %defattr(644,root,root,755)
162 %doc AUTHORS ChangeLog NEWS README
163 %attr(755,root,root) %{_bindir}/*
164 %{_datadir}/dbus-1/services/*.service
165 %{_datadir}/%{name}
166 %{_desktopdir}/*.desktop
167 %{_iconsdir}/hicolor/*/*/*.png
168 %{_sysconfdir}/gconf/schemas/epiphany-fonts.schemas
169 %{_sysconfdir}/gconf/schemas/epiphany-lockdown.schemas
170 %{_sysconfdir}/gconf/schemas/epiphany-pango.schemas
171 %{_sysconfdir}/gconf/schemas/epiphany.schemas
172 %{_omf_dest_dir}/*
173 %dir %{_libdir}/%{name}
174 %dir %{_libdir}/%{name}/%{basever}
175 %dir %{_libdir}/%{name}/%{basever}/extensions
176 %dir %{_libdir}/%{name}/%{basever}/plugins
177 %attr(755,root,root) %{_libdir}/epiphany/%{basever}/plugins/*.so*
178 %{_mandir}/man1/*
179
180 %files devel
181 %defattr(644,root,root,755)
182 %{_aclocaldir}/*
183 %{_includedir}/epiphany
184 %{_pkgconfigdir}/*.pc
185 %{_datadir}/pygtk/*/defs/epiphany.defs
186
187 %files apidocs
188 %defattr(644,root,root,755)
189 %{_gtkdocdir}/*
This page took 0.039007 seconds and 3 git commands to generate.