Blame SPECS/libbluedevil.spec

0026d5
5ed677
%define stable stable
5ed677
0026d5
Name:           libbluedevil
5ed677
Version:        2.1
5ed677
Release:        1%{?dist}
0026d5
Summary:        A Qt wrapper for bluez
0026d5
0026d5
License:        LGPLv2+
0026d5
URL:            https://projects.kde.org/projects/playground/libs/libbluedevil 
0026d5
5ed677
%if 0%{?snap}
5ed677
# git archive --format=tar --remote=git://anongit.kde.org/libbluedevil bluez5  --prefix=libbluedevil-%{version}/ | xz ...
5ed677
Source0:        libbluedevil-%{version}-%{snap}.tar.xz
5ed677
%else
5ed677
Source0: http://download.kde.org/%{stable}/libbluedevil/%{version}%{?pre:-%{pre}}/src/libbluedevil-%{version}%{?pre:-%{pre}}.tar.xz
5ed677
%endif
0026d5
5ed677
## upstream patches
5ed677
Patch1: 0001-Adapter-Add-back-alias-and-setAlias-for-binary-compa.patch
5ed677
Patch2: 0002-Delete-adapter-only-after-all-devices-from-the-adapt.patch
5ed677
Patch3: 0003-Only-delete-adapter-when-removed-from-m_adapters-has.patch
5ed677
5ed677
ExcludeArch:    s390 s390x
0026d5
0026d5
BuildRequires:  automoc4
0026d5
BuildRequires:  cmake
5ed677
BuildRequires:  pkgconfig(QtCore) pkgconfig(QtDBus)
0026d5
5ed677
Requires:       bluez >= 5
0026d5
0026d5
%description
0026d5
%{name} is Qt-based library written handle all Bluetooth functionality.
0026d5
0026d5
%package        devel
0026d5
Summary:        Development files for %{name}
0026d5
Requires:       %{name}%{?_isa} = %{version}-%{release}
0026d5
0026d5
%description    devel
0026d5
Development files for %{name}.
0026d5
0026d5
0026d5
%prep
5ed677
%autosetup -n libbluedevil-%{version}%{?pre:-%{pre}} -p1
0026d5
0026d5
0026d5
%build
5ed677
mkdir %{_target_platform}
0026d5
pushd %{_target_platform}
0026d5
%{cmake} ..
0026d5
popd
0026d5
0026d5
make %{?_smp_mflags} -C %{_target_platform}
0026d5
0026d5
0026d5
%install
0026d5
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
0026d5
0026d5
0026d5
%post -p /sbin/ldconfig
0026d5
%postun -p /sbin/ldconfig
0026d5
0026d5
%files
5ed677
%{_libdir}/libbluedevil.so.2*
0026d5
0026d5
%files devel
0026d5
%doc HACKING
0026d5
%{_includedir}/bluedevil/
0026d5
%{_libdir}/libbluedevil.so
0026d5
%{_libdir}/pkgconfig/bluedevil.pc
0026d5
0026d5
0026d5
%changelog
5ed677
* Mon May 25 2015 Jan Grulich <jgrulich@redhat.com> - 2.1-1
5ed677
- Re-base to 2.1 (sync with F21)
5ed677
4e300b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.9.2-5
4e300b
- Mass rebuild 2013-12-27
4e300b
0026d5
* Wed Jun 19 2013 Rex Dieter <rdieter@fedoraproject.org> 1.9.2-4
0026d5
- ExcludeArch: s390 s390x (#975736)
0026d5
0026d5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.2-3
0026d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0026d5
0026d5
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.2-2
0026d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0026d5
0026d5
* Sun Apr 29 2012 Rex Dieter <rdieter@fedoraproject.org> 1.9.2-1
0026d5
- 1.9.2
0026d5
0026d5
* Fri Mar 30 2012 Rex Dieter <rdieter@fedoraproject.org> 1.9.1-1
0026d5
- 1.9.1
0026d5
0026d5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-0.2.20110502git
0026d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0026d5
0026d5
* Mon May 02 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.9-0.1
0026d5
- update to pre-release snapshot of 1.9
0026d5
0026d5
* Mon Mar 28 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.8.1-1
0026d5
- update to 1.8.1
0026d5
0026d5
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-4
0026d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0026d5
0026d5
* Tue Nov 30 2010 Jaroslav Reznik <jreznik@redhat.com> - 1.8-3
0026d5
- update to 1.8-1 (respin?)
0026d5
0026d5
* Wed Sep 29 2010 jkeating - 1.8-2
0026d5
- Rebuilt for gcc bug 634757
0026d5
0026d5
* Tue Sep 21 2010 Jaroslav Reznik <jreznik@redhat.com> - 1.8-1
0026d5
- update to 1.8
0026d5
0026d5
* Fri Aug 13 2010 Jaroslav Reznik <jreznik@redhat.com> - 1.7-1
0026d5
- initial package