]> git.pld-linux.org Git - packages/kde4-bluedevil.git/blobdiff - kde4-bluedevil.spec
- Up to 1.1.1.
[packages/kde4-bluedevil.git] / kde4-bluedevil.spec
index ad259f475cf0d26cf6fdced6cd2dd103195949da..770b16ab8b13e23032930c7f0f6a77ad6bee4145 100644 (file)
@@ -1,26 +1,30 @@
 
-%define                kde4ver 4.5
+%define                kde4ver 4.6.0
+%define                qtver   4.7.1
 %define                orgname bluedevil
 
 Summary:       KDE Bluetooth framework
 Summary(pl.UTF-8):     Podstawowe środowisko KDE Bluetooth
 Name:          kde4-bluedevil
-Version:       1.0
+Version:       1.1.1
 Release:       1
 License:       GPL
 Group:         X11/Applications
-Source0:       http://media.ereslibre.es/2010/11/bluedevil-v%{version}.tar.bz2
-# Source0-md5: b20d9c234adfe3c498f5577a88cd2f03
+Source0:       ftp://ftp.kde.org/pub/kde/stable/bluedevil/%{version}/src/%{orgname}-%{version}.tar.bz2
+# Source0-md5: b3764fb8ead502e2d410b0c0fc86ac6c
 URL:           http://www.afiestas.org/
 BuildRequires: automoc4 >= 0.9.88
 BuildRequires: cmake >= 2.8.0
+BuildRequires: gettext-devel
 BuildRequires: kde4-kdelibs-devel >= %{kde4ver}
-BuildRequires: libbluedevil-devel >= 1.8
+BuildRequires: libbluedevil-devel >= 1.8.1
 BuildRequires: qt4-build >= %{qtver}
 BuildRequires: qt4-qmake >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.600
 BuildRequires: shared-mime-info
 Requires:      bluez
 Requires:      obex-data-server
+Obsoletes:     kde4-kdebluetooth
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,18 +34,12 @@ allowing to browse the files in a cell phone from you favorite file
 browser.
 
 %prep
-%setup -q -n %{orgname}-v%{version}
+%setup -q -n %{orgname}-%{version}
 
 %build
 install -d build
 cd build
 %cmake \
-       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-       -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
-       -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-%if "%{_lib}" == "lib64"
-       -DLIB_SUFFIX=64 \
-%endif
        ../
 
 %{__make}
@@ -53,25 +51,28 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        kde_htmldir=%{_kdedocdir}
 
+%find_lang %{orgname}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%files
+%files -f %{orgname}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/bluedevil-audio
-%attr(755,root,root) %{_bindir}/bluedevil-authorize
-%attr(755,root,root) %{_bindir}/bluedevil-confirmmodechange
+%attr(755,root,root) %{_libdir}/kde4/libexec/bluedevil-authorize
+%attr(755,root,root) %{_libdir}/kde4/libexec/bluedevil-confirmmodechange
 %attr(755,root,root) %{_bindir}/bluedevil-helper
 %attr(755,root,root) %{_bindir}/bluedevil-input
 %attr(755,root,root) %{_bindir}/bluedevil-monolithic
-%attr(755,root,root) %{_bindir}/bluedevil-requestconfirmation
-%attr(755,root,root) %{_bindir}/bluedevil-requestpin
+%attr(755,root,root) %{_libdir}/kde4/libexec/bluedevil-requestconfirmation
+%attr(755,root,root) %{_libdir}/kde4/libexec/bluedevil-requestpin
 %attr(755,root,root) %{_bindir}/bluedevil-sendfile
 %attr(755,root,root) %{_bindir}/bluedevil-wizard
 %{_datadir}/apps/bluedevil
+%{_datadir}/apps/bluedevilwizard
 %{_datadir}/mime/packages/bluedevil-mime.xml
 %{_datadir}/kde4/servicetypes/actionplugin.desktop
 %{_datadir}/kde4/services/bluedevil-input.desktop
@@ -84,6 +85,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/kde4/services/obexftp.protocol
 %{_datadir}/kde4/services/kded/bluedevil.desktop
 %{_datadir}/kde4/services/kded/obexftpdaemon.desktop
+%{_datadir}/kde4/services/bluedevilsendfile.desktop
 %{_desktopdir}/kde4/bluedevil-audio.desktop
 %{_desktopdir}/kde4/bluedevil-input.desktop
 %{_desktopdir}/kde4/bluedevil-monolithic.desktop
@@ -101,3 +103,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/kde4/kded_obexftpdaemon.so
 %attr(755,root,root) %{_libdir}/kde4/kio_bluetooth.so
 %attr(755,root,root) %{_libdir}/kde4/kio_obexftp.so
+%attr(755,root,root) %{_libdir}/kde4/bluetoothfiletiemaction.so
This page took 0.063247 seconds and 4 git commands to generate.