Blame SPECS/bluedevil.spec

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