LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kde3-kio_beagle.spec of Package kde3-kio_beagle (Project KDE:KDE3)

#
# spec file for package kde3-kio_beagle (Version 0.3.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           kde3-kio_beagle
BuildRequires:  kdelibs3-devel libbeagle-devel
Url:            http://www.kde-apps.org/content/show.php?content=28437
License:        GPL v2 or later
Group:          Productivity/Other
Summary:        KIO Slave for Beagle
Requires:       kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`)
Version:        0.3.1
Release:        156
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        kio-beagle-%{version}.tar.bz2
Source1:        icons.tar.bz2
%if %suse_version >1030
Requires:       beagle >= 0.3.0
Requires:       libbeagle1 >= 0.3.0
%else
Requires:       beagle >= 0.2.4
Requires:       libbeagle >= 0.2.4
%endif
Patch:          query-beagled-status.diff
Patch1:         beagle-0.3.diff
Provides:       kio_beagle = 0.3.1
Obsoletes:      kio_beagle <= 0.3.1

%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 -q -n kio-beagle-%{version}
%patch
%if %suse_version >1030
%patch1
%endif
. /etc/opt/kde3/common_options

%build
. /etc/opt/kde3/common_options
%if %suse_version > 1120
update_admin
export CXXFLAGS="$(pkg-config --cflags libbeagle-1.0) $RPM_OPT_FLAGS"
%endif
./configure $configkde \
%ifarch x86_64 ppc64 s390x mips64 sparc64
--enable-libsuffix=64 \
%endif
--with-qt-libraries=/usr/lib/qt3/%_lib
make

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
cd $RPM_BUILD_ROOT
tar xf %SOURCE1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/opt/kde3/%_lib/kde3/kio_*.*
/opt/kde3/share/services/*.protocol
/opt/kde3/share/icons/*/*/*/kio_beagle.*

%changelog
* Mon Jan 28 2008 stbinner@suse.de
- fix build against libbeagle 0.3
* Fri Nov 24 2006 stbinner@suse.de
- add direct "Requires: Beagle" as libbeagle does not require it
* Thu Aug 24 2006 stbinner@suse.de
- add protocol icon for usage from kdelibs3 & kdeaddons3-konqueror
* Tue Jul 11 2006 stbinner@suse.de
- add beagled status query via beagle:?beagled-status
* Wed Jun 21 2006 stbinner@suse.de
- Update to version 0.3.1
  * Added some more i18n() strings to allow translations.
  * Dont hardcode beagle-include path.
  * Updated kio-slave to work with current beagle API.
  * Added proper handling of emails, applications, feeds,
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 stbinner@suse.de
- make compile with latest libbeagle API
- add UDS_LOCAL_PATH atom to entries
* Thu Sep 01 2005 stbinner@suse.de
- Initial package of version 0.2