telepathy-glib/telepathy-glib.spec

109 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package telepathy-glib (Version 0.11.8)
#
# Copyright (c) 2010 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/
#
Name: telepathy-glib
Version: 0.11.8
Release: 1
License: LGPLv2.1
%define debug_package_requires libtelepathy-glib0 = %{version}-%{release}
Summary: Libraries for adding telepathy support to applications that use glib
Url: http://telepathy.freedesktop.org/
Group: Development/Languages/C and C++
Source: telepathy-glib-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE work_around_pkg_config.patch - pkgconfig(pkg-config) is not provided
Patch0: work_around_pkg_config.patch
BuildRequires: dbus-1-glib-devel
BuildRequires: gtk-doc
BuildRequires: libxslt-devel
BuildRequires: python-xml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the libraries that make it easier to use some
telepathy functionality from applications that use glib.
%package -n libtelepathy-glib0
License: LGPLv2.1
#Requires: %{name} = %{version}
Summary: Libraries for adding telepathy support to applications that use glib
Group: Development/Languages/C and C++
%description -n libtelepathy-glib0
This package contains the libraries that make it easier to use some
telepathy functionality from applications that use glib.
%package devel
License: LGPLv2.1
Summary: Libraries for adding telepathy support to applications that use glib
Group: Development/Languages/C and C++
Requires: dbus-1-glib-devel
Requires: glib2-devel
Requires: glibc-devel
Requires: libtelepathy-glib0 = %{version}
%description devel
This package contains the libraries that make it easier to use some
telepathy functionality from applications that use glib.
%package doc
License: LGPLv2.1+
Summary: Libraries for adding telepathy support to applications that use glib
Group: Development/Languages/C and C++
Requires: libtelepathy-glib0 = %{version}
%description doc
This package contains the libraries that make it easier to use some
telepathy functionality from applications that use glib.
%prep
%setup -q
%patch0 -p1
%build
%configure --disable-static
%__make %{?jobs:-j%jobs}
%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la
%post -n libtelepathy-glib0 -p /sbin/ldconfig
%postun -n libtelepathy-glib0 -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files -n libtelepathy-glib0
%defattr(-,root,root)
%{_libdir}/libtelepathy-glib*.so.0*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/telepathy-1.0
%{_includedir}/telepathy-1.0/telepathy-glib/
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/telepathy-glib
%changelog