File kio_beagle.spec of Package kio_beagle

#
# spec file for package kio_beagle (Version 0.4.0)
#
# Copyright (c) 2009 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:           kio_beagle
BuildRequires:  libbeagle-devel libkde4-devel
License:        GPL v2 or later
Url:            http://www.kde-apps.org/content/show.php?content=28437
Group:          Productivity/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        KIO Slave for Beagle
Version:        0.4.0
Release:        1
Source:         kio_beagle-%{version}.tar.bz2
Provides:       kde4-kio_beagle = 0.4.0
Obsoletes:      kde4-kio_beagle <= 0.4.0

%description
A KIO slave for Beagle that allows a user to use Beagle in Konqueror,
the open_file dialog box, or the Alt-F2 command line. This is an
initial version and supports basic querying.



Authors:
--------
    Debajyoti Bera <dbera.web@gmail.com>

%prep
%setup -n kio_beagle-%{version}

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  cd $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING
/usr/%_lib/kde4/kio_beagle.so
/usr/share/kde4/services/beagle.protocol
/usr/share/icons/hicolor/*/apps/kio_beagle.*
/usr/share/kde4/apps/kio_beagle

%changelog
openSUSE Build Service is sponsored by