Created
August 6, 2012 14:09
-
-
Save lbt/3274678 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: telepathy-glib | |
# >> macros | |
# << macros | |
Summary: GLib bindings for Telepathy | |
%if 0%{mer_version} > 0 && 0%{mer_version} < 00120719100000 | |
Version: 0.19.4 | |
%else | |
Version: 0.19.5 | |
%endif | |
Release: 1 | |
Group: System/Libraries | |
License: LGPLv2+ | |
URL: http://telepathy.freedesktop.org/wiki/ | |
Source0: http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz | |
Source100: telepathy-glib.yaml | |
Patch0: pkgconfig.patch | |
Requires(post): /sbin/ldconfig | |
Requires(postun): /sbin/ldconfig | |
BuildRequires: pkgconfig(dbus-glib-1) >= 0.90 | |
BuildRequires: pkgconfig(dbus-1) >= 0.95 | |
%if 0%{mer_version} > 0 && 0%{mer_version} < 00120719100000 | |
BuildRequires: pkgconfig(glib-2.0) >= 2.30 | |
BuildRequires: pkgconfig(gobject-2.0) >= 2.30 | |
BuildRequires: pkgconfig(gio-2.0) >= 2.30 | |
%else | |
BuildRequires: pkgconfig(glib-2.0) >= 2.32 | |
BuildRequires: pkgconfig(gobject-2.0) >= 2.32 | |
BuildRequires: pkgconfig(gio-2.0) >= 2.32 | |
%endif | |
BuildRequires: libxslt | |
BuildRequires: python | |
BuildRequires: pkgconfig >= 0.21 | |
%description | |
Telepathy-GLib is a GObject-based C binding for Telepathy, | |
a unified framework for all forms of real time conversations, | |
including instant messaging, IRC, voice calls and video calls. | |
%package devel | |
Summary: Development files for %{name} | |
Group: Development/Libraries | |
Requires: %{name} = %{version}-%{release} | |
Requires: telepathy-filesystem | |
%description devel | |
Library, headers, and other files for developing applications | |
that use Telepathy-GLib. | |
%prep | |
%setup -q -n %{name}-%{version} | |
# pkgconfig.patch | |
%patch0 -p1 | |
# >> setup | |
# << setup | |
%build | |
# >> build pre | |
# << build pre | |
%configure --disable-static \ | |
--enable-silent-rules | |
make %{?jobs:-j%jobs} | |
# >> build post | |
# << build post | |
%install | |
rm -rf %{buildroot} | |
# >> install pre | |
# << install pre | |
%make_install | |
# >> install post | |
# << install post | |
%check | |
# >> check | |
make check | |
# << check | |
%post -p /sbin/ldconfig | |
%postun -p /sbin/ldconfig | |
%files | |
%defattr(-,root,root,-) | |
# >> files | |
%doc AUTHORS COPYING | |
%{_libdir}/libtelepathy-glib*.so.* | |
# << files | |
%files devel | |
%defattr(-,root,root,-) | |
# >> files devel | |
%{_libdir}/libtelepathy-glib.so | |
%{_libdir}/pkgconfig/%{name}.pc | |
%{_includedir}/telepathy-1.0/%{name}/ | |
%doc /usr/share/gtk-doc/html/* | |
# << files devel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment