Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
gobby
gobby.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gobby.spec of Package gobby
# # spec file for package gobby (Version 0.4.92) # # Copyright (c) 2009 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/ # # norootforbuild Name: gobby %define _versioned_name gobby-0.5 BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: glibmm2-devel BuildRequires: gtkmm2-devel BuildRequires: gtksourceview-devel BuildRequires: intltool BuildRequires: libxml++-devel BuildRequires: libinfinity-devel >= 0.3.0 BuildRequires: update-desktop-files # For directory ownership: BuildRequires: gnome-themes License: GPLv2 ; GPLv2+ Group: Productivity/Editors/Other Version: 0.4.92 Release: 3.<RELEASE4> Summary: Gobby collaborative editor (Infinote protocol) Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM gobby-desktop.patch -- Remove icon extension Patch0: gobby-desktop.patch # PATCH-FIX-UPSTREAM gobby-fix-finddialog-voidreturn.patch -- novell@mirell.de Patch1: gobby-fix-finddialog-voidreturn.patch Url: http://gobby.0x539.de/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): update-alternatives Requires(postun): update-alternatives # The build service fails to build the package because it doesn't really # understand Requires(post), so use PreReq too (see bnc#439232). %if %defined suse_version PreReq: update-alternatives %endif Requires: %{name}-lang = %{version} %description Gobby is a free collaborative editor. This means that it provides you with the possibility to edit files simultaneously with other users over a network. It supports multiple documents in one session. The platforms on which you could use Gobby are so far Microsoft Windows, Linux, Mac OS X and other Unix-like ones. This is the latest version of Gobby, which is using the Infinote protocol. Authors: -------- Armin Burgmeier <armin@0x539.de> Philipp Kern <phil@0x539.de> %lang_package %prep %setup -q %patch0 %patch1 -p1 %build %configure \ --with-gnome %{__make} %{?jobs:-j%jobs} %install %makeinstall %find_lang gobby05 %suse_update_desktop_file -N "Gobby" -G "Collaborative Editor" %{_versioned_name} Office X-SuSE-Core-Office %fdupes %{buildroot} %clean rm -rf %{buildroot} %post # If the %{name} group is in automatic mode, then this will also switch all # symlinks automatically update-alternatives --install %{_bindir}/%{name} %{name} %{_bindir}/%{name}-0.5 5 --slave %{_mandir}/man1/%{name}.1.gz %{name}.1.gz %{_mandir}/man1/%{name}-0.5.1.gz %postun # Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed if [ ! -f %{_bindir}/%{name}-0.5 ]; then update-alternatives --remove %{name} %{_bindir}/%{name}-0.5 fi %posttrans # Workaround old bug in 11.1/11.2 packages that always removed the symlinks in # %postun. Can be removed during 12.2 development. if [ ! -f %{_bindir}/%{name} -a -f %{_bindir}/%{name}-0.5 ]; then update-alternatives --install %{_bindir}/%{name} %{name} %{_bindir}/%{name}-0.5 5 --slave %{_mandir}/man1/%{name}.1.gz %{name}.1.gz %{_mandir}/man1/%{name}-0.5.1.gz fi %files %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/%{_versioned_name} %{_datadir}/%{_versioned_name} %{_datadir}/applications/%{_versioned_name}.desktop %{_datadir}/icons/*/*/apps/%{_versioned_name}.* %doc %{_mandir}/man1/*.* # FIXME: gnome-themes does not provide excluded directories yet. %exclude %{_datadir}/icons/HighContrast*/scalable/* %files lang -f gobby05.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor