Blame SPECS/bluedevil.spec

03fe1d
03fe1d
Name:           bluedevil
03fe1d
Summary:        Bluetooth stack for KDE
03fe1d
Version:        2.1
03fe1d
Release:        1%{?dist}
03fe1d
03fe1d
License:        GPLv2+
03fe1d
URL:            https://projects.kde.org/projects/extragear/base/bluedevil
03fe1d
%if 0%{?snap:1}
03fe1d
Source0:        bluedevil-%{version}-%{git_short}.tar.xz
03fe1d
%else
03fe1d
Source0:        http://download.kde.org/%{?pre:un}stable/bluedevil/%{version}%{?pre:-%{pre}}/src/bluedevil-%{version}%{?pre:-%{pre}}.tar.xz
03fe1d
%endif
03fe1d
# support (or not) same arch's that obexd does
03fe1d
ExcludeArch:    s390 s390x
03fe1d
03fe1d
## upstream patches
03fe1d
Patch2: 0002-KCM-SystemCheck-Add-NoUsableAdapter-error.patch
03fe1d
Patch4: 0004-obexftpdaemon-session-method-now-takes-target-parame.patch
03fe1d
Patch5: 0005-kio_obexftp-Prefer-pcsuite-target-for-S60-devices.patch
03fe1d
Patch7: 0007-wizard-Add-Success-page.patch
03fe1d
Patch17: 0017-filereceiver-Fix-crash-when-sending-device-is-null.patch
03fe1d
Patch18: 0018-kio_obexftp-Fix-finished-called-twice-in-get.patch
03fe1d
Patch21: 0021-daemon-Don-t-try-to-infinitely-kill-monolithic-when-.patch
03fe1d
03fe1d
BuildRequires:  desktop-file-utils
03fe1d
BuildRequires:  gettext
03fe1d
BuildRequires:  kdelibs4-devel
03fe1d
BuildRequires:  libbluedevil-devel >= %{version}
03fe1d
03fe1d
Provides:       dbus-bluez-pin-helper
03fe1d
03fe1d
Obsoletes:      kbluetooth < 0.4.2-3
03fe1d
Obsoletes:      bluedevil-devel < 2.0.0-0.10
03fe1d
03fe1d
Requires:       kde-runtime
03fe1d
Requires:       libbluedevil%{?_isa} >= %{version}
03fe1d
Requires:       pulseaudio-module-bluetooth
03fe1d
03fe1d
03fe1d
%description
03fe1d
BlueDevil is the bluetooth stack for KDE.
03fe1d
03fe1d
%package autostart
03fe1d
Summary: Autostart support for non-KDE desktops
03fe1d
Requires: %{name} = %{version}-%{release}
03fe1d
%description autostart
03fe1d
%{summary}.
03fe1d
03fe1d
03fe1d
%prep
03fe1d
%autosetup -n %{name}-%{version}%{?pre:-%{pre}} -p1
03fe1d
03fe1d
03fe1d
%build
03fe1d
mkdir %{_target_platform}
03fe1d
pushd %{_target_platform}
03fe1d
%{cmake_kde4} ..
03fe1d
popd
03fe1d
03fe1d
make %{?_smp_mflags} -C %{_target_platform}
03fe1d
03fe1d
03fe1d
%install
03fe1d
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
03fe1d
03fe1d
%find_lang %{name} --with-kde
03fe1d
03fe1d
desktop-file-install \
03fe1d
  --dir=%{buildroot}%{_sysconfdir}/xdg/autostart/ \
03fe1d
  --add-not-show-in=KDE \
03fe1d
  %{buildroot}%{_kde4_datadir}/applications/kde4/bluedevil-monolithic.desktop
03fe1d
03fe1d
03fe1d
%check
03fe1d
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/bluedevil-monolithic.desktop
03fe1d
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/bluedevil-sendfile.desktop
03fe1d
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/bluedevil-wizard.desktop
03fe1d
03fe1d
%post
03fe1d
touch --no-create %{_kde4_datadir}/mime/packages &> /dev/null || :
03fe1d
03fe1d
%postun
03fe1d
if [ $1 -eq 0 ] ; then
03fe1d
    update-desktop-database -q &> /dev/null
03fe1d
    touch --no-create %{_kde4_datadir}/mime/packages &> /dev/null || :
03fe1d
    update-mime-database %{?fedora:-n} %{_kde4_datadir}/mime &> /dev/null || :
03fe1d
fi
03fe1d
03fe1d
%posttrans
03fe1d
update-desktop-database -q &> /dev/null
03fe1d
update-mime-database %{_kde4_datadir}/mime &> /dev/null || :
03fe1d
03fe1d
%files -f %{name}.lang
03fe1d
%doc README
03fe1d
%{_kde4_appsdir}/bluedevil/
03fe1d
%{_kde4_appsdir}/bluedevilwizard/
03fe1d
03fe1d
03fe1d
%{_kde4_bindir}/bluedevil-monolithic
03fe1d
%{_kde4_bindir}/bluedevil-sendfile
03fe1d
%{_kde4_bindir}/bluedevil-wizard
03fe1d
%{_kde4_datadir}/applications/kde4/bluedevil-monolithic.desktop
03fe1d
%{_kde4_datadir}/applications/kde4/bluedevil-sendfile.desktop
03fe1d
%{_kde4_datadir}/applications/kde4/bluedevil-wizard.desktop
03fe1d
%{_kde4_datadir}/kde4/services/bluedevil*.desktop
03fe1d
%{_kde4_datadir}/kde4/services/*.protocol
03fe1d
%{_kde4_datadir}/kde4/services/kded/*.desktop
03fe1d
%{_kde4_datadir}/mime/packages/bluedevil-mime.xml
03fe1d
%{_kde4_libdir}/kde4/*.so
03fe1d
%{_kde4_libexecdir}/bluedevil-authorize
03fe1d
%{_kde4_libexecdir}/bluedevil-confirmmodechange
03fe1d
%{_kde4_libexecdir}/bluedevil-requestconfirmation
03fe1d
%{_kde4_libexecdir}/bluedevil-requestpin
03fe1d
03fe1d
%files autostart
03fe1d
%{_sysconfdir}/xdg/autostart/bluedevil-monolithic.desktop
03fe1d
03fe1d
03fe1d
%changelog
03fe1d
* Mon May 25 2015 Jan Grulich <jgrulich@redhat.com> 2-1-1
03fe1d
- Re-base to 2.1 (sync with F21)
03fe1d
03fe1d
* Fri May 08 2015 Ray Strode <rstrode@redhat.com> 1.3-5
03fe1d
- Rebuild against bluez5.  This won't work, but will
03fe1d
  at least prevent broken dependencies
03fe1d
  Related: #1174545 1219504
03fe1d
03fe1d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.3-4
03fe1d
- Mass rebuild 2013-12-27
03fe1d
03fe1d
* Wed Jun 19 2013 Rex Dieter <rdieter@fedoraproject.org> 1.3-3
03fe1d
- ExcludeArch: s390 s390x (#975736)
03fe1d
03fe1d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
03fe1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
03fe1d
03fe1d
* Mon Dec 31 2012 Rex Dieter <rdieter@fedoraproject.org> 1.3-1
03fe1d
- 1.3
03fe1d
03fe1d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-0.6.rc2
03fe1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
03fe1d
03fe1d
* Mon Apr 30 2012 Rex Dieter <rdieter@fedoraproject.org> 1.3-0.5.rc2
03fe1d
- include translations (copied from -rc1)
03fe1d
03fe1d
* Sun Apr 29 2012 Rex Dieter <rdieter@fedoraproject.org> 1.3-0.4.rc2
03fe1d
- update to 1.3-rc2
03fe1d
03fe1d
* Wed Apr 25 2012 Rex Dieter <rdieter@fedoraproject.org> 1.3-0.3.rc1
03fe1d
- kde daemon crash (kde#284052)
03fe1d
03fe1d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-0.2.rc1
03fe1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
03fe1d
03fe1d
* Thu Nov 03 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.3-0.1.rc1
03fe1d
- update to 1.3-rc1
03fe1d
03fe1d
* Mon Oct 10 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.2.2-1
03fe1d
- update to 1.2.2
03fe1d
03fe1d
* Tue Sep 13 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.2-1
03fe1d
- update to 1.2 final
03fe1d
03fe1d
* Mon Sep 05 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.2-0.2.rc2
03fe1d
- update to 1.2-rc2
03fe1d
03fe1d
* Fri Aug 19 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.2-0.1.rc1
03fe1d
- update to 1.2-rc1
03fe1d
03fe1d
* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.1.1-1
03fe1d
- update to 1.1.1
03fe1d
03fe1d
* Mon May 02 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.1-2
03fe1d
- rebuilt for libbluedevil 1.9 snapshot
03fe1d
03fe1d
* Fri Apr 15 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.1-1
03fe1d
- update to 1.1
03fe1d
- add pulseaudio-module-bluetooth req
03fe1d
03fe1d
* Mon Mar 28 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.0.3-1
03fe1d
- update to 1.0.3
03fe1d
03fe1d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
03fe1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
03fe1d
03fe1d
* Wed Feb 02 2011 Kevin Kofler <Kevin@tigcc.ticalc.org> 1.0.2-2
03fe1d
- Requires: obex-data-server obexd (for file transfers)
03fe1d
03fe1d
* Wed Feb 02 2011 Lukas Tinkl <ltinkl@redhat.com> - 1.0.2-1
03fe1d
- 1.0.2 upstream version, fixes mainly for device pairing and obex crashes
03fe1d
03fe1d
* Tue Feb 01 2011 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-3
03fe1d
- Requires: kdebase-runtime
03fe1d
- add scriptlets
03fe1d
03fe1d
* Sat Jan 29 2011 Kevin Kofler <Kevin@tigcc.ticalc.org> 1.0.1-2
03fe1d
- Provides: dbus-bluez-pin-helper (keeps blueman and hal off the KDE spin)
03fe1d
- fix kbluetooth Obsoletes to match 0.4.2-2.fc* properly
03fe1d
03fe1d
* Fri Jan 14 2011 Jaroslav Reznik <jreznik@redhat.com> 1.0.1-1
03fe1d
- update to 1.0.1
03fe1d
03fe1d
* Tue Nov 30 2010 Jaroslav Reznik <jreznik@redhat.com> 1.0-1
03fe1d
- update to 1.0 final
03fe1d
03fe1d
* Mon Sep 27 2010 Jaroslav Reznik <jreznik@redhat.com> 1.0-0.1.rc4.1
03fe1d
- update to rc4-1
03fe1d
03fe1d
* Thu Aug 19 2010 Jaroslav Reznik <jreznik@redhat.com> 1.0-0.1.rc3
03fe1d
- update to rc3
03fe1d
03fe1d
* Fri Aug 13 2010 Jaroslav Reznik <jreznik@redhat.com> 1.0-0.1.rc2
03fe1d
- initial package