Blame SPECS/bluedevil.spec

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