Name: kpartsplugin Version: 20120723 Release: 2mamba Summary: A plugin for Netscape-compatible browsers in Unix environments Group: Graphical Desktop/Applications/Internet Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/ Source: http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/kpartsplugin-%{version}.tar.bz2 Source1: kpartsplugin-mimetypes.rc Patch0: kpartsplugin-20120723-cascade-config.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: kdelibs-devel BuildRequires: libgcc BuildRequires: libqt4-devel BuildRequires: libsoprano-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This software implements a plugin for Netscape-compatible browsers in Unix environments. This plugin uses KDE's KParts technology to embed file viewers (e.g. for PDF files) into non-KDE browsers. Tested browsers include both Mozilla Firefox and Opera, and is know to work with Chrome and Arora. With this plugin, you can e.g. view PDF files in Firefox using Okular as an embedded plugin. %debug_package %prep %setup -q %patch0 -p1 %build %cmake_kde4 -d build \ -DNSPLUGIN_INSTALL_DIR=%{_libdir}/mozilla/plugins/ %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build install -m0644 -D %{SOURCE1} %{buildroot}%{_kde4_configdir}/kpartsplugin-mimetypes.rc %find_lang %{name} || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_kde4_configdir}/kpartsplugin-mimetypes.rc %{_kde4_libdir}/kde4/kcm_kpartsplugin.so %{_kde4_servicesdir}/kcm_kpartsplugin.desktop %{_libdir}/mozilla/plugins/libkpartsplugin.so #%doc ChangeLog README.txt %changelog * Thu Oct 10 2013 Silvan Calarco 20120723-2mamba - patch to support cascade (+system) configuration loading - added system default config blacklisting sgv and javascript * Mon Mar 25 2013 Silvan Calarco 20120723-1mamba - package created by silvan using the webbuild interface