File telepathy-mission-control.spec of Package telepathy-mission-control

#
# spec file for package telepathy-mission-control (Version 4.67)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Url:            http://mission-control.sourceforge.net/

Name:           telepathy-mission-control
Version:        4.67
Release:        18
License:        LGPL v2.1 only
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gconf2-devel libxslt-devel
BuildRequires:  dbus-1-glib-devel >= 0.73
BuildRequires:  libtelepathy-devel >= 0.3.2
BuildRequires:  python-xml
BuildRequires:  telepathy-glib-devel >= 0.7.1
BuildRequires:  gnome-keyring-devel >= 2.22
Group:          System/Libraries
Summary:        Telepathy Mission Control instant messaging connection manager
Requires:       dbus-1-glib >= 0.73
Source:         %{name}-%{version}.tar.bz2
# Should go upstream
Patch1:         lockdown-protocols.patch
%if 0%{?suse_version} > 1020
BuildRequires:  fdupes
%endif
%define prefix /usr

%description
Mission Control, or MC, is a Telepathy component providing a way for
"end-user" applications to abstract some of the details of connection
managers, to provide a simple way to manipulate a bunch of connection
managers at once, to remove the need to have in each program the
account definitions and credentials, to manage channel handling/request
and to manage presence statuses.



Authors:
--------
    Naba Kumar <naba.kumar@nokia.com>
    Alberto Mardegan <alberto.mardegan@nokia.com>
    Zeeshan Ali <zeeshan.ali@nokia.com>

%package devel
License:        LGPL v2.1 only
Group:          Development/Libraries/C and C++
Summary:        Telepathy Mission Control instant messaging connection manager
Requires:       libtelepathy-devel >= 0.3.0
Requires:       telepathy-mission-control = %{version}
Requires:       dbus-1-devel
Requires:       telepathy-glib-devel >= 0.7.1

%description devel
Mission Control, or MC, is a Telepathy component providing a way for
"end-user" applications to abstract some of the details of connection
managers, to provide a simple way to manipulate a bunch of connection
managers at once, to remove the need to have in each program the
account definitions and credentials, to manage channel handling/request
and to manage presence statuses.



Authors:
--------
    Naba Kumar <naba.kumar@nokia.com>
    Alberto Mardegan <alberto.mardegan@nokia.com>
    Zeeshan Ali <zeeshan.ali@nokia.com>

%prep
%setup -q -n %{name}-%{version}
%patch1 -p0

%build
%configure \
    --libexecdir=%{_bindir} 
%__make %{?jobs:-j %jobs}

%install
%makeinstall
%if 0%{?suse_version} > 1020
# create symlinks for man pages
%fdupes -s $RPM_BUILD_ROOT/%_mandir
# create hardlinks for the rest
%fdupes $RPM_BUILD_ROOT
%endif

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
%{__rm} -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%{_bindir}/mc-account
%{_bindir}/mission-control
%{_libdir}/libmcclient.so.*
%{_libdir}/libmissioncontrol-client.so.*
%{_libdir}/libmissioncontrol-server.so.*
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.MissionControl.service

%files devel
%defattr(-,root,root)
%dir %{_includedir}/libmcclient
%dir %{_includedir}/libmissioncontrol
%dir %{_includedir}/mission-control
%{_includedir}/libmcclient/*
%{_includedir}/libmissioncontrol/*
%{_includedir}/mission-control/*
%{_libdir}/*.*a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%dir %{_datadir}/gtk-doc/html/libmissioncontrol-server
%{_datadir}/gtk-doc/html/libmissioncontrol-server/*
%dir %{_datadir}/gtk-doc/html/libmissioncontrol
%{_datadir}/gtk-doc/html/libmissioncontrol/*

%changelog
* Sun Oct 26 2008 gburt@suse.de
- Modify lockdown-protocols.patch to use protocols_locked_down
  gconf bool to determine whether to filter the allowed protocols
  at all.  Fixes bnc#437105.
* Mon Sep 22 2008 gburt@suse.de
- Add lockdown-protocols.patch that allows specifying a list of
  allowed protocols in GConf.  Part of fate#3126.
* Fri Jul 25 2008 hfiguiere@suse.de
- Upgrade to 4.67
  + Don't try to close the channel, if the proxy is already invalidated.
  + Fixes: #1936865
  + Store passwords in gnome-keyring, if available. Fixes: #1928094, #1938135
  + Add DBus CFLAGS when compiling. Fixes: #1988768
  + Give the system proxy settings higher priority over the account
  profile/protocol defaults. Fixes: NB#2009342.
  + Set register param to FALSE once connected. Fixes: NB#1763775.
- Build with gnome-keyring support
* Thu Apr 03 2008 hfiguiere@suse.de
- Fix a type that cause build breakage
* Thu Apr 03 2008 hfiguiere@suse.de
- Make the spec file nicer
  + use fdupes
  + refactor using proper macros
  + add missing requires for the -devel package
* Mon Mar 31 2008 vuntz@suse.de
- Update to version 4.64:
  + Fix a crash when dispatching a channel to external filters.
- Changes from version 4.63:
  + Add Account and AccountManager specifications, and implement
  stubs in libmcclient.
  + Bug fixes.
- Changes from version 4.62:
  + Fix warning.
- Changes from version 4.61:
  + Migrate some code from libtelepathy to telepathy-glib.
  + Bug fixes.
- Add python and telepathy-glib-devel buildrequires.
* Tue Mar 18 2008 hfiguiere@suse.de
- Initial checkin
openSUSE Build Service is sponsored by