Blame SPECS/bluedevil.spec

309b43
309b43
Name:           bluedevil
309b43
Summary:        Bluetooth stack for KDE
309b43
Version:        1.3
309b43
Release:        3%{?dist}
309b43
309b43
License:        GPLv2+
309b43
URL:            https://projects.kde.org/projects/extragear/base/bluedevil
309b43
Source0:        http://download.kde.org/%{?pre:un}stable/bluedevil/%{version}%{?pre:-%{pre}}/src/bluedevil-%{version}%{?pre:-%{pre}}.tar.bz2
309b43
# support (or not) same arch's that obexd does
309b43
ExcludeArch:    s390 s390x
309b43
309b43
## upstream patches
309b43
309b43
BuildRequires:  cmake
309b43
BuildRequires:  desktop-file-utils
309b43
BuildRequires:  gettext
309b43
BuildRequires:  kdelibs4-devel
309b43
BuildRequires:  libbluedevil-devel
309b43
309b43
Provides:       dbus-bluez-pin-helper
309b43
309b43
Obsoletes:      kbluetooth < 0.4.2-3
309b43
309b43
# not sure if just kdelibs is enough -- Rex
309b43
Requires:       kde-runtime%{?_kde4_version: >= %{_kde4_version}}
309b43
309b43
## Runtime requirements for file transfers, as per README:
309b43
Requires:       obex-data-server
309b43
# This package contains the obexd client only, which is all we want:
309b43
Requires:       obexd
309b43
# (The obexd server conflicts with obex-data-server and is disabled in Fedora.)
309b43
309b43
Requires:       pulseaudio-module-bluetooth
309b43
309b43
309b43
%description
309b43
BlueDevil is the bluetooth stack for KDE.
309b43
309b43
%package        devel
309b43
Summary:        Development files for %{name}
309b43
Requires:       %{name}%{?_isa} = %{version}-%{release}
309b43
%description    devel
309b43
%{summary}.
309b43
309b43
309b43
%prep
309b43
%setup -q -n %{name}-%{version}%{?pre:-%{pre}}
309b43
309b43
309b43
%build
309b43
mkdir -p %{_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
309b43
309b43
%check
309b43
# FIXME: .desktop files need some mime/Categories love to validate properly -- Rex
309b43
for desktop_file in %{buildroot}%{_kde4_datadir}/applications/kde4/*.desktop ; do
309b43
desktop-file-validate ${desktop_file} ||:
309b43
done
309b43
309b43
309b43
%postun
309b43
if [ $1 -eq 0 ] ; then
309b43
    update-desktop-database -q &> /dev/null
309b43
    update-mime-database %{_kde4_datadir}/mime &> /dev/null
309b43
fi
309b43
309b43
%posttrans
309b43
update-desktop-database -q &> /dev/null
309b43
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
309b43
%{_kde4_bindir}/bluedevil-audio
309b43
%{_kde4_bindir}/bluedevil-helper
309b43
%{_kde4_bindir}/bluedevil-input
309b43
%{_kde4_bindir}/bluedevil-monolithic
309b43
%{_kde4_bindir}/bluedevil-network-dun
309b43
%{_kde4_bindir}/bluedevil-network-panu
309b43
%{_kde4_bindir}/bluedevil-sendfile
309b43
%{_kde4_bindir}/bluedevil-wizard
309b43
%{_kde4_datadir}/applications/kde4/*.desktop
309b43
%{_datadir}/dbus-1/services/*.service
309b43
%{_kde4_datadir}/kde4/services/*
309b43
%{_kde4_datadir}/kde4/servicetypes/actionplugin.desktop
309b43
%{_kde4_datadir}/mime/packages/bluedevil-mime.xml
309b43
%{_kde4_libdir}/kde4/*
309b43
%{_kde4_libdir}/libbluedevilaction.so
309b43
%{_kde4_libexecdir}/bluedevil-authorize
309b43
%{_kde4_libexecdir}/bluedevil-confirmmodechange
309b43
%{_kde4_libexecdir}/bluedevil-requestconfirmation
309b43
%{_kde4_libexecdir}/bluedevil-requestpin
309b43
309b43
%files devel
309b43
%doc HACKING
309b43
%{_includedir}/actionplugin.h
309b43
309b43
309b43
%changelog
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