File kde4-konqueror-plugins.spec of Package kde4-konqueror-plugins

#
# spec file for package kde4-konqueror-plugins (Version 4.1.3)
#
# Copyright (c) 2008 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/
#

# norootforbuild


Name:           kde4-konqueror-plugins
BuildRequires:  kdebase4-workspace-devel libQtWebKit-devel libkonq-devel
License:        GPL v2 or later
Group:          Productivity/Networking/Web/Browsers
Summary:        Konqueror Related Addons
Version:        4.1.3
Release:        2
Source0:        konq-plugins-%version.tar.bz2
Patch:          google-suggest.diff
Patch1:         fix-build.diff
Patch2:         webarchiver-4.1.2.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%if %suse_version > 1030
Requires:       %name-lang = %version
%endif
Provides:       kdeaddons3-konqueror = 3.5.1
Obsoletes:      kdeaddons3-konqueror <= 3.5.1

%description
This package contains web-related and file-related Konqueror plugins.



Authors:
--------
    The KDE Team <kde@kde.org>

%if %suse_version > 1030
%lang_package
%endif

%prep
%setup -q -n konq-plugins-%version
# needs rediff
#%patch
%patch1
%patch2 -p1

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  cd ..
  for l in adblock akregator_konqplugin autorefresh babelfish crashesplugin desktop_extragear-base_konq-plugins dirfilterplugin domtreeviewer fsview imgalleryplugin khtmlsettingsplugin konqsidebar_mediaplayer konqsidebar_metabar mf_konqplugin minitoolsplugin rellinks searchbarplugin uachangerplugin validatorsplugin webarchiver; do
    %find_lang $l suse.lang
  done
  %kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT
%if %suse_version > 1030

%files lang -f suse.lang
%defattr(-,root,root)

%files
%else

%files -f suse.lang
%endif
%defattr(-,root,root)
%_kde4_modules/akregatorkonqfeedicon.so
%_kde4_modules/autorefresh.so
%_kde4_modules/libadblock.so
%_kde4_modules/libbabelfishplugin.so
%_kde4_modules/libcrashesplugin.so
%_kde4_modules/libdirfilterplugin.so
%_kde4_modules/libdomtreeviewerplugin.so
%_kde4_modules/libfsviewpart.so
%_kde4_modules/libkhtmlsettingsplugin.so
%_kde4_modules/libkimgallery.so
%_kde4_modules/librellinksplugin.so
%_kde4_modules/libuachangerplugin.so
%_kde4_modules/libwebarchiverplugin.so
%_kde4_modules/mfkonqmficon.so
%_kde4_modules/minitoolsplugin.so
%_kde4_modules/searchbarplugin.so
%_kde4_modules/validatorsplugin.so
%_kde4_modules/webarchivethumbnail.so
%_kde_config_dir/translaterc
%_kde_share_dir/apps/akregator
%_kde_share_dir/apps/dolphinpart
%_kde_share_dir/apps/domtreeviewer
%_kde_share_dir/apps/fsview
%_kde_share_dir/apps/imagerotation
%_kde_share_dir/apps/khtml
%_kde_share_dir/apps/konqueror
%_kde_share_dir/apps/microformat
%_kde_share_dir/apps/webkitpart
%_kde_share_dir/services/fsview_part.desktop
%_kde_share_dir/services/ServiceMenus/imageconverter.desktop
%_kde_share_dir/services/ServiceMenus/jpegorient.desktop
%_kde_share_dir/services/webarchivethumbnail.desktop
/usr/bin/fsview
/usr/share/icons/hicolor/*/apps/fsview.*
/usr/share/icons/oxygen/*/actions/babelfish.*
/usr/share/icons/oxygen/*/actions/cssvalidator.*
/usr/share/icons/oxygen/*/actions/htmlvalidator.*
/usr/share/icons/oxygen/*/actions/imagegallery.*
/usr/share/icons/oxygen/*/actions/validators.*
/usr/share/icons/oxygen/*/actions/webarchiver.*
%doc %lang(en) /usr/share/doc/kde/HTML/en/konq-plugins

%changelog
* Sun Nov 23 2008 stbinner@suse.de
- revert webarchiver plugin back to 4.1.2 to make it build again
* Thu Nov 20 2008 stbinner@suse.de
- add SLE provides/obsoletes
* Wed Nov 05 2008 stbinner@suse.de
- update to Extragar 4.1.3 tarball
* Mon Oct 13 2008 stbinner@suse.de
- fix build
* Sun Sep 28 2008 stbinner@suse.de
- update to Extragear 4.1.2 tarball
* Sat Sep 20 2008 stbinner@suse.de
- update to Extragear 4.1.1 tarball (includes translations)
* Sat Aug 23 2008 stbinner@suse.de
- update from SVN to install all files from Akregator plugin
* Sun Jul 27 2008 stbinner@suse.de
- update from SVN
* Mon Jul 07 2008 dmueller@suse.de
- adjust buildrequires
* Tue Jun 24 2008 dmueller@suse.de
- update to KDE 4.1 version
* Mon Apr 14 2008 stbinner@suse.de
- add initial port of Google suggest patch
* Wed Apr 09 2008 dmueller@suse.de
- fix file lists
* Mon Feb 18 2008 dmueller@suse.de
- update licenses (#356988)
* Mon Jan 28 2008 stbinner@suse.de
- initial package in abuild
openSUSE Build Service is sponsored by