Пакет telepathy-mission-control: Specfile

%define api_ver 5.5
%def_enable gnome_keyring
#monitor device suspending and resuming
%def_enable upower
# NetworkManager support
%def_enable nm

Name: telepathy-mission-control
Version: 5.14.1
Release: alt1

Summary: Telepathy mission control plugin library
License: LGPL v2.1
Group: System/Libraries
Url: http://mission-control.sourceforge.net/

Source:http://telepathy.freedesktop.org/releases/%name/%name-%version.tar.gz

BuildRequires: gtk-doc libgio-devel >= 2.28.0 libdbus-glib-devel libtelepathy-glib-devel >= 0.20.0
%{?_enable_upower:BuildRequires: libupower-devel}
%{?_enable_nm:BuildRequires: NetworkManager-glib-devel}
%{?_enable_gnome_keyring:BuildRequires: libgnome-keyring-devel}

# for check
BuildRequires: python-modules-encodings python-module-twisted-words python-module-twisted-core-gui
BuildRequires: python-module-dbus python-module-zope.interface telepathy-logger /proc dbus-tools-gui

%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, and to remove the need to have in each program the
account definitions and credentials.

%package -n lib%name
Summary: Telepathy mission control plugin library
Group: System/Libraries
Obsoletes: %name
Provides: %name = %version-%release

%description -n lib%name
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, and to remove the need to have in each program the
account definitions and credentials.

%package -n lib%name-devel
Summary: Development libraries and header files for %name
Group: Development/C
Requires: lib%name = %version-%release
Obsoletes: %name-devel
Provides: %name-devel = %version-%release

%description -n lib%name-devel
Development libraries and header files for %name.

%prep
%setup -q

%build
%autoreconf
export CFLAGS="$CFLAGS `pkg-config --cflags glib-2.0` `pkg-config --cflags dbus-glib-1`"
%configure \
	%{?_enable_gnome_keyring:--enable-gnome-keyring} \
	--disable-static \
	--disable-schemas-compile

%make_build

%install
%make_install DESTDIR=%buildroot install

%check
#%%make check

%files -n lib%name
%_bindir/*
%_libdir/libmission-control-plugins.so.*
%_libexecdir/mission-control-5
%_datadir/dbus-1/services/*.service
%_datadir/glib-2.0/schemas/im.telepathy.MissionControl.FromEmpathy.gschema.xml
%_man1dir/*
%_man8dir/*
%doc AUTHORS ChangeLog

%files -n lib%name-devel
%_libdir/libmission-control-plugins.so
%_includedir/mission-control-%api_ver/
%_pkgconfigdir/*.pc
%_datadir/gtk-doc/html/*

%changelog
* Tue May 07 2013 Yuri N. Sedunov <aris@altlinux.org> 5.14.1-alt1
- 5.14.1

* Sat Oct 06 2012 Yuri N. Sedunov <aris@altlinux.org> 5.14.0-alt1
- 5.14.0

* Thu Sep 27 2012 Yuri N. Sedunov <aris@altlinux.org> 5.13.2-alt1
- 5.13.2

* Wed Jul 25 2012 Yuri N. Sedunov <aris@altlinux.org> 5.12.1-alt1
- 5.12.1

* Tue Apr 03 2012 Yuri N. Sedunov <aris@altlinux.org> 5.12.0-alt1
- 5.12.0

* Mon Feb 27 2012 Yuri N. Sedunov <aris@altlinux.org> 5.11.0-alt1
- 5.11.0

* Mon Jan 16 2012 Yuri N. Sedunov <aris@altlinux.org> 5.10.1-alt2
- used %%autoreconf to fix RPATH problem

* Sun Nov 13 2011 Yuri N. Sedunov <aris@altlinux.org> 5.10.1-alt1
- 5.10.1

* Thu Oct 27 2011 Yuri N. Sedunov <aris@altlinux.org> 5.8.1-alt1
- 5.8.1

* Wed Aug 10 2011 Yuri N. Sedunov <aris@altlinux.org> 5.8.0-alt1
- 5.8.0

* Sun Apr 03 2011 Yuri N. Sedunov <aris@altlinux.org> 5.7.7-alt1
- 5.7.7

* Tue Mar 08 2011 Yuri N. Sedunov <aris@altlinux.org> 5.7.6-alt1
- 5.7.6

* Mon Dec 13 2010 Yuri N. Sedunov <aris@altlinux.org> 5.6.1-alt1
- 5.6.1

* Fri Sep 03 2010 Yuri N. Sedunov <aris@altlinux.org> 5.5.3-alt1
- 5.5.3

* Wed Jun 16 2010 Yuri N. Sedunov <aris@altlinux.org> 5.4.3-alt1
- 5.4.3

* Sat May 29 2010 Yuri N. Sedunov <aris@altlinux.org> 5.4.2-alt1
- 5.4.2

* Wed Apr 21 2010 Yuri N. Sedunov <aris@altlinux.org> 5.4.0-alt1
- 5.4.0

* Wed Nov 25 2009 Yuri N. Sedunov <aris@altlinux.org> 5.3.2-alt2
- updated buildreqs
- %%check section

* Thu Nov 19 2009 Yuri N. Sedunov <aris@altlinux.org> 5.3.2-alt1
- 5.3.2
- gnome-keyring support

* Mon Sep 14 2009 Yuri N. Sedunov <aris@altlinux.org> 5.2.3-alt1
- 5.2.3

* Sun Jul 20 2008 Igor Zubkov <icesik@altlinux.org> 4.67-alt1
- 4.66 -> 4.67

* Sat Jun 28 2008 Igor Zubkov <icesik@altlinux.org> 4.66-alt1
- 4.65 -> 4.66

* Wed Apr 30 2008 Igor Zubkov <icesik@altlinux.org> 4.65-alt1
- 4.60 -> 4.65
- buildreq

* Sat Feb 23 2008 Igor Zubkov <icesik@altlinux.org> 4.60-alt1
- 4.57 -> 4.60

* Fri Jan 25 2008 Igor Zubkov <icesik@altlinux.org> 4.57-alt2
- rename telepathy-mission-control to libtelepathy-mission-control
- rename telepathy-mission-control-devel to libtelepathy-mission-control-devel

* Fri Jan 25 2008 Igor Zubkov <icesik@altlinux.org> 4.57-alt1
- 4.55 -> 4.57

* Tue Jan 15 2008 Igor Zubkov <icesik@altlinux.org> 4.55-alt1
- 4.54 -> 4.55

* Tue Jan 15 2008 Igor Zubkov <icesik@altlinux.org> 4.54-alt1
- 4.53 -> 4.54

* Tue Jan 15 2008 Igor Zubkov <icesik@altlinux.org> 4.53-alt1
- 4.51 -> 4.53

* Tue Dec 11 2007 Igor Zubkov <icesik@altlinux.org> 4.51-alt1
- 4.49 -> 4.51
- buildreq

* Thu Oct 25 2007 Igor Zubkov <icesik@altlinux.org> 4.49-alt1
- 4.45 -> 4.49

* Thu Oct 04 2007 Igor Zubkov <icesik@altlinux.org> 4.45-alt1
- 4.42 -> 4.45

* Mon Sep 24 2007 Igor Zubkov <icesik@altlinux.org> 4.42-alt1
- 4.41 -> 4.42

* Thu Sep 20 2007 Igor Zubkov <icesik@altlinux.org> 4.41-alt1
- 4.39 -> 4.41

* Mon Sep 17 2007 Igor Zubkov <icesik@altlinux.org> 4.39-alt1
- 4.37 -> 4.39

* Thu Sep 06 2007 Igor Zubkov <icesik@altlinux.org> 4.37-alt1
- 4.34 -> 4.37

* Tue Aug 14 2007 Igor Zubkov <icesik@altlinux.org> 4.34-alt1
- 4.33 -> 4.34

* Thu Aug 09 2007 Igor Zubkov <icesik@altlinux.org> 4.33-alt1
- 4.31 -> 4.33

* Thu Aug 02 2007 Igor Zubkov <icesik@altlinux.org> 4.31-alt1
- 4.30 -> 4.31

* Tue Jul 17 2007 Igor Zubkov <icesik@altlinux.org> 4.30-alt1
- 4.26 -> 4.30

* Fri Jun 22 2007 Igor Zubkov <icesik@altlinux.org> 4.26-alt1
- build for Sisyphus