chromium11-vl.spec 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817
  1. # Thanks to malcolmlewis for help with this script
  2. # Thanks to Tom "spot" Callaway for much of the patchwork
  3. # Thanks to jhaygood for most of the icu patch
  4. # norootforbuild
  5. %define with_devel_pkg 0
  6. %define pkgname chromium
  7. #% define with_system_icu 1
  8. #% define with_system_v8 1
  9. #NOTE: src/third_party/ffmpeg/ffmpeg.gyp:
  10. # libvpx doesn't currently supply a pkg-config file, so we assume that
  11. # -lvpx is sufficient.
  12. %define with_system_vpx 1
  13. #% define v8_ver 3.2.0
  14. #Name: chromium11
  15. Name: chromium
  16. Summary: Google's opens source browser project
  17. Summary(ja): Googleのオープンソースウェブブラウザ
  18. #'
  19. Version: 11.0.696.50
  20. Release: 1%{?_dist_release}
  21. License: BSD
  22. Group: Applications/Internet
  23. #Source0: %{name}.%{version}.svn%{svn_rev}.tar.lzma
  24. #Source0: %{name}-%{version}.svn%{svn_rev}.tar.xz
  25. Source0: %{pkgname}-%{version}.tar.xz
  26. ## The following are included for source reasons only
  27. # Custom build tools for chromium, hammer is a fancy front-end for scons
  28. Source1: http://src.chromium.org/svn/trunk/tools/depot_tools.tar.gz
  29. # # Script used to create the tar.lzma archive from the daily tarball downloadable at http://build.chromium.org/buildbot/archives/
  30. # Source2: repack_chromium_archive.sh
  31. # # Script used to create the tar.lzma archive from a checked out source
  32. # Source3: pack_chromium_source.sh
  33. # Script used to create the %{pkgname}-%{version}.tar.xz archive from
  34. # a official tarball:
  35. # http://build.chromium.org/official/chromium-10.0.644.0.tar.bz2
  36. Source3: pack_chromium11_source-vine.sh
  37. # Official ffmpeg headers
  38. Source8: ffmpeg-0.6-headers.tar.xz
  39. #Source10: chromium.desktop
  40. #Source10: chromium-vine.desktop
  41. # Patch template which adds vendor to user agent
  42. ##!!Source20: chromium-vendor.patch.in
  43. Source20: chromium-vendor-vine.patch.in
  44. # Set default prefs
  45. ##!!Source30: master_preferences
  46. Source30: master_preferences.vine
  47. #Source31: default_bookmarks.html
  48. #Source31: default_bookmarks.html.vine
  49. Source99: chrome-wrapper
  50. ##!!Source100: chromium-browser.sh
  51. Source100: chromium-browser-vine.sh
  52. ##!!Source101: chromium-browser.desktop
  53. Source101: chromium-browser-vine.desktop
  54. Source102: chromium-browser.xml
  55. Source103: chromium-browser-rpmlintrc
  56. %{?nosrc:NoSource: 0}
  57. %{?nosrc:NoSource: 1}
  58. Provides: chromium-browser = %{version}
  59. ##Provides: chromium-based-browser = %{version}
  60. ##Obsoletes: chromium-browser < %{version}
  61. ##Conflicts: chromium
  62. ## Start Patches
  63. # Many changes to the gyp systems so we can use system libraries
  64. # My first ever patch set. I hope I did well.
  65. Patch4: chromium-no-sqlite-debug.patch
  66. Patch5: chromium-gyp-system-04-nss-nspr.patch
  67. Patch7: chromium-codechanges-nss-nspr.patch
  68. Patch8: chromium-codechanges-zlib.patch
  69. Patch12: chromium-no-test-sources.patch
  70. Patch13: chromium-no-courgette.patch
  71. Patch14: chromium-master-prefs-path.patch
  72. Patch17: chromium-system-glew.patch
  73. Patch18: chromium-system-expat.patch
  74. Patch19: chromium-system-zlib.patch
  75. Patch20: chromium-6.0.425.0-ffmpeg-no-pkgconfig.patch
  76. Patch21: chromium-7.0.542.0-media-probe.patch
  77. Patch25: tcmalloc-factory.patch
  78. Patch26: chromium-remoting-build-fix.diff
  79. Patch28: chromium-7.0.500.0-system-speex.patch
  80. Patch29: chromium-7.0.510.0-system-ffmpeg.patch
  81. Patch32: chromium-7.0.542.0-system-libvpx.patch
  82. Patch34: chromium-7.0.542.0-codechanges-system-minizip-v8.patch
  83. Patch62: chromium-norpath.patch
  84. Patch63: chromium-6.0.406.0-system-gyp-v8.patch
  85. # Patches for MeeGo Netbook
  86. Patch80: chromium-browser-window-focus.patch
  87. Patch83: chromium-fix-toolbar-icon-size.patch
  88. # Vine
  89. Patch100: chromium-11.0.696.15-no-tests.patch
  90. BuildRequires: gcc gcc-c++
  91. BuildRequires: libstdc++ libstdc++-devel
  92. BuildRequires: libevent
  93. ##!!BuildRequires: pkg-config
  94. BuildRequires: python
  95. ##!!BuildRequires: python-xml
  96. BuildRequires: python-pyxml
  97. BuildRequires: perl bison flex gperf
  98. ##!!BuildRequires: wdiff
  99. ##!!BuildRequires: update-desktop-files
  100. #BuildRequires: lzma
  101. BuildRequires: xz
  102. ##!!BuildRequires: mozilla-nss-devel
  103. BuildRequires: nss-devel
  104. ##!!BuildRequires: alsa-devel
  105. BuildRequires: alsa-lib-devel
  106. BuildRequires: gtk2-devel
  107. BuildRequires: glib2-devel
  108. BuildRequires: cairo-devel >= 1.6
  109. ##!!BuildRequires: mozilla-nspr-devel
  110. BuildRequires: nspr-devel
  111. ##!!BuildRequires: gconf2-devel
  112. BuildRequires: GConf2-devel
  113. BuildRequires: freetype2-devel
  114. ##!!BuildRequires: dbus-1-devel
  115. BuildRequires: dbus-devel
  116. BuildRequires: libxslt-devel
  117. BuildRequires: libxml2-devel
  118. BuildRequires: libjpeg-devel
  119. BuildRequires: zlib-devel
  120. ##!!BuildRequires: libbz2-devel
  121. BuildRequires: bzip2-devel
  122. BuildRequires: cups-devel
  123. BuildRequires: fdupes
  124. ##!!BuildRequires: libexpat-devel
  125. BuildRequires: expat-devel
  126. BuildRequires: libpng-devel
  127. BuildRequires: sqlite3-devel
  128. BuildRequires: gnutls-devel
  129. BuildRequires: desktop-file-utils
  130. %{?with_system_v8:BuildRequires: v8-devel = %{v8_ver}}
  131. %{?with_system_vpx:BuildRequires: libvpx-devel >= 0.9.5}
  132. BuildRequires: pam-devel
  133. BuildRequires: libgnome-keyring-devel
  134. BuildRequires: python-devel
  135. BuildRequires: glew-devel
  136. ##!!BuildRequires: Mesa-devel
  137. BuildRequires: mesa-libGLU-devel
  138. BuildRequires: hunspell-devel
  139. %{?with_system_icu:BuildRequires: libicu-devel >= 4.0}
  140. BuildRequires: libevent-devel
  141. #BuildRequires: libjingle-devel >= 0.4.0-7
  142. #BuildRequires: srtp-devel
  143. BuildRequires: speex-devel
  144. ##Vine Linux
  145. %{?with_system_v8:Requires: v8 = %{v8_ver}}
  146. BuildRequires: libpaper-devel
  147. BuildRequires: libXScrnSaver-devel
  148. BuildRequires: libXtst-devel
  149. BuildRequires: libXdamage-devel
  150. BuildRequires: libXt-devel
  151. #BuildRequires: gle-devel
  152. #BuildRequires: webkit-gtk-devel
  153. #BuildRequires: scons
  154. %ifarch x86_64
  155. Requires: nspluginwrapper
  156. %endif
  157. ##!!Requires: alsa
  158. Requires: alsa-lib
  159. Requires: xdg-utils
  160. # shouldn't be required to name all dependencies
  161. # Requires: mozilla-nss mozilla-nspr gtk2 glib2 cairo >= 1.6 freetype2 dbus-1 alsa v8 >= 1.3.15
  162. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  163. %description
  164. Chromium is the open-source project behind Google Chrome.
  165. We invite you to join us in our effort to help build a safer, faster,
  166. and more stable way for all Internet users to experience the web,
  167. and to create a powerful platform for developing a new generation of
  168. web applications.
  169. %description -l ja
  170. Chromium は Google Chrome の後方にあるオープンソースプロジェクトです。
  171. ウェブを体験しているすべてのインターネットユーザに対して
  172. より安全で、より速くて、より安定した方法を築き上げるのを補助するでしょう。
  173. そして、ウェブアプリケーションの新しい世代を発展させ、
  174. 強力なプラットホームを作成するために、
  175. 私たちの取り組みにぜひ参加してください。
  176. %package devel
  177. Summary: Header file for chromium browser
  178. Group: Development/Libraries
  179. Requires: chromium = %{version}-%{release}
  180. %description devel
  181. This package contains the header files and pc file of chromium browser for
  182. applications which will use chromium browser APIs.
  183. %prep
  184. #%setup -q
  185. [ -d %{pkgname}-%{version} ] && %__rm -rf %{pkgname}-%{version}
  186. xz -dc %{SOURCE0} | %__tar -xf - || exit 1
  187. %setup -D -T -n %{pkgname}-%{version}
  188. %patch62 -p1
  189. %{?with_system_v8:%patch63 -p1}
  190. %patch100 -p1 -b .vine
  191. # %patch80 -p1
  192. # %patch83 -p1
  193. %patch4 -p1
  194. %patch5 -p1
  195. %patch7 -p1
  196. %patch8 -p1
  197. %patch12 -p1
  198. %patch13 -p1
  199. %patch14 -p1
  200. %patch17 -p1
  201. %patch18 -p1
  202. %patch19 -p1
  203. %patch20 -p1
  204. %patch21 -p1
  205. %patch25 -p1
  206. %patch26 -p1
  207. %patch28 -p1
  208. %patch29 -p1
  209. %{?with_system_vpx:%patch32 -p1}
  210. %{?with_system_v8:%patch34 -p1}
  211. pushd src/third_party/ffmpeg/
  212. %__tar Jxf %{SOURCE8} || exit 1
  213. ## built header file: avconfig.h
  214. [ -f ffmpeg-0.6-headers/libavutil/avconfig.h ] && exit 1
  215. cat > ffmpeg-0.6-headers/libavutil/avconfig.h <<EOF
  216. /* Generated by ffconf */
  217. #ifndef AVUTIL_AVCONFIG_H
  218. #define AVUTIL_AVCONFIG_H
  219. #define AV_HAVE_BIGENDIAN 0
  220. #endif /* AVUTIL_AVCONFIG_H */
  221. EOF
  222. popd
  223. #%__rm -rf src/third_party/libvpx/
  224. %__rm -rf src/third_party/speex/
  225. %__rm -rf src/third_party/nss src/third_party/nspr
  226. # apply vendor patch after substitution
  227. %__sed "s:RPM_VERSION:%{version}-%{release}:" %{SOURCE20} | patch -p0
  228. %build
  229. ## create make files
  230. PARSED_OPT_FLAGS=`echo \'$RPM_OPT_FLAGS -DUSE_SYSTEM_LIBEVENT -fPIC -fno-ipa-cp -fno-strict-aliasing \' | %__sed "s/ /',/g" | %__sed "s/',/', '/g"`
  231. for i in src/build/common.gypi; do
  232. %__sed -i "s|'-march=pentium4',||g" $i
  233. %__sed -i "s|'-msse2',||g" $i
  234. %__sed -i "s|'-mfpmath=sse',||g" $i
  235. %__sed -i "s|'-O<(debug_optimize)',||g" $i
  236. %__sed -i "s|'-m32',||g" $i
  237. %__sed -i "s|'-fno-exceptions',|$PARSED_OPT_FLAGS|g" $i
  238. %__sed -i "s|'-Werror'|'-Wno-error'|g" $i
  239. done
  240. # '
  241. pushd src
  242. ./build/gyp_chromium -f make build/all.gyp \
  243. -Dlinux_sandbox_path=%{_libdir}/chromium/chrome-sandbox \
  244. -Dlinux_sandbox_chrome_path=%{_libdir}/chromium/chromium-browser \
  245. -Duse_openssl=0 \
  246. -Duse_system_ffmpeg=1 \
  247. -Duse_system_zlib=1 \
  248. -Duse_system_libpng=1 \
  249. -Duse_system_bzip2=1 \
  250. -Duse_system_libbz2=1 \
  251. -Duse_system_libjpeg=1 \
  252. -Duse_system_libxml=1 \
  253. -Duse_system_libxslt=1 \
  254. -Duse_system_libevent=1 \
  255. %{?with_system_vpx:-Duse_system_vpx=1} \
  256. %{!?with_system_vpx:-Duse_system_vpx=0} \
  257. -Dproprietary_codecs=1 \
  258. -Dlibrary=shared_library \
  259. -Djavascript_engine=v8 \
  260. -Dlinux_fpic=1 \
  261. %{?with_system_v8:-Duse_system_v8=1} \
  262. %{!?with_system_v8:-Duse_system_v8=0} \
  263. %{?with_system_icu:-Duse_system_icu=1} \
  264. %{!?with_system_icu:-Duse_system_icu=0} \
  265. %ifarch %{ix86}
  266. -Dtarget_arch=ia32 \
  267. -Ddisable_sse2=1 \
  268. %endif
  269. %ifarch x86_64
  270. -Dtarget_arch=x64 \
  271. %endif
  272. %if %{?_dist_release} == "vl6"
  273. -Dno_strict_aliasing=1 -Dgcc_version=44 \
  274. %endif
  275. -Drelease_extra_cflags=-fPIC \
  276. ;
  277. #make -r %{?jobs:-j%jobs} chrome BUILDTYPE=Release
  278. #%__make -r -j5 chrome BUILDTYPE=Release
  279. %__make -r %{?_smp_mflags} chrome BUILDTYPE=Release
  280. popd
  281. %install
  282. %{__rm} -rf %{buildroot}
  283. %__mkdir -p %{buildroot}%{_bindir}
  284. %__install -m 755 %{SOURCE100} %{buildroot}%{_bindir}/chromium
  285. # x86_64 capable systems need this
  286. %__sed -i "s|/usr/lib/chromium|%{_libdir}/chromium|g" %{buildroot}%{_bindir}/chromium
  287. %__mkdir -p %{buildroot}%{_libdir}/chromium/
  288. %__mkdir -p %{buildroot}%{_mandir}/man1/
  289. pushd src/out/Release
  290. %__cp -a chrome.pak locales resources xdg-settings %{buildroot}%{_libdir}/chromium/
  291. %__cp -a resources.pak %{buildroot}%{_libdir}/chromium/
  292. %__cp -a chrome %{buildroot}%{_libdir}/chromium/chromium
  293. %__cp -a lib.target/lib*.so %{buildroot}%{_libdir}/chromium/
  294. %__cp -a lib.host/lib*.so %{buildroot}%{_libdir}/chromium/
  295. #%__cp -a chrome_sandbox %{buildroot}%{_libdir}/chromium/chrome-sandbox
  296. %__cp -a chrome.1 %{buildroot}%{_mandir}/man1/chrome.1
  297. %__cp -a chrome.1 %{buildroot}%{_mandir}/man1/chromium.1
  298. fdupes %{buildroot}%{_mandir}/man1/
  299. popd
  300. # devel package install
  301. %if %{with_devel_pkg}
  302. mkdir -p %{buildroot}%{_libdir}/chromium/include
  303. pushd src
  304. find base -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  305. find app -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  306. find chrome -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  307. find skia -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  308. find build -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  309. find googleurl -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  310. find ipc -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  311. find testing -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  312. find net -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  313. find third_party/skia -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  314. find third_party/WebKit -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  315. find webkit -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  316. #find gfx -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  317. popd
  318. find %{buildroot}%{_libdir}/chromium/include -name "*.h" -exec chmod 644 {} \;
  319. fdupes %{buildroot}%{_libdir}/chromium/include
  320. %__mkdir_p %{buildroot}/%{_libdir}/pkgconfig
  321. cat <<EOF > %{buildroot}/%{_libdir}/pkgconfig/chromium-browser.pc
  322. Name: Chromium browser
  323. Description: Chromium browser development package
  324. Version: 1.0.1
  325. Libs: -L%{_libdir}/chromium -lapp_base -lappcache -lbase_i18n -lbase -lblob -lbrowser -lcacheinvalidation -lchrome_gpu -lchromoting_base -lchromoting_client -lchromoting_host -lchromoting_jingle_glue -lchromoting_protocol -lchromotocol_proto_lib -lcld -lcommon_constants -lcommon_net -lcommon -ldatabase -ldebugger -ldefault_plugin -ldynamic_annotations -lffmpeg -lfileapi -lgfx -lglue -lgoogleurl -lgtest -lharfbuzz_interface -lharfbuzz -lhttp_listen_socket -lhunspell -liccjpeg -lil -linstaller_util -lipc -ljingle_p2p -ljingle -lmedia -lmodp_b64 -lnet_base -lnet -lnotifier -lomx_wrapper -lots -lpcre -lppapi_plugin -lplugin -lprinting -lprofile_import -lprotobuf_lite -lrenderer -lsandbox -lsdch -lservice -lskia_opts -lskia -lsqlite3 -lsrtp -lssl_host_info -lssl -lsymbolize -lsyncapi -lsync_notifier -lsync -ltrace_proto_lib -lundoview -lutility -lwebcore_bindings -lwebcore_html -lwebcore_platform -lwebcore_remaining -lwebcore_svg -lwebkit -lwebkit_user_agent -lwebp -lworker -lwtf -lxdg_mime -lzlib
  326. Cflags: -I%{_libdir}/chromium/include -I%{_libdir}/chromium/include/skia/config
  327. EOF
  328. %endif
  329. # %__mkdir_p %{buildroot}%{_datadir}/pixmaps/
  330. # %__cp -a src/chrome/app/theme/chromium/product_logo_48.png %{buildroot}%{_datadir}/pixmaps/chromium-browser.png
  331. for i in 16 22 24 32 48 64 128 256; do
  332. %__mkdir_p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
  333. %__cp -a src/chrome/app/theme/chromium/product_logo_${i}.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/chromium-browser.png || exit 1
  334. done
  335. %__mkdir_p %{buildroot}%{_datadir}/applications/
  336. desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE101}
  337. %__mkdir_p %{buildroot}%{_datadir}/gnome-control-center/default-apps/
  338. %__cp -a %{SOURCE102} %{buildroot}%{_datadir}/gnome-control-center/default-apps/
  339. # # link to browser plugin path. Plugin patch doesn't work. Why?
  340. # %{__mkdir_p} %{buildroot}%{_libdir}/browser-plugins
  341. # pushd %{buildroot}%{_libdir}/%{pkgname}
  342. # %{__ln_s} %{_libdir}/browser-plugins plugins
  343. # popd
  344. pushd %{buildroot}%{_libdir}/%{pkgname}
  345. %ifarch x86_64
  346. %{__ln_s} %{_libdir}/mozilla/plugins-wrapped plugins
  347. %else
  348. %{__ln_s} %{_libdir}/mozilla/plugins plugins
  349. %endif
  350. ## support ffmpeg libs
  351. touch %{buildroot}%{_libdir}/libavcodec.so.52
  352. %{__ln_s} %{_libdir}/libavcodec.so.52 libavcodec.so.52
  353. touch %{buildroot}%{_libdir}/libavformat.so.52
  354. %{__ln_s} %{_libdir}/libavformat.so.52 libavformat.so.52
  355. touch %{buildroot}%{_libdir}/libavutil.so.50
  356. %{__ln_s} %{_libdir}/libavutil.so.50 libavutil.so.50
  357. popd
  358. # Install the master_preferences file
  359. %__mkdir_p %{buildroot}%{_sysconfdir}/%{pkgname}
  360. #%__install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/%{pkgname}
  361. %__install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/%{pkgname}/$(basename %{SOURCE30} .vine)
  362. #%__install -m 0644 %{SOURCE31} %{buildroot}%{_sysconfdir}/%{pkgname}
  363. %clean
  364. %{__rm} -rf %{buildroot}
  365. %post
  366. touch --no-create %{_datadir}/icons/hicolor
  367. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  368. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  369. fi
  370. %{_bindir}/update-desktop-database --quiet %{_datadir}/applications || :
  371. %postun
  372. %{_bindir}/update-desktop-database --quiet %{_datadir}/applications
  373. touch --no-create %{_datadir}/icons/hicolor
  374. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  375. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  376. fi || :
  377. %files
  378. %defattr(-,root,root,-)
  379. %config %{_sysconfdir}/%{pkgname}
  380. %dir %{_datadir}/gnome-control-center
  381. %dir %{_datadir}/gnome-control-center/default-apps
  382. %{_bindir}/chromium
  383. %{_libdir}/chromium/chromium
  384. # These unique permissions are intentional and necessary for the sandboxing
  385. #%attr(4555, root, root) %{_libdir}/chromium/chrome-sandbox
  386. %{_libdir}/chromium/plugins/
  387. %{_libdir}/chromium/resources/
  388. %{_libdir}/chromium/xdg-settings
  389. %{_mandir}/man1/chrom*
  390. #%{_datadir}/pixmaps/chromium-browser.png
  391. %{_datadir}/icons/hicolor/*/apps/chromium-browser.png
  392. %{_datadir}/applications/*.desktop
  393. %{_datadir}/gnome-control-center/default-apps/chromium-browser.xml
  394. %{_libdir}/chromium/libavcodec.so.52
  395. %{_libdir}/chromium/libavutil.so.50
  396. %{_libdir}/chromium/libavformat.so.52
  397. %exclude %{_libdir}/libavcodec.so.52
  398. %exclude %{_libdir}/libavutil.so.50
  399. %exclude %{_libdir}/libavformat.so.52
  400. ## libs
  401. %dir %{_libdir}/chromium/
  402. %{_libdir}/chromium/chrome.pak
  403. %{_libdir}/chromium/resources.pak
  404. %{_libdir}/chromium/locales/
  405. %{_libdir}/chromium/lib*.so
  406. %if %{with_devel_pkg}
  407. %files devel
  408. %defattr(-,root,root,-)
  409. %{_libdir}/chromium/include/
  410. %{_libdir}/pkgconfig/chromium-browser.pc
  411. %endif
  412. %changelog
  413. * Wed Apr 13 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.50-1
  414. - updated to 11.0.696.50
  415. - dropped some Patches for MeeGo Netbook
  416. * Tue Apr 05 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.35-1
  417. - updated to 11.0.696.35
  418. * Wed Mar 27 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.29-1
  419. - updated to 11.0.696.29
  420. - dropped "--no-first-run" in command line options of chromium-browser-vine.sh
  421. * Thu Mar 24 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.22-1
  422. - updated to 11.0.696.22
  423. - improved chromium-browser-vine.sh
  424. - merged from chromium-browser-vine.desktop of 11.0.696.17-1
  425. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.20-1
  426. - updated to 11.0.696.20
  427. - improved chromium-browser-vine.desktop
  428. * Sun Mar 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.17-1
  429. - updated to 11.0.696.17
  430. * Sat Mar 19 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.15-1
  431. - updated to 11.0.696.15
  432. - ready for Vine Linux 6 release
  433. - dropped BuildRequires: v8-devel, libicu-devel
  434. * Wed Mar 09 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.5-1
  435. - updated to 11.0.696.5 with v8 3.2.0
  436. - added BuildRequires: pam-devel
  437. * Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 10.0.651.0-2
  438. - rebuilt with libevent-2.0.10
  439. * Sat Jan 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.651.0-1
  440. - updated to 10.0.651.0 with v8 3.0.12
  441. - added BuildRequires:
  442. - libpaper-devel
  443. - python-devel
  444. - added built header file: libavutil/avconfig.h %%prep
  445. - unexport MOZ_PLUGIN_PATH in chromium-browser-vine.sh
  446. * Sun Dec 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.622.0-1
  447. - updated to 10.0.622.0
  448. - added BuildRequires: libXt-devel
  449. * Sat Dec 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.605.0-1
  450. - updated to 10.0.605.0
  451. - added BuildRequires:
  452. - libXdamage-devel
  453. - hunspell-devel
  454. * Sat Dec 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.598.0-1
  455. - updated to 9.0.598
  456. * Fri Nov 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.593.0-1
  457. - updated to 9.0.593
  458. * Thu Nov 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.582.0-1
  459. - updated to 9.0.582
  460. - added Requires: xdg-utils
  461. * Thu Nov 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.578.0-1
  462. - updated to 9.0.578
  463. * Sat Oct 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.569.0-1
  464. - updated to 9.0.569
  465. * Mon Oct 25 2010 tittiatcoke@gmail.com
  466. - Update to 9.0.564 build
  467. * Added specific patches for MeeGo.
  468. * We are now using shared libraries for Chromium
  469. * Spec-file cleanup (Thanks to prusnak)
  470. * Sat Oct 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 8.0.556.0-1
  471. - updated to snapshot 8.0.556
  472. * Sun Oct 10 2010 Munehiro Yamamoto <munepi@vinelinux.org> 8.0.551.0-1
  473. - updated to snapshot 8.0.551
  474. * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.527.0-1
  475. - updated to snapshot 7.0.527
  476. * Thu Sep 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.519.0-1
  477. - updated to snapshot 7.0.519
  478. * Fri Sep 03 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.513.0-1
  479. - updated to snapshot 7.0.513
  480. - updated chromium-vendor-vine.patch.in
  481. * Sat Aug 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.507.0-1
  482. - updated to snapshot 7.0.507
  483. * Wed Aug 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.498.0-1
  484. - updated to snapshot 7.0.498
  485. * Sat Aug 14 2010 Munehiro Yamamoto <munepi@vinelinux.org> 6.0.493.0-1
  486. - updated to snapshot 6.0.493
  487. - used with_system_icu (for vl6)
  488. - added BuildRequires: libicu-devel
  489. * Thu Jul 22 2010 IWAI, Masaharu <iwai@alib.jp> 6.0.454.0-2vl5
  490. - build for Vine Linux 5.x
  491. - add BuildRequires: gnome-keyring-devel
  492. * Sat Jul 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 6.0.454.0-1
  493. - updated to snapshot 6.0.454
  494. - added BuildRequires:
  495. - sqlite3-devel
  496. - gnutls-devel
  497. - libgnome-keyring-devel
  498. * Sat Jun 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> 6.0.431.0-1
  499. - updated to snapshot 6.0.431.0 r49253
  500. - added BuildRequires: cups-devel
  501. * Sun May 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 6.0.405.0-1
  502. - updated to snapshot 6.0.405.0 r47263
  503. * Fri Apr 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.378.0-2
  504. - unused with_system_icu (for vl6)
  505. - used icu-4.2.1-chromium.5.0.353.0.svn41449 (for vl6)
  506. * Wed Apr 14 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.378.0-1
  507. - updated to snapshot 5.0.378.0 r44472
  508. - used with_system_icu (for vl6)
  509. - added icu-4.2.1-chromium.5.0.353.0.svn41449.tar.bz2 (for vl5)
  510. * Sat Apr 10 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.372.0-1
  511. - updated to snapshot 5.0.372.0 r43947
  512. - added BuildRequires: glew-devel
  513. - changed Group tag to Applications/Internet
  514. - added Summary(ja) and %%description -l ja
  515. * Mon Apr 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.365.0-1
  516. - updated to snapshot 5.0.365.0 r42966
  517. - merged 5.0.353.0-4vl5
  518. * Fri Apr 2 2010 IWAI, Masaharu <iwai@alib.jp> 5.0.353.0-4vl5
  519. - build on Vine Linux 5.1
  520. - add BuildRequires: libstdc++34 libstdc++34-devel for Vine5
  521. * Sat Mar 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.364.0-1
  522. - updated to snapshot 5.0.364.0 r42779
  523. * Sun Mar 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.359.0-1
  524. - updated to snapshot 5.0.359.0 r42116
  525. - dropped chromium-20100122-ubuntu-html5-video-mimetypes.patch
  526. * Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.353.0-4
  527. - fixed master_preferences.vine, little
  528. * Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.353.0-3
  529. - fixed to install master_preferences
  530. - dropped chromium-5.0.353-no-ffmpeg-vine.patch
  531. * Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.353.0-2
  532. - applied chromium-5.0.353-no-ffmpeg-vine.patch
  533. * Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.353.0-1
  534. - updated to snapshot 5.0.353.0 r41449
  535. * Wed Mar 10 2010 bgmerrell@novell.com
  536. - Add master_preferences source file and install it to /etc/chromium.
  537. - Create a new patch (chromium-master-prefs-path.patch) which tells
  538. chromium to look in /etc/chromium for the master_preferences file
  539. (instead of looking in the default directory, which is the same
  540. directory as the 'chrome' binary).
  541. * Sun Feb 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.335.0-1
  542. - updated to snapshot 5.0.335.0 r39556
  543. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.330.0-2
  544. - applied chromium-20100122-ubuntu-html5-video-mimetypes.patch from Gentoo
  545. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.330.0-1
  546. - updated to snapshot 5.0.330.0 r39074
  547. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-5
  548. - use_system_ffmpeg
  549. * Tue Feb 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-4
  550. - added Requires: nspluginwrapper
  551. - fixed a symbolic link of plugins directory with nspluginwrapper
  552. * Tue Feb 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-3
  553. - replaced %%{SOUECE20} to chromium-vendor-vine.patch.in
  554. * Tue Feb 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-2
  555. - added BuildRequires: mesa-libGLU-devel
  556. - added BuildRequires: libstdc++34 libstdc++34-devel for vl5
  557. * Tue Feb 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-1
  558. - built based on chromium-5.0.329.0-167.1.src.rpm of OpenSuse
  559. * Sun Nov 29 2009 - tittiatcoke@gmail.com - 4.0.260.0
  560. - Update to 4.0.260
  561. * Fri Nov 27 2009 - tittiatcoke@gmail.com - 4.0.259.0
  562. - Update to 4.0.259
  563. * Thu Nov 26 2009 - tittiatcoke@gmail.com - 4.0.258.0
  564. - Update to 4.0.258
  565. * Tue Nov 24 2009 - tittatcoke@gmai.com - 4.0.257.0
  566. - In order to complete prevent the wrong v8 version to be used, the Chromium build has been
  567. changed to having an built-in v8
  568. * Tue Nov 24 2009 - dbuck@example.com - 4.0.257.0
  569. - Re-base patches. Fixed a few patch errors. Rename some patches to better correspond with function. Removed some patches.
  570. - Minor SPEC changes. I changed the v8 requirement to be exact, instead of greater than a specific version.
  571. * Sat Oct 24 2009 - Pavol Rusnak <prusnak@suse.cz> - 4.0.223.5
  572. - don't create desktop files in wrapper, fix LD_LIBRARY_PATH (chromium-fix-wrapper.patch)
  573. * Tue Oct 20 2009 - Raymond Wooninck >tittiatcoke@gmail.com> - 4.0.223.5
  574. - update to newer svn snapshot
  575. + Obsoletes fwrite patch (included upstream)
  576. * Fri Oct 16 2009 - Raymond Wooninck <tittiatcoke@gmail.com> - 4.0.223.2
  577. - update to newer svn snapshot
  578. + Requires newer version of v8
  579. * Thu Oct 15 2009 - Pavol Rusnak <prusnak@suse.cz> - 4.0.222.6
  580. - do not force SSE on x86 (drop-sse.patch)
  581. * Tue Oct 13 2009 - Raymond Wooninck <tittiatcoke@gmail.com> - 4.0.222.6
  582. - Update to newer svn snapshot
  583. - Fixed spec file in order to build
  584. - Included patch to build with system zlib
  585. * Mon Oct 12 2009 - Pavol Rusnak <prusnak@suse.cz> 4.0.222.2
  586. - package renamed to chromium
  587. - cleaned up spec file
  588. * Tue Oct 6 2009 - dbuck <dbuck@example.com> - 4.0.222.2
  589. - v8 is now built as a separate package, and is required
  590. - included many patches to use system libraries: v8, icu, libxml2, libxslt, libjpeg, libpng, libevent, bzip2, zlib, nspr, nss
  591. * Sun Oct 1 2009 - dbuck <dbuck@example.com> - 4.0.221.1
  592. - included a newer DEP than is in svn, native_client@823. So things should compile cleanly now
  593. * Sun Aug 31 2009 - dbuck <dbuck@example.com> - 4.0.204.0
  594. - initial build
  595. #% changelog
  596. * Sun Jan 24 2010 prusnak@suse.cz
  597. - added vendor to user agent (chromium-vendor.patch.in)
  598. * Sun Nov 29 2009 prusnak@suse.cz
  599. - added --enable-sync to wrapper to enable bookmark sync
  600. * Sun Nov 29 2009 tittiatcoke@gmail.com
  601. - Update to 4.0.260
  602. * Fri Nov 27 2009 tittiatcoke@gmail.com
  603. - Update to 4.0.259
  604. * Thu Nov 26 2009 tittiatcoke@gmail.com
  605. - Update to 4.0.258
  606. * Tue Nov 24 2009 tittatcoke@gmai.com
  607. - In order to complete prevent the wrong v8 version to be used,
  608. the Chromium build has been changed to having an built-in v8
  609. * Tue Nov 24 2009 dbuck@example.com
  610. - Re-base patches.
  611. - Fixed a few patch errors.
  612. - Rename some patches to better correspond with function.
  613. - Removed some patches.
  614. - Minor SPEC changes.
  615. - I changed the v8 requirement to be exact, instead of greater than a specific version.
  616. * Fri Nov 13 2009 tittiatcoke@gmail.com
  617. - update to 247.0 svn 31928
  618. * Fri Oct 30 2009 tittiatcoke@gmail.com
  619. - update to 229.0 svn 30454
  620. + Fix regression where popups and app frames lost their titlebars.
  621. + Makes it so that when a folder is open on the bookmark bar
  622. and the mouse moves over another folder, the menu for that
  623. folder is shown.
  624. + Lazily create the find bar.
  625. + Polish to the gmail checker sample.
  626. * New, crisper icons that are exactly 19x19
  627. * Add a loading animation at the beginning before Gmail
  628. responds.
  629. * Fix a bug where we sometimes don't update the UI after a
  630. logout/login cycle.
  631. + Refactor widget methods to support desktop notifications,
  632. including GTK stubs.
  633. + Find-in-page should not ding while deleting characters.
  634. + Add SSL wrapper for linux and mac. This allows notifier to
  635. use chrome's SSL layer instead of OpenSSL.
  636. + Add three of the six extensions to PAC that Internet Explorer supports.
  637. + WebSocket support in chromium. (Run with --enable-web-sockets
  638. enables WebSocket features.)
  639. + Do not allow GTK File Chooser dialogs to return directories.
  640. + Fix the notifier SSL layer to make notifications work for
  641. Linux Bookmark sync.
  642. + linux: don't override mouse selection behavior in omnibox
  643. * Sun Oct 25 2009 tittiatcoke@gmail.com
  644. - Update to 224.4 svn 30027
  645. + First cut at new page and browser action docs based
  646. on new API. Deleted old stuff.
  647. + Add suppression for new memory leak caused by WebKit merge 49830:49844
  648. + Cleanup: change PIDs to base::ProcessId (or pid_t, as appropriate)
  649. + Minimize dependency of user scripts
  650. + Fixup the flip_framer eof-handling semantics now that we have
  651. the FIN bit in place
  652. + app depends on x11 because of active_window_watcher_x
  653. + Adding two images for the new Extension managment UI
  654. + Removing hard-coded Chrome Frame output path
  655. + Rearrange clipboard code
  656. + Fix crash bug when attempting to download a url with unsupported scheme,
  657. e.g. 'data:', by 'Alt + Click'
  658. + GTK: Change text for extension download UI
  659. + Ignore invalid urls on command line
  660. + Make dropped tabs animate from where they were dropped.
  661. + Make room for the full width of the tab placeholder.
  662. + Make tab dragging as smooth as glass.
  663. + Remove an annoying NOTIMPLEMNETED
  664. + Extensions: guarantee removal of BROWSER_WINDOW_READY registration
  665. + If we're in the middle of a drag, don't allow the user to middle
  666. click to close or right click for the context menu
  667. + "Fix" a NOTIMPLEMENTED on Linux by using the default password store
  668. + Remove +x bit from files that shouldn't have it
  669. + Fold first 3 channels of multichannel instead of 5. Use fixed point
  670. + Adding new image needed for the managment UI
  671. + Fix a race bug where content scripts would not apply to the first page load
  672. + Make escape remove a bookmark if it's just been added (but not if it already existed)
  673. + Fix bubbles deactivating the opaque frame
  674. + Allow ESC to cancel ALT+SHIFT+T in Toolbar
  675. + ake all pepper plugins default to windowless and transparent
  676. + Add styles for printing
  677. + Implement the new extension management UI
  678. + Add support for to automation interface load install and load extensions
  679. + GTK: theme the info bar border
  680. + Update V8 to version 1.3.16.1
  681. + Introduce WebSecurityPolicy for security related methods
  682. + New button scheme...borders are separate from the inner contents so
  683. that they can be highlighted / depressed independently
  684. + When opening Chrome maximized with an application window already
  685. running, the Chrome window was not activated
  686. + Fix compatibility problems with FileZilla FTP Server
  687. + Remove the extension shelf on Linux
  688. + Fix the proxy host and port string to start with http:// if it does not already
  689. + Enable HTML5 databases for all extension renderer processes
  690. * Sat Oct 24 2009 prusnak@opensuse.org
  691. - don't create desktop files in wrapper
  692. - fix LD_LIBRARY_PATH (chromium-fix-wrapper.patch)
  693. * Tue Oct 20 2009 tittiatcoke@gmail.com
  694. - update to newer svn snapshot
  695. + Obsoletes fwrite patch (included upstream)
  696. * Fri Oct 16 2009 tittiatcoke@gmail.com
  697. - update to newer svn snapshot
  698. + Requires newer version of v8
  699. * Thu Oct 15 2009 prusnak@suse.cz
  700. - do not force SSE on x86 (drop-sse.patch)
  701. * Tue Oct 13 2009 tittiatcoke@gmail.com
  702. - Update to newer svn snapshot
  703. - Fixed spec file in order to build
  704. - Included patch to build with system zlib
  705. * Mon Oct 12 2009 prusnak@suse.cz
  706. - package renamed to chromium
  707. - cleaned up spec file
  708. * Tue Oct 6 2009 dbuck@example.com
  709. - v8 is now built as a separate package, and is required
  710. - included many patches to use system libraries:
  711. v8, icu, libxml2, libxslt, libjpeg, libpng, libevent, bzip2, zlib, nspr, nss
  712. * Thu Oct 1 2009 dbuck@example.com
  713. - included a newer DEP than is in svn, native_client@823
  714. - things should compile cleanly now
  715. * Mon Aug 31 2009 dbuck@example.com
  716. - initial build