e2cf395
%define tp_glib_ver 0.17.5
Rex Dieter d8f46c5
%global mc_plugindir %{_libdir}/mission-control-plugins.0
Rex Dieter d8f46c5
949bff7
Name:           telepathy-mission-control
2be4bd0
Version:        5.16.5
305a89f
Release:        4%{?dist}
7088eae
Epoch:          1
949bff7
Summary:        Central control for Telepathy connection manager
949bff7
897f3ac
License:        LGPLv2
6b5f780
URL:            https://telepathy.freedesktop.org/
01519b6
Source0:        http://telepathy.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
949bff7
9a52029
# Backported from upstream
9a52029
# https://github.com/TelepathyIM/telepathy-mission-control/pull/6
9a52029
Patch0:         6.patch
9a52029
9a4f63a
BuildRequires: make
160832b
BuildRequires:  chrpath
ba22f88
BuildRequires:  glib2-devel
8bc3c49
BuildRequires:  gtk-doc
3f2d8cb
BuildRequires:  libxslt-devel
6de3d3b
BuildRequires:  NetworkManager-libnm-devel
Rex Dieter cd95e18
BuildRequires:  pkgconfig
8bc3c49
BuildRequires:  pygobject2-devel
8bc3c49
BuildRequires:  telepathy-glib-devel >= %{tp_glib_ver}
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}
Rex Dieter cd95e18
Requires:       %{name}%{?_isa} = %{epoch}:%{version}-%{release}
949bff7
%description    devel
949bff7
The %{name}-devel package contains libraries and header
949bff7
files for developing applications that use %{name}.
949bff7
949bff7
949bff7
%prep
2efba3b
%autosetup -p1
e8d7e72
01519b6
949bff7
%build
Rex Dieter cd95e18
%configure \
Rex Dieter cd95e18
  --disable-static \
Rex Dieter cd95e18
  --enable-gtk-doc \
3eb72d8
  --with-connectivity=nm
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
8bc3c49
%{make_build}
949bff7
949bff7
949bff7
%install
8bc3c49
%{make_install}
160832b
Rex Dieter cd95e18
# create/own plugin dir
Rex Dieter cd95e18
mkdir -p %{buildroot}%{mc_plugindir}
Rex Dieter cd95e18
Rex Dieter cd95e18
# Remove rpaths if present
Rex Dieter cd95e18
chrpath --list   %{buildroot}%{_libexecdir}/mission-control-5 && \
160832b
chrpath --delete %{buildroot}%{_libexecdir}/mission-control-5
160832b
# Remove .la files
2be4bd0
find %{buildroot} -type f -name "*.la" -delete
949bff7
7088eae
Debarshi Ray 192a7f0
%check
Rex Dieter d8f46c5
PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
Rex Dieter d8f46c5
test "%{?mc_plugindir}" = "$(pkg-config --variable=plugindir mission-control-plugins 2>/dev/null)"
8662cd5
make check ||:
Debarshi Ray 192a7f0
Debarshi Ray 192a7f0
7992340
%ldconfig_scriptlets
6a0bd15
949bff7
%files
8662cd5
%license COPYING
8662cd5
%doc AUTHORS NEWS
Rex Dieter cd95e18
%{_bindir}/mc-tool
Rex Dieter cd95e18
%{_bindir}/mc-wait-for-name
Rex Dieter cd95e18
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.AccountManager.service
Rex Dieter cd95e18
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.MissionControl5.service
43ba75d
%{_datadir}/glib-2.0/schemas/im.telepathy.MissionControl.FromEmpathy.gschema.xml
Rex Dieter cd95e18
%{_libdir}/libmission-control-plugins.so.0*
Rex Dieter d8f46c5
%dir %{mc_plugindir}
01519b6
%{_libexecdir}/mission-control-5
Rex Dieter cd95e18
%{_mandir}/man1/mc-tool.1*
Rex Dieter cd95e18
%{_mandir}/man1/mc-wait-for-name.1*
7088eae
949bff7
%files devel
6a0bd15
%doc %{_datadir}/gtk-doc/html/mission-control-plugins
Rex Dieter cd95e18
%{_includedir}/mission-control-5.5/
Rex Dieter cd95e18
%{_libdir}/pkgconfig/mission-control-plugins.pc
cf99cdb
%{_libdir}/libmission-control-plugins.so
Rex Dieter cd95e18
%{_mandir}/man8/mission-control-5.8*
949bff7
949bff7
949bff7
%changelog
305a89f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.5-4
305a89f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
305a89f
e0d76ff
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.5-3
e0d76ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e0d76ff
9a52029
* Tue Mar 10 2020 Kalev Lember <klember@redhat.com> - 1:5.16.5-2
9a52029
- Backport a fix for a crash due to invalid property name
9a52029
2be4bd0
* Sat Feb 22 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1:5.16.5-1
2be4bd0
- Update to 5.16.5
2be4bd0
d679268
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.4-10
d679268
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d679268
023e2e2
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.4-9
023e2e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
023e2e2
c34815d
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.4-8
c34815d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c34815d
b56fe39
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.4-7
b56fe39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b56fe39
9d51cd0
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1:5.16.4-6
9d51cd0
- Update Python 2 dependency declarations to new packaging standards
9d51cd0
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9d51cd0
63b504f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.4-5
63b504f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
63b504f
1a4faa9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.4-4
1a4faa9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1a4faa9
90b7158
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.4-3
90b7158
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
90b7158
3791542
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.4-2
3791542
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3791542
6de3d3b
* Mon Nov 28 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1:5.16.4-1
6de3d3b
- Update to 5.16.4
6de3d3b
2666125
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.16.3-6
2666125
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2666125
Rex Dieter d8f46c5
* Wed Oct 14 2015 Rex Dieter <rdieter@fedoraproject.org> 1:5.16.3-5
Rex Dieter d8f46c5
- hard-code mc_plugindir macro, add %%check to verify correctness
Rex Dieter d8f46c5
Rex Dieter cd95e18
* Wed Oct 14 2015 Rex Dieter <rdieter@fedoraproject.org> - 1:5.16.3-4
Rex Dieter cd95e18
- -devel: tighten subpkg dep via %%{?_isa}, rely on pkgconfig auto deps
Rex Dieter cd95e18
- tighten file lists, track libsoname
Rex Dieter cd95e18
- own /usr/lib*/mission-control-plugins.0
Rex Dieter cd95e18
- %%build: drop unused --enable-mcd-plugins option
Rex Dieter cd95e18
- .spec cosmetics, drop Group: tags
Rex Dieter cd95e18
Rex Dieter cd95e18
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1:5.16.3-3
8662cd5
- Use %%license
8662cd5
- Don't fail build on check fail (fix FTBFS)
8662cd5
a87a934
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.16.3-2
a87a934
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a87a934
f7d5320
* Fri Aug 29 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1:5.16.3-1
f7d5320
- Update to 5.16.3
f7d5320
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.