Blame SPECS/compat-gnome-bluetooth38.spec

c396c5
Name:		compat-gnome-bluetooth38
c396c5
Epoch:		1
c396c5
Version:	3.8.2.1
c396c5
Release:	2%{?dist}
c396c5
Summary:	Compat package with gnome-bluetooth 3.8 libraries
c396c5
c396c5
Group:		Applications/Communications
c396c5
License:	GPLv2+
c396c5
URL:		http://live.gnome.org/GnomeBluetooth
c396c5
Source0:	http://download.gnome.org/sources/gnome-bluetooth/3.8/gnome-bluetooth-%{version}.tar.xz
c396c5
Source1:	61-gnome-bluetooth-rfkill.rules
c396c5
c396c5
Patch0:		0001-lib-Fix-a-few-memory-leaks.patch
c396c5
Patch1:		0002-lib-Fix-cancellation-handling.patch
c396c5
Patch2:		0003-lib-Fix-extraneous-reference-that-could-lead-to-cras.patch
c396c5
c396c5
%if 0%{?rhel}
c396c5
ExcludeArch:	s390 s390x
c396c5
%endif
c396c5
c396c5
BuildRequires:	gtk3-devel >= 3.0
c396c5
BuildRequires:	dbus-glib-devel
c396c5
c396c5
BuildRequires:	intltool desktop-file-utils gettext gtk-doc
c396c5
BuildRequires:	itstool
c396c5
c396c5
BuildRequires:	gobject-introspection-devel
c396c5
c396c5
%description
c396c5
Compatibility package with gnome-bluetooth 3.8 librarires.
c396c5
c396c5
%package -n compat-libgnome-bluetooth11
c396c5
Summary:	Compat package with gnome-bluetooth 3.8 libraries
c396c5
Group:		System Environment/Libraries
c396c5
License:	LGPLv2+
c396c5
c396c5
%description -n compat-libgnome-bluetooth11
c396c5
Compatibility package with gnome-bluetooth 3.8 librarires.
c396c5
c396c5
%prep
c396c5
%setup -q -n gnome-bluetooth-%{version}
c396c5
%patch0 -p1
c396c5
%patch1 -p1
c396c5
%patch2 -p1
c396c5
c396c5
%build
c396c5
%configure --disable-desktop-update --disable-icon-update --disable-schemas-compile --disable-compile-warnings
c396c5
make %{?_smp_mflags}
c396c5
c396c5
%install
c396c5
make install DESTDIR=$RPM_BUILD_ROOT
c396c5
c396c5
rm -rf $RPM_BUILD_ROOT%{_bindir}
c396c5
rm -rf $RPM_BUILD_ROOT%{_includedir}
c396c5
rm -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/
c396c5
rm -rf $RPM_BUILD_ROOT%{_libdir}/gnome-bluetooth/
c396c5
rm -rf $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth.la
c396c5
rm -rf $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth.so
c396c5
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
c396c5
rm -rf $RPM_BUILD_ROOT%{_datadir}
c396c5
c396c5
%post -n compat-libgnome-bluetooth11 -p /sbin/ldconfig
c396c5
c396c5
%postun -n compat-libgnome-bluetooth11 -p /sbin/ldconfig
c396c5
c396c5
%files -n compat-libgnome-bluetooth11
c396c5
%doc COPYING.LIB
c396c5
%{_libdir}/libgnome-bluetooth.so.*
c396c5
c396c5
%changelog
c396c5
* Wed Apr 22 2015 Bastien Nocera <bnocera@redhat.com> 3.8.2.1-2
c396c5
- Update for RHEL
c396c5
Resolves: #1184211
c396c5
c396c5
* Fri Nov 07 2014 Kalev Lember <kalevlember@gmail.com> - 3.8.2.1-1
c396c5
- gnome-bluetooth compat package for el7-gnome-3-14 copr