Group :: Rede/Mensagens instantâneas
RPM: libtelepathy-farstream
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _name telepathy-farstream
%define soname 3
%define api_ver 0.6
%define gst_api_ver 1.0
%define fs_api_ver 0.2
%def_enable gtk_doc
%def_enable introspection
Name: lib%_name
Version: 0.6.2
Release: alt1
Summary: Telepathy client library to handle call channels
Group: Networking/Instant messaging
License: LGPLv2+
URL: http://telepathy.freedesktop.org/
Source: http://telepathy.freedesktop.org/releases/%_name/%_name-%version.tar.gz
%define fs_ver 0.1.91
BuildPreReq: glib2-devel >= 2.30.0
BuildPreReq: libtelepathy-glib-devel >= 0.18.0
BuildPreReq: libfarstream%fs_api_ver-devel >= %fs_ver
BuildRequires: libdbus-devel libdbus-glib-devel
BuildRequires: gtk-doc
%{?_enable_introspection:BuildRequires: gobject-introspection-devel libfarstream%fs_api_ver-gir-devel}
%{?_enable_introspection:BuildRequires: libtelepathy-glib-gir-devel libgstreamer%gst_api_ver-gir-devel libfarstream%fs_api_ver-gir-devel}
%description
Telepathy Farstream is a Telepathy client library that uses
Farstream-%fs_api_ver to handle Call channels.
%package devel
Summary: Libraries and include files for developing with %name
Group: Development/C
Requires: %name = %version-%release
%description devel
This package provides the necessary development libraries and include
files to allow you to develop with Telepathy Farstream library.
%package gir
Summary: GObject introspection data for the Telepathy Farstream
Group: System/Libraries
Requires: %name = %version-%release
%description gir
GObject introspection data for the Telepathy Farstream library.
%package gir-devel
Summary: GObject introspection devel data for the Telepathy Farstream
Group: Development/Other
BuildArch: noarch
Requires: %name-gir = %version-%release
Requires: %name-devel = %version-%release
%description gir-devel
GObject introspection devel data for the Telepathy Farstream library.
%package devel-doc
Summary: Development documentation for %name
Group: Development/C
BuildArch: noarch
Conflicts: %name < %version-%release
%description devel-doc
This package contains development documentation for the Telepathy
Farstream library.
%prep
%setup -n %_name-%version
%build
%autoreconf
%configure --disable-static \
%{?_enable_gtk_doc:--enable-gtk-doc}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%_libdir/%name.so.*
%doc AUTHORS NEWS README
%files devel
%_includedir/telepathy-1.0/%_name/
%_libdir/%name.so
%_libdir/pkgconfig/%_name.pc
%files gir
%_typelibdir/TelepathyFarstream-%api_ver.typelib
%files gir-devel
%_girdir/TelepathyFarstream-%api_ver.gir
%if_enabled gtk_doc
%files devel-doc
%_datadir/gtk-doc/html/%_name/
%endif
%changelog
…
Todas as alterações você pod ver aqui
%define soname 3
%define api_ver 0.6
%define gst_api_ver 1.0
%define fs_api_ver 0.2
%def_enable gtk_doc
%def_enable introspection
Name: lib%_name
Version: 0.6.2
Release: alt1
Summary: Telepathy client library to handle call channels
Group: Networking/Instant messaging
License: LGPLv2+
URL: http://telepathy.freedesktop.org/
Source: http://telepathy.freedesktop.org/releases/%_name/%_name-%version.tar.gz
%define fs_ver 0.1.91
BuildPreReq: glib2-devel >= 2.30.0
BuildPreReq: libtelepathy-glib-devel >= 0.18.0
BuildPreReq: libfarstream%fs_api_ver-devel >= %fs_ver
BuildRequires: libdbus-devel libdbus-glib-devel
BuildRequires: gtk-doc
%{?_enable_introspection:BuildRequires: gobject-introspection-devel libfarstream%fs_api_ver-gir-devel}
%{?_enable_introspection:BuildRequires: libtelepathy-glib-gir-devel libgstreamer%gst_api_ver-gir-devel libfarstream%fs_api_ver-gir-devel}
%description
Telepathy Farstream is a Telepathy client library that uses
Farstream-%fs_api_ver to handle Call channels.
%package devel
Summary: Libraries and include files for developing with %name
Group: Development/C
Requires: %name = %version-%release
%description devel
This package provides the necessary development libraries and include
files to allow you to develop with Telepathy Farstream library.
%package gir
Summary: GObject introspection data for the Telepathy Farstream
Group: System/Libraries
Requires: %name = %version-%release
%description gir
GObject introspection data for the Telepathy Farstream library.
%package gir-devel
Summary: GObject introspection devel data for the Telepathy Farstream
Group: Development/Other
BuildArch: noarch
Requires: %name-gir = %version-%release
Requires: %name-devel = %version-%release
%description gir-devel
GObject introspection devel data for the Telepathy Farstream library.
%package devel-doc
Summary: Development documentation for %name
Group: Development/C
BuildArch: noarch
Conflicts: %name < %version-%release
%description devel-doc
This package contains development documentation for the Telepathy
Farstream library.
%prep
%setup -n %_name-%version
%build
%autoreconf
%configure --disable-static \
%{?_enable_gtk_doc:--enable-gtk-doc}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%_libdir/%name.so.*
%doc AUTHORS NEWS README
%files devel
%_includedir/telepathy-1.0/%_name/
%_libdir/%name.so
%_libdir/pkgconfig/%_name.pc
%files gir
%_typelibdir/TelepathyFarstream-%api_ver.typelib
%files gir-devel
%_girdir/TelepathyFarstream-%api_ver.gir
%if_enabled gtk_doc
%files devel-doc
%_datadir/gtk-doc/html/%_name/
%endif
%changelog
…
Todas as alterações você pod ver aqui