Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
midori.477
midori.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File midori.spec of Package midori.477
# # spec file for package midori # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: midori Version: 0.3.0 Release: 7.<RELEASE3> License: LGPLv2.1 Source: http://archive.xfce.org/src/apps/%{name}/0.3/%{name}-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE midori-fix-certificate-file-path.patch bnc#758431 gber@opensuse.org -- Adds the path to the openSUSE CA certificate bundle Patch0: midori-fix-certificate-file-path.patch # PATCH-FIX-OPENSUSE midori-handle-missing-certificate-file.patch bnc#758431 gber@opensuse.org -- Do not reject invalid certificates on the libsoup level when the CA certificate bundle is missing Patch1: midori-handle-missing-certificate-file.patch Group: Productivity/Networking/Web/Browsers Summary: Lightweight Webkit-based Web Browser Url: http://twotoasts.de/index.php?/pages/midori_summary.html BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig(unique-1.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(webkit-1.0) BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(libidn) BuildRequires: gtk-doc BuildRequires: docutils BuildRequires: intltool BuildRequires: python BuildRequires: update-desktop-files # for rsvg-convert utility BuildRequires: rsvg-view %if 0%{?suse_version} >= 1140 # for valac BuildRequires: vala %endif Recommends: %{name}-lang = %{version} Recommends: ca-certificates Recommends: xdg-utils %description Midori is a lightweight web browser based on WebKit and GTK+. Its major features are: * Tabs, windows and session management. * Flexibly configurable Web Search. * User scripts and user styles support. * Straightforward bookmark management. * Customizable and extensible interface. * Extensions written in C and Vala. %package devel License: LGPLv2.1 Summary: Development Files for Midori Group: Development/Libraries/C and C++ Recommends: vala %description devel This package contains development files needed to develop extensions for Midori. %lang_package %prep %setup -q %patch0 -p1 %patch1 -p1 %build export CFLAGS="%{optflags}" # --debug-level=debug is the default an partially overrides CFLAGS # by specifiying --docdir the HTML help is installed into the right location ./waf configure \ --nocache \ --enable-apidocs \ --debug-level=none \ %if 0%{?suse_version} < 1140 --disable-vala \ %endif --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ --localstatedir=%{_localstatedir} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --docdir=%{_defaultdocdir}/%{name} ./waf build -v --nocache %{?_smp_mflags} %install ./waf install --nocache --destdir=%{buildroot} install -D -p -m 644 HACKING TODO TRANSLATE \ %{buildroot}%{_defaultdocdir}/%{name} # API doc needs to be installed manually install -d -m 755 %{buildroot}%{_datadir}/gtk-doc/html/%{name} install -D -p -m 644 _build_/docs/api/midori/html/* \ %{buildroot}%{_datadir}/gtk-doc/html/%{name} %suse_update_desktop_file -i %{name} # fix lang: no -> nb mv %{buildroot}%{_datadir}/locale/{no,nb} rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK} %find_lang %{name} %clean rm -rf %{buildroot} %if 0%{?suse_version} >= 1140 %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %endif %files %defattr(-,root,root) %doc %{_defaultdocdir}/%{name} %{_bindir}/%{name} %dir %{_libdir}/midori %{_libdir}/midori/*.so %dir %{_sysconfdir}/xdg/midori %dir %{_sysconfdir}/xdg/midori/extensions %dir %{_sysconfdir}/xdg/midori/extensions/libadblock.so %config(noreplace) %{_sysconfdir}/xdg/midori/search %config(noreplace) %{_sysconfdir}/xdg/midori/extensions/libadblock.so/config %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/status/news-feed.* %{_datadir}/icons/hicolor/*/categories/extension.* %{_datadir}/icons/hicolor/*/apps/%{name}.* %files devel %defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/%{name} %if 0%{?suse_version} >= 1140 %{_includedir}/midori-0.3 %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/history-list.* %endif %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor