File gedit-collaboration.spec of Package gedit-collaboration
#
# spec file for package gedit-collaboration
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# 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: gedit-collaboration
Version: 3.6.1
Release: 0
Summary: Plugin for gedit for collaborative editing
License: GPL-2.0+
Group: Productivity/Text/Editors
Url: http://projects.gnome.org/gedit/
Source: http://download.gnome.org/sources/gedit-collaboration/3.6/%{name}-%{version}.tar.xz
BuildRequires: intltool >= 0.41.0
BuildRequires: pkgconfig(gedit) >= 3.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.15
BuildRequires: pkgconfig(libinfgtk-0.5) >= 0.5
BuildRequires: pkgconfig(libinfinity-0.5) >= 0.5
BuildRequires: pkgconfig(libinftextgtk-0.5) >= 0.5
BuildRequires: pkgconfig(libxml-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The gedit collaboration plugin provides support for collaborative
editing in gedit, using the Infinote protocol.
%package -n gedit-plugin-collaboration
Summary: Plugin for gedit for collaborative editing
Group: Productivity/Text/Editors
Recommends: %{name}-lang
# For the -lang package
Provides: %{name} = %{version}
%glib2_gsettings_schema_requires
%description -n gedit-plugin-collaboration
The gedit collaboration plugin provides support for collaborative
editing in gedit, using the Infinote protocol.
%lang_package
%prep
%setup -q
%build
%configure \
--disable-maintainer-mode
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
%find_lang %{name} %{?no_lang_C}
%post -n gedit-plugin-collaboration
%glib2_gsettings_schema_post
%postun -n gedit-plugin-collaboration
%glib2_gsettings_schema_postun
%files -n gedit-plugin-collaboration
%defattr(-,root,root)
%doc COPYING NEWS README
%{_datadir}/gedit/plugins/collaboration/
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.collaboration.gschema.xml
%{_libdir}/gedit/plugins/collaboration.plugin
%{_libdir}/gedit/plugins/libcollaboration.so
%files lang -f %{name}.lang
%changelog