e2cf395
%define tp_glib_ver 0.17.5
744601a
949bff7
Name:           telepathy-mission-control
Debarshi Ray fef7375
Version:        5.16.2
a4d7107
Release:        2%{?dist}
7088eae
Epoch:          1
949bff7
Summary:        Central control for Telepathy connection manager
949bff7
949bff7
Group:          System Environment/Libraries
897f3ac
License:        LGPLv2
01519b6
URL:            http://telepathy.freedesktop.org/wiki/Mission_Control
01519b6
Source0:        http://telepathy.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
949bff7
Rex Dieter 1b3d1aa
## upstream patches
Rex Dieter 1b3d1aa
# fix failing avatar test, https://bugs.freedesktop.org/show_bug.cgi?id=71001
Rex Dieter 1b3d1aa
Patch0049: 0049-account-manager-avatar.py-fix-race-condition-by-comb.patch
Debarshi Ray 8291b22
160832b
BuildRequires:  chrpath
Debarshi Ray 11f5bcb
BuildRequires:  dbus-python
ba22f88
BuildRequires:  glib2-devel
3f2d8cb
BuildRequires:  libxslt-devel
8e4ed24
BuildRequires:  NetworkManager-glib-devel
Debarshi Ray 6ec738b
BuildRequires:  pygobject2
Debarshi Ray 192a7f0
BuildRequires:  python-twisted-core
3f2d8cb
BuildRequires:  telepathy-glib-devel >= %{tp_glib_ver}
Jesse Keating 7b12327
BuildRequires:  gtk-doc
7088eae
949bff7
949bff7
%description
949bff7
Mission Control, or MC, is a Telepathy component providing a way for
949bff7
"end-user" applications to abstract some of the details of connection
949bff7
managers, to provide a simple way to manipulate a bunch of connection
949bff7
managers at once, and to remove the need to have in each program the
949bff7
account definitions and credentials.
949bff7
949bff7
949bff7
%package        devel
949bff7
Summary:        Development files for %{name}
949bff7
Group:          Development/Libraries
fd8bc83
Requires:       %{name} = %{epoch}:%{version}-%{release}
01519b6
Requires:       dbus-devel
01519b6
Requires:       dbus-glib-devel
744601a
Requires:       telepathy-glib-devel >= %{tp_glib_ver}
949bff7
7088eae
949bff7
%description    devel
949bff7
The %{name}-devel package contains libraries and header
949bff7
files for developing applications that use %{name}.
949bff7
949bff7
949bff7
%prep
949bff7
%setup -q
Rex Dieter 1b3d1aa
%patch0049 -p1 -b .0049
e8d7e72
01519b6
949bff7
%build
Rex Dieter 2e37cc2
%configure --disable-static --enable-gtk-doc --enable-mcd-plugins --with-connectivity=nm --disable-upower
e698093
Debarshi Ray 58b97df
# Omit unused direct shared library dependencies.
Debarshi Ray 58b97df
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
Debarshi Ray 58b97df
949bff7
make %{?_smp_mflags}
949bff7
949bff7
949bff7
%install
cf99cdb
make install DESTDIR=%{buildroot}
160832b
160832b
# Remove lib64 rpaths
160832b
chrpath --delete %{buildroot}%{_libexecdir}/mission-control-5
160832b
160832b
# Remove .la files
cf99cdb
find %{buildroot} -name '*.la' -exec rm -f {} ';'
949bff7
7088eae
Debarshi Ray 192a7f0
%check
Debarshi Ray 192a7f0
make check
Debarshi Ray 192a7f0
Debarshi Ray 192a7f0
cf99cdb
%post -p /sbin/ldconfig
949bff7
6a0bd15
43ba75d
%postun
43ba75d
/sbin/ldconfig
43ba75d
if [ $1 -eq 0 ] ; then
43ba75d
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
43ba75d
fi
43ba75d
43ba75d
%posttrans
43ba75d
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
949bff7
6a0bd15
949bff7
%files
ba22f88
%doc AUTHORS NEWS COPYING
949bff7
%{_bindir}/*
949bff7
%{_datadir}/dbus-1/services/*.service
43ba75d
%{_datadir}/glib-2.0/schemas/im.telepathy.MissionControl.FromEmpathy.gschema.xml
e8d7e72
%{_libdir}/libmission-control-plugins.so.*
01519b6
%{_libexecdir}/mission-control-5
01519b6
%{_mandir}/man*/*.gz
949bff7
7088eae
949bff7
%files devel
6a0bd15
%doc %{_datadir}/gtk-doc/html/mission-control-plugins
949bff7
%{_includedir}/*
949bff7
%{_libdir}/pkgconfig/*.pc
cf99cdb
%{_libdir}/libmission-control-plugins.so
949bff7
949bff7
949bff7
%changelog
a4d7107
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.16.2-2
a4d7107
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a4d7107
Debarshi Ray fef7375
* Wed Jun 11 2014 Debarshi Ray <rishi@fedoraproject.org> - 1:5.16.2-1
Debarshi Ray fef7375
- Update to 5.16.2
Debarshi Ray fef7375
9b01ac9
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.16.1-2
9b01ac9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9b01ac9
bdf0f8e
* Mon Jan 27 2014 Brian Pepple <bpepple@fedoraproject.org> - 1:5.16.1-1
bdf0f8e
- Update to 5.16.1.
bdf0f8e
Rex Dieter b233902
* Wed Oct 30 2013 Rex Dieter <rdieter@fedoraproject.org> - 1:5.16.0-2
Rex Dieter 2e37cc2
- --disable-upower
Rex Dieter b233902
d99b500
* Thu Oct  3 2013 Brian Pepple <bpepple@fedoraproject.org> - 1:5.16.0-1
d99b500
- Update to 5.16.0.
d99b500
Debarshi Ray 7fa03e0
* Thu Sep 19 2013 Debarshi Ray <rishi@fedoraproject.org> - 1:5.15.1-1
Debarshi Ray 7fa03e0
- Update to 5.15.1
Debarshi Ray 7fa03e0
Debarshi Ray 11f5bcb
* Thu Sep 19 2013 Debarshi Ray <rishi@fedoraproject.org> - 1:5.15.0-4
Debarshi Ray 6ec738b
- Enable the Python tests
Debarshi Ray 11f5bcb
Debarshi Ray 192a7f0
* Thu Sep 19 2013 Debarshi Ray <rishi@fedoraproject.org> - 1:5.15.0-3
Debarshi Ray 192a7f0
- Add %%check to run the upstream test suite on each build
Debarshi Ray 192a7f0
160832b
* Mon Aug 26 2013 Kalev Lember <kalevlember@gmail.com> - 1:5.15.0-2
160832b
- Fix the build
160832b
577bf01
* Sun Aug  4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1:5.15.0-1
577bf01
- Update to 5.15.0
577bf01
8f0a5af
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.14.1-4
8f0a5af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8f0a5af
Debarshi Ray 58b97df
* Wed Jul 17 2013 Debarshi Ray <rishi@fedoraproject.org> - 1:5.14.1-3
Debarshi Ray 58b97df
- Remove rpath and omit some unused direct shared library dependencies.
Debarshi Ray 58b97df
Debarshi Ray 4d1f0ee
* Thu Jun 20 2013 Matthias Clasen <mclasen@redhat.com> - 1:5.14.1-2
ba22f88
- Install NEWS instead of ChangeLog
ba22f88
6a0bd15
* Fri May  3 2013 Brian Pepple <bpepple@fedoraproject.org> - 1:5.14.1-1
6a0bd15
- Update to 5.14.1.
6a0bd15
- Drop defattr. No longer needed.
6a0bd15
- Drop ignore gnome keyring patch. Fixed upstream.
6a0bd15
a69a97a
* Thu Jan 24 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1:5.14.0-2
a69a97a
- Add patch for upstream b.fd.o # 59468
a69a97a
6cf3c8c
* Wed Oct  3 2012 Brian Pepple <bpepple@fedoraproject.org> - 1:5.14.0-1
6cf3c8c
- Update to 5.14.0
6cf3c8c
45a6a19
* Thu Sep 20 2012 Brian Pepple <bpepple@fedoraproject.org> - 1:5.13.2-1
45a6a19
- Update to 5.13.2.
45a6a19
56e032c
* Thu Sep  6 2012 Brian Pepple <bpepple@fedoraproject.org> - 1:5.13.1-1
56e032c
- Update to 5.13.1.
56e032c
e6cdc10
* Mon Jul 23 2012 Brian Pepple <bpepple@fedoraproject.org> - 1:5.13.0-1
e6cdc10
- Update to 5.13.0.
e6cdc10
0cdcaa1
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.12.1-2
0cdcaa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0cdcaa1
de5606d
* Wed Jul 11 2012 Brian Pepple <bpepple@fedoraproject.org> - 1:5.12.1-1
de5606d
- Update to 5.12.1.
de5606d
8a94261
* Mon Apr  2 2012 Brian Pepple <bpepple@fedoraproject.org> - 1:5.12.0-1
8a94261
- Update to 5.12.0.
8a94261
e2cf395
* Wed Feb 22 2012 Brian Pepple <bpepple@fedoraproject.org> - 1:5.11.0-1
e2cf395
- Update to 5.11.0
e2cf395
- Bump minimum version of tp-glib.