Sisyphus repository
Last update: 21 october 2019 | SRPMs: 17508 | Visits: 15340972
en ru br
ALT Linux repos
S:2.1.1-alt1

Group :: Graphical desktop/KDE
RPM: bluedevil

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _kde_alternate_placement 1

Name: bluedevil
Version: 2.1.1
Release: alt1

Group: Graphical desktop/KDE
Summary: BlueDevil is the new bluetooth stack for KDE4
License: GPL
Url: http://www.kde.org

Provides: kde4-kbluetooth
Obsoletes: kde4-kbluetooth
Provides: kdebluetooth4
Obsoletes: kdebluetooth4
Provides: bluez-pin
Requires: bluez >= 5.0 obexd

# upstream/kdelibs branch

Source: %name-%version.tar
# SuSE
Patch1: typo2.diff

# Automatically added by buildreq on Thu Sep 02 2010 (-bi)

#BuildRequires: gcc-c++ glib2-devel glibc-devel-static kde4libs-devel libXScrnSaver-devel libXau-devel libXcomposite-devel libXdamage-devel libXdmcp-devel libXpm-devel libXt-devel libXtst-devel libXv-devel libXxf86misc-devel libXxf86vm-devel libbluedevil-devel libqt3-devel libxkbfile-devel qt4-designer rpm-build-ruby
BuildRequires: gcc-c++ glib2-devel glibc-devel kde4libs-devel libbluedevil-devel

%description
BlueDevil is the new bluetooth stack for KDE, it's composed of:
KCM, KDED, KIO, Library and some other small applications.

%package devel
Summary: Devel stuff for %name
Group: Development/KDE and QT
%description devel
This package contains header files needed if you wish to build applications
based on %name .


%prep
%setup -q
%patch1 -p1

mv altlinux/po ./
cat >> CMakeLists.txt <<__EOF__
find_package(Msgfmt REQUIRED)
find_package(Gettext REQUIRED)
add_subdirectory( po )
__EOF__

%build
%K4build

%install
%K4install

# rename service desktopfiles

find %buildroot/%_K4srv -type f -name \*.desktop | \
while read f
do
   fdir=`dirname "$f"`
   fname=`basename "$f"`
   newfname=`echo "$fname" | sed 's|-|_|g'`
   [ "$fname" == "$newfname" ] || mv "$fdir/$fname" "$fdir/$newfname"
done

%K4find_lang --with-kde %name

%files -f %name.lang
%_kde4_bindir/bluedevil-*
%_K4exec/bluedevil-*
#%_K4libdir/libbluedevilaction.so
#%_K4lib/bluedevil*plugin.so
%_K4lib/bluetoothfileitemaction.so
%_K4lib/kcm_bluedevil*.so
%_K4lib/kded_bluedevil.so
%_K4lib/kded_obexftpdaemon.so
%_K4lib/kio_bluetooth.so
%_K4lib/kio_obexftp.so
#%_K4dbus_services/org.kde.BlueDevil.Service.service
%_kde4_xdg_apps/bluedevil-*.desktop
%_K4apps/bluedevil
%_K4apps/bluedevilwizard
%_K4srv/bluedevil*.desktop
%_K4srv/kded/bluedevil.desktop
%_K4srv/kded/obexftpdaemon.desktop
%_K4srv/obexftp.protocol
%_K4srv/bluetooth.protocol
#%_K4srvtyp/actionplugin.desktop
%_K4xdg_mime/bluedevil-mime.xml


#%files devel

#%_K4includedir/bluedevil/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin