[521] | 1 | %define add_to_doc_files() \ |
---|
| 2 | mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}; \ |
---|
| 3 | cp -p %1 %{buildroot}%{_docdir}/%{name}-%{version}/$(echo '%1' | sed -e 's!/!.!g') \ |
---|
| 4 | echo %%{_docdir}/%{name}-%{version}/$(echo '%1' | sed -e 's!/!.!g') >> docfiles.list |
---|
| 5 | |
---|
| 6 | #define svn_revision 43436 |
---|
| 7 | |
---|
| 8 | # --with coverage: Enables compile-time checking of code coverage. (default: no) |
---|
| 9 | %bcond_with coverage |
---|
| 10 | # --with jit: Enable JIT ("just-in-time") JavaScript compiling support. |
---|
| 11 | #%bcond_with jit |
---|
| 12 | # --with pango : use pango for font rendering instead of freetype2 (default: use freetype2) |
---|
| 13 | %bcond_with pango |
---|
| 14 | # --with wml: Build support for WML |
---|
| 15 | %bcond_with wml |
---|
| 16 | |
---|
| 17 | Name: WebKit |
---|
[6757] | 18 | Version: 1.8.3 |
---|
[1489] | 19 | Release: 1%{?_dist_release} |
---|
[521] | 20 | Summary: Web content engine library |
---|
| 21 | Summary(ja): ウェブコンテンツエンジンライブラリ |
---|
| 22 | |
---|
| 23 | Group: Development/Libraries |
---|
| 24 | License: LGPLv2+ and BSD |
---|
| 25 | URL: http://webkitgtk.org/ |
---|
| 26 | |
---|
| 27 | Vendor: Project Vine |
---|
| 28 | Distribution: Vine Linux |
---|
| 29 | Packager: yasumichi |
---|
| 30 | |
---|
[6011] | 31 | Source0: http://www.webkitgtk.org/webkit-%{version}.tar.xz |
---|
[521] | 32 | |
---|
| 33 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 34 | |
---|
| 35 | BuildRequires: bison |
---|
| 36 | BuildRequires: flex |
---|
| 37 | BuildRequires: gperf |
---|
| 38 | BuildRequires: gtk2-devel |
---|
| 39 | BuildRequires: libicu-devel |
---|
[1875] | 40 | BuildRequires: libjpeg-turbo-devel |
---|
[521] | 41 | BuildRequires: libtool |
---|
| 42 | BuildRequires: libxslt-devel |
---|
| 43 | BuildRequires: libXt-devel |
---|
| 44 | BuildRequires: pcre-devel |
---|
[798] | 45 | BuildRequires: sqlite3-devel |
---|
[521] | 46 | BuildRequires: geoclue-devel |
---|
[6011] | 47 | BuildRequires: gcr-devel |
---|
[521] | 48 | BuildRequires: gstreamer-devel |
---|
| 49 | BuildRequires: gstreamer-plugins-base-devel |
---|
| 50 | BuildRequires: enchant-devel |
---|
[2041] | 51 | BuildRequires: gobject-introspection-devel |
---|
[6011] | 52 | BuildRequires: gsettings-desktop-schemas |
---|
| 53 | BuildRequires: gtk-doc |
---|
[521] | 54 | |
---|
| 55 | %if %{with pango} |
---|
| 56 | BuildRequires: pango-devel |
---|
| 57 | %else |
---|
| 58 | BuildRequires: cairo-devel |
---|
| 59 | BuildRequires: fontconfig-devel |
---|
[798] | 60 | BuildRequires: freetype2-devel |
---|
[521] | 61 | %endif |
---|
| 62 | |
---|
[1489] | 63 | BuildRequires: libsoup-devel >= 2.28.2 |
---|
[521] | 64 | |
---|
| 65 | |
---|
[1875] | 66 | %description |
---|
[521] | 67 | WebKit is an open source web browser engine. |
---|
| 68 | |
---|
| 69 | %package gtk |
---|
[2607] | 70 | Summary: GTK+ port of WebKit |
---|
[521] | 71 | Summary(ja): WebKit の GTK+ ポート |
---|
| 72 | Group: Development/Libraries |
---|
| 73 | |
---|
| 74 | %description gtk |
---|
| 75 | %{name} is an open-source Web content engine library. This package contains |
---|
| 76 | the shared libraries for the WebKit GTK+ port as well as the sample |
---|
[1875] | 77 | GtkLauncher tool. |
---|
[521] | 78 | |
---|
| 79 | |
---|
| 80 | %package gtk-devel |
---|
| 81 | Summary: Development package for %{name} |
---|
| 82 | Summary(ja): %{name} の開発パッケージ |
---|
| 83 | Group: Development/Libraries |
---|
| 84 | Requires: %{name}-gtk = %{version}-%{release} |
---|
| 85 | Requires: pkgconfig |
---|
| 86 | Requires: gtk2-devel |
---|
[1489] | 87 | Requires: libsoup-devel >= 2.28.2 |
---|
[521] | 88 | |
---|
| 89 | %description gtk-devel |
---|
| 90 | The %{name}-gtk-devel package contains libraries, build data, and header |
---|
| 91 | files for developing applications that use %{name}-gtk. |
---|
| 92 | Please note that the WebKit/GTK+ API is not yet stable. This should |
---|
| 93 | only be used as a "preview" rather than a stable platform library. |
---|
| 94 | |
---|
| 95 | |
---|
| 96 | %package doc |
---|
| 97 | Summary: Documentation for %{name} |
---|
| 98 | Summary(ja): %{name} のドキュメント |
---|
| 99 | Group: Documentation |
---|
| 100 | |
---|
| 101 | %description doc |
---|
| 102 | %{name} is an open-source Web content engine library. This package contains |
---|
| 103 | the documentation for %{name}, including various LICENSE, README, and |
---|
| 104 | AUTHORS files. |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | %prep |
---|
| 108 | %setup -q -n webkit-%{version} |
---|
| 109 | |
---|
| 110 | %build |
---|
| 111 | %configure \ |
---|
[4616] | 112 | --with-gtk=2.0 \ |
---|
[521] | 113 | --enable-icon-database \ |
---|
[6011] | 114 | --enable-jit \ |
---|
[521] | 115 | --enable-geolocation \ |
---|
[2041] | 116 | --enable-introspection=yes \ |
---|
[6011] | 117 | --enable-webgl \ |
---|
[521] | 118 | %{?with_coverage: --enable-coverage } \ |
---|
| 119 | %{?with_pango: --with-font-backend=pango } \ |
---|
| 120 | %{?with_wml: --enable-wml } |
---|
| 121 | |
---|
[6011] | 122 | make V=1 %{?_smp_mflags} |
---|
| 123 | |
---|
[521] | 124 | # workaround for bug 488112 |
---|
| 125 | # Compile libJavaScriptCore.a with -fno-strict-aliasing |
---|
[4616] | 126 | ##touch JavaScriptCore/AllInOneFile.cpp |
---|
| 127 | ##make %{?_smp_mflags} CXXFLAGS="%{optflags} -fno-strict-aliasing" |
---|
[521] | 128 | |
---|
| 129 | |
---|
| 130 | %install |
---|
| 131 | rm -rf %{buildroot} |
---|
| 132 | |
---|
| 133 | make install DESTDIR=%{buildroot} |
---|
| 134 | install -d -m 755 %{buildroot}%{_libexecdir}/%{name} |
---|
| 135 | install -m 755 Programs/GtkLauncher %{buildroot}%{_libexecdir}/%{name} |
---|
| 136 | |
---|
[4616] | 137 | # Finally, copy over and rename the various files for %%doc inclusion. |
---|
| 138 | %add_to_doc_files Source/WebKit/LICENSE |
---|
| 139 | %add_to_doc_files Source/WebKit/gtk/po/README |
---|
| 140 | %add_to_doc_files Source/WebKit/gtk/NEWS |
---|
| 141 | %add_to_doc_files Source/WebCore/icu/LICENSE |
---|
| 142 | %add_to_doc_files Source/WebCore/LICENSE-APPLE |
---|
| 143 | %add_to_doc_files Source/WebCore/LICENSE-LGPL-2 |
---|
| 144 | %add_to_doc_files Source/WebCore/LICENSE-LGPL-2.1 |
---|
| 145 | %add_to_doc_files Source/JavaScriptCore/COPYING.LIB |
---|
| 146 | %add_to_doc_files Source/JavaScriptCore/THANKS |
---|
| 147 | %add_to_doc_files Source/JavaScriptCore/AUTHORS |
---|
| 148 | %add_to_doc_files Source/JavaScriptCore/icu/README |
---|
| 149 | %add_to_doc_files Source/JavaScriptCore/icu/LICENSE |
---|
[521] | 150 | |
---|
[4616] | 151 | %find_lang webkit-2.0 |
---|
[521] | 152 | |
---|
| 153 | %clean |
---|
| 154 | rm -rf %{buildroot} |
---|
| 155 | |
---|
| 156 | |
---|
| 157 | %post gtk -p /sbin/ldconfig |
---|
| 158 | |
---|
[4616] | 159 | %posttrans gtk |
---|
| 160 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[521] | 161 | |
---|
[4616] | 162 | %postun gtk |
---|
| 163 | /sbin/ldconfig |
---|
| 164 | if [ $1 -eq 0 ] ; then |
---|
| 165 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 166 | fi |
---|
[521] | 167 | |
---|
[4616] | 168 | |
---|
| 169 | # %files -f webkit.lang gtk |
---|
| 170 | %files gtk -f webkit-2.0.lang |
---|
[521] | 171 | %defattr(-,root,root,-) |
---|
| 172 | %doc |
---|
[4616] | 173 | %{_libdir}/*.so.* |
---|
[521] | 174 | %{_libexecdir}/WebKit/ |
---|
[4616] | 175 | %{_bindir}/jsc-1 |
---|
[2041] | 176 | %{_libdir}/girepository-1.0/*.typelib |
---|
[6011] | 177 | #%{_datadir}/glib-2.0/schemas/org.webkitgtk-1.0.gschema.xml |
---|
[4616] | 178 | %{_datadir}/webkitgtk-1.0/* |
---|
[521] | 179 | |
---|
| 180 | %files gtk-devel |
---|
| 181 | %defattr(-,root,root,-) |
---|
| 182 | %exclude %{_libdir}/*.la |
---|
[6011] | 183 | %{_includedir}/webkitgtk-1.0 |
---|
[4616] | 184 | %{_libdir}/*.so |
---|
| 185 | %{_libdir}/pkgconfig/*.pc |
---|
[2041] | 186 | %{_datadir}/gir-1.0/*.gir |
---|
[521] | 187 | |
---|
| 188 | %files doc -f docfiles.list |
---|
| 189 | %defattr(-,root,root,-) |
---|
[6011] | 190 | %{_datadir}/gtk-doc/html/webkitgtk |
---|
[521] | 191 | |
---|
| 192 | |
---|
| 193 | %changelog |
---|
[6757] | 194 | * Tue Aug 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.3-1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
[6739] | 197 | * Thu Aug 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.2-1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
[6078] | 200 | * Sun Apr 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-1 |
---|
[6011] | 201 | - new upstream release |
---|
| 202 | - change BuildRequires: gcr-devel instead of gnome-keyring-devel |
---|
| 203 | - add BuildRequires: gsettings-desktop-schemas, gtk-doc |
---|
| 204 | |
---|
[4850] | 205 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.6.1-1 |
---|
| 206 | - new upstream release |
---|
| 207 | |
---|
[4812] | 208 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.5.90-1 |
---|
| 209 | - new upstream release |
---|
| 210 | |
---|
[4675] | 211 | * Sat Aug 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.5.2-1 |
---|
| 212 | - new upstream release |
---|
| 213 | |
---|
[4616] | 214 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.5.1-1 |
---|
| 215 | - new upstream release |
---|
| 216 | |
---|
| 217 | * Sun Jul 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.4.2-1 |
---|
| 218 | - new upstream release |
---|
| 219 | - delete Patch0 |
---|
| 220 | - add BuildRequires: gtk-doc |
---|
| 221 | |
---|
[3357] | 222 | * Sat Apr 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.7-1 |
---|
| 223 | - new upstream release |
---|
| 224 | |
---|
[2607] | 225 | * Sat Jan 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.6-1 |
---|
| 226 | - new upstream release |
---|
| 227 | |
---|
[2041] | 228 | * Sat Oct 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.5-1 |
---|
| 229 | - new upstream release |
---|
| 230 | - add BuildRequires: gobject-introspection-devel |
---|
| 231 | - add configure option (--enable-introspection=yes) |
---|
| 232 | - add Patch0 (WebKit-1.2.5-gir.patch) |
---|
| 233 | |
---|
[1875] | 234 | * Thu Sep 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.4-1 |
---|
| 235 | - new upstream release (built with rpm-4.8.1-1 for pkg-config file) |
---|
| 236 | - changed BuildRequires: libjpeg-devel to libjpeg-turbo-devel |
---|
| 237 | |
---|
[1489] | 238 | * Sun Aug 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.3-1 |
---|
| 239 | - new upstream release |
---|
| 240 | - add Requires: libsoup-devel (devel package) |
---|
| 241 | - fix configure (remove unrecognized option) |
---|
| 242 | - drop Patch100 |
---|
| 243 | |
---|
[825] | 244 | * Wed Apr 14 2010 MATSUBAYASHI Kohji <shaoliN@vinelinux.org> - 1.2.0-2 |
---|
| 245 | - rebuilt again on ppc |
---|
| 246 | |
---|
[798] | 247 | * Sun Apr 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-1 |
---|
| 248 | - new upstream release |
---|
| 249 | - rebuilt with libicu-4.4 |
---|
| 250 | - added Patch100 for compiling with libicu-4.4 |
---|
| 251 | - s/sqlite-devel/sqlite3-devel/ |
---|
| 252 | - s/freetype-devel/freetype2-devel/ |
---|
| 253 | |
---|
[521] | 254 | * Mon Jan 25 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.18-1 |
---|
| 255 | - updated to 1.1.18 |
---|
| 256 | |
---|
| 257 | * Fri Nov 06 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.1.15.3-2 |
---|
| 258 | - change BR from libsoup to libsoup-devel |
---|
| 259 | |
---|
| 260 | * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.1.15.3-1 |
---|
| 261 | - new upstream release. |
---|
| 262 | - add Vendor, Distribution and Packager. |
---|
| 263 | |
---|
| 264 | * Mon Jul 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.10-1 |
---|
| 265 | - update to webkit-1.1.10 release version |
---|
| 266 | - added BuildRequires: enchant-devel |
---|
| 267 | |
---|
| 268 | * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.6-1 |
---|
| 269 | - update to webkit-1.1.6 release version |
---|
| 270 | |
---|
| 271 | * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-8.svn41944 |
---|
| 272 | - update to new upstream snapshot (svn r41944) |
---|
| 273 | |
---|
| 274 | * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-7.svn40471 |
---|
| 275 | - update to new upstream snapshot (svn r40471) |
---|
| 276 | |
---|
| 277 | * Tue Sep 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-6.svn37056 |
---|
| 278 | - update to new upstream snapshot (svn r37056) |
---|
| 279 | - disable html5video by default |
---|
| 280 | |
---|
| 281 | * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-5.svn36882 |
---|
| 282 | - update to new upstream snapshot (svn r36882) |
---|
| 283 | - build with gnome-2.24 |
---|
| 284 | |
---|
| 285 | * Thu Sep 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-4.svn36053 |
---|
| 286 | - build without pango by default. |
---|
| 287 | |
---|
| 288 | * Wed Sep 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-3.svn36053 |
---|
| 289 | - update to new upstream snapshot (svn r36053) |
---|
| 290 | |
---|
| 291 | * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-2.svn34655 |
---|
| 292 | - update to new upstream snapshot (svn r34655) |
---|
| 293 | |
---|
| 294 | * Mon Jun 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1.svn34279 |
---|
| 295 | - initial build for Vine Linux |
---|
| 296 | |
---|
| 297 | * Tue Jun 3 2008 Caol叩n McNamara <caolanm@redhat.com> - 1.0.0-0.12.svn34279 |
---|
| 298 | - rebuild for new icu |
---|
| 299 | |
---|
| 300 | * Tue Jun 3 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.0.0-0.11.svn34279 |
---|
| 301 | - Update to new upstream snapshot (SVN 34279) anyway |
---|
| 302 | - Add BR: libXt-devel |
---|
| 303 | |
---|
| 304 | * Tue Apr 29 2008 Peter Gordon <peter@thecodergeek.com> 1.0.0-0.10.svn32531 |
---|
| 305 | - Remove the -Qt subpackage stuff. QtWebKit is now included in Qt proper, as |
---|
| 306 | of qt-4.4.0-0.6.rc1. (We no longer need separate build-qt and build-gtk |
---|
| 307 | subdirectories either.) |
---|
| 308 | - Reference: bug 442200 (RFE: WebKit Migration) |
---|
| 309 | - Add libjpeg dependency (was previously pulled in by the qt4-devel dependency |
---|
| 310 | tree). |
---|
| 311 | |
---|
| 312 | * Mon Apr 28 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.0.0-0.9.svn32531 |
---|
| 313 | - Update to new upstream snapshot (SVN 32531). |
---|
| 314 | - Fix bug 443048 and hopefully fix bug 444445 |
---|
| 315 | - Modify the process of building GTK+ port a bit |
---|
| 316 | - on qt port WebKit/qt/Plugins is not built for qt >= 4.4.0 |
---|
| 317 | |
---|
| 318 | * Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> 1.0.0-0.8.svn31787 |
---|
| 319 | - Update to new upstream snapshot (SVN 31787). |
---|
| 320 | - Resolves: CVE-2008-1010 (bug 438532: Arbitrary code execution) and |
---|
| 321 | CVE-2008-1011 (bug 438531: Cross-Site Scripting). |
---|
| 322 | - Switch to using autotools for building the GTK+ port. |
---|
| 323 | |
---|
| 324 | * Wed Mar 05 2008 Peter Gordon <peter@thecodergeek.com> 1.0.0-0.7.svn30667 |
---|
| 325 | - Fix the WebKitGtk pkgconfig data (should depend on gtk+-2.0). Resolves |
---|
| 326 | bug 436073 (Requires: gtk+-2.0 missing from WebKitGtk.pc). |
---|
| 327 | - Thanks to Mamoru Tasaka for helping find and squash these many bugs. |
---|
| 328 | |
---|
| 329 | * Sat Mar 01 2008 Peter Gordon <peter@thecodergeek.com> 1.0.0-0.6.svn30667 |
---|
| 330 | - Fix include directory naming. Resolves: bug 435561 (Header file <> header |
---|
| 331 | file location mismatch) |
---|
| 332 | - Remove qt4-devel runtime dependency and .prl file from WebKit-gtk-devel. |
---|
| 333 | Resolves: bug 433138 (WebKit-gtk-devel has a requirement on qt4-devel) |
---|
| 334 | |
---|
| 335 | * Fri Feb 29 2008 Peter Gordon <peter@thecodergeek.com> 1.0.0-0.5.svn30667 |
---|
| 336 | - Update to new upstream snapshot (SVN 30667) |
---|
| 337 | - Add some build fixes for GCC 4.3: |
---|
| 338 | + gcc43.patch |
---|
| 339 | |
---|
| 340 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.0-0.5.svn29336 |
---|
| 341 | - Autorebuild for GCC 4.3 |
---|
| 342 | |
---|
| 343 | * Wed Jan 09 2008 Peter Gordon <peter@thecodergeek.com> 1.0.0-0.4.svn29336 |
---|
| 344 | - Update to new upstream snapshot (SVN 29336). |
---|
| 345 | - Drop TCSpinLock pthread workaround (fixed upstream): |
---|
| 346 | - TCSpinLock-use-pthread-stubs.patch |
---|
| 347 | |
---|
| 348 | * Thu Dec 06 2007 Peter Gordon <peter@thecodergeek.com> 1.0.0-0.3.svn28482 |
---|
| 349 | - Add proper %%defattr line to qt, qt-devel, and doc subpackages. |
---|
| 350 | - Add patch to forcibly build the TCSpinLock code using the pthread |
---|
| 351 | implementation: |
---|
| 352 | + TCSpinLock-use-pthread-stubs.patch |
---|
| 353 | |
---|
| 354 | * Thu Dec 06 2007 Peter Gordon <peter@thecodergeek.com> 1.0.0-0.2.svn28482 |
---|
| 355 | - Package renamed from WebKitGtk. |
---|
| 356 | - Update to SVN 28482. |
---|
| 357 | - Build both the GTK and Qt ports, putting each into their own respective |
---|
| 358 | subpackages. |
---|
| 359 | - Invoke qmake-qt4 and make directly (with SMP build flags) instead of using |
---|
| 360 | the build-webkit script from upstream. |
---|
| 361 | - Add various AUTHORS, README, and LICENSE files (via the doc subpackage). |
---|
| 362 | |
---|
| 363 | * Tue Dec 04 2007 Peter Gordon <peter@thecodergeek.com> 1.0.0-0.1.svn28383 |
---|
| 364 | - Initial packaging for Fedora. |
---|