2007-01-10 17:32:50 +01:00
|
|
|
#
|
2011-04-27 13:31:30 +02:00
|
|
|
# spec file for package anjuta
|
2007-01-10 17:32:50 +01:00
|
|
|
#
|
2014-01-12 01:26:12 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 17:32:50 +01:00
|
|
|
#
|
2008-09-06 05:28:01 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-10 17:32:50 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-22 11:31:42 +01:00
|
|
|
|
2007-01-10 17:32:50 +01:00
|
|
|
Name: anjuta
|
2014-08-23 13:52:40 +02:00
|
|
|
Version: 3.13.90
|
2011-12-21 06:08:55 +01:00
|
|
|
Release: 0
|
2010-10-15 16:56:02 +02:00
|
|
|
Summary: Versatile Integrated Development Environment for GNOME
|
2011-12-21 06:08:55 +01:00
|
|
|
License: GPL-2.0+
|
2009-09-04 00:22:33 +02:00
|
|
|
Group: Development/Tools/IDE
|
2011-12-21 06:08:55 +01:00
|
|
|
Url: http://anjuta.sourceforge.net/
|
2014-08-23 13:52:40 +02:00
|
|
|
Source0: http://download.gnome.org/sources/anjuta/3.13/%{name}-%{version}.tar.xz
|
2011-11-28 09:15:28 +01:00
|
|
|
Source99: %{name}-rpmlintrc
|
2014-08-25 08:56:56 +02:00
|
|
|
# PATCH-FIX-UPSTREAM anjuta-devhelp-webkit2.patch bgo#735328 dimstar@opensuse.org -- devhelp can be build either with WebKit2gtk-3.0 or WebKit2gtk-4.0
|
|
|
|
Patch0: anjuta-devhelp-webkit2.patch
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: autogen
|
|
|
|
BuildRequires: binutils-devel
|
2011-06-17 01:52:56 +02:00
|
|
|
BuildRequires: bison
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: fdupes
|
2011-06-17 01:52:56 +02:00
|
|
|
BuildRequires: flex
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: gcc-c++
|
2014-08-25 08:56:56 +02:00
|
|
|
# Needed for patch0
|
|
|
|
BuildRequires: gnome-common
|
2011-04-27 14:16:26 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libapr-util1-devel
|
|
|
|
BuildRequires: libapr1-devel
|
|
|
|
BuildRequires: libxslt-devel
|
2009-02-12 16:34:38 +01:00
|
|
|
BuildRequires: perl-gettext
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: shared-mime-info
|
2010-10-15 16:56:02 +02:00
|
|
|
BuildRequires: sqlite3-devel
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: subversion-devel
|
2010-06-04 17:29:44 +02:00
|
|
|
BuildRequires: translation-update-upstream
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2012-01-13 17:27:06 +01:00
|
|
|
BuildRequires: vala
|
2012-09-27 17:12:36 +02:00
|
|
|
BuildRequires: yelp-tools
|
2014-01-12 01:24:14 +01:00
|
|
|
%ifnarch ia64 s390 s390x aarch64 ppc64le
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: valgrind-devel
|
2008-11-28 14:38:57 +01:00
|
|
|
%endif
|
2012-09-11 18:59:47 +02:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.0.0
|
2012-11-18 16:25:11 +01:00
|
|
|
BuildRequires: pkgconfig(gdl-3.0) >= 3.5.5
|
2012-09-11 18:59:47 +02:00
|
|
|
BuildRequires: pkgconfig(gladeui-2.0) >= 3.12.0
|
2013-07-10 22:33:40 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.34.0
|
2013-08-21 23:14:57 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0
|
2012-09-11 18:59:47 +02:00
|
|
|
BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.0.0
|
2013-03-14 00:03:21 +01:00
|
|
|
BuildRequires: pkgconfig(libdevhelp-3.0) >= 3.7.5
|
2012-09-11 18:59:47 +02:00
|
|
|
BuildRequires: pkgconfig(libgda-5.0) >= 5.0.0
|
2011-04-27 14:16:26 +02:00
|
|
|
BuildRequires: pkgconfig(libgvc)
|
2014-08-23 17:59:35 +02:00
|
|
|
BuildRequires: pkgconfig(libvala-0.26)
|
2012-09-11 18:59:47 +02:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.23
|
2014-04-03 22:30:10 +02:00
|
|
|
BuildRequires: pkgconfig(serf-1)
|
2014-08-23 13:52:40 +02:00
|
|
|
BuildRequires: pkgconfig(vte-2.91)
|
2007-10-26 20:10:49 +02:00
|
|
|
# Directly required by anjuta:
|
2009-09-04 00:22:33 +02:00
|
|
|
Requires: autoconf
|
2007-10-26 20:10:49 +02:00
|
|
|
Requires: autogen
|
2008-09-06 05:28:01 +02:00
|
|
|
Requires: automake
|
|
|
|
Requires: gettext
|
2009-09-04 00:22:33 +02:00
|
|
|
Requires: libtool
|
2010-08-10 00:42:17 +02:00
|
|
|
# libgda-sqlite is needed by the symbol-db plugin. See bnc#624924.
|
|
|
|
Requires: libgda-sqlite
|
2011-02-14 12:24:44 +01:00
|
|
|
Recommends: %{name}-lang
|
2007-01-10 17:32:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-04-27 13:31:30 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2007-01-10 17:32:50 +01:00
|
|
|
|
|
|
|
%description
|
2010-10-15 16:56:02 +02:00
|
|
|
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
|
|
|
GNOME desktop. It features a number of advanced programming facilities
|
|
|
|
includes project management, application wizards, an interactive
|
|
|
|
debugger, an integrated Glade UI designer, integrated Devhelp API help,
|
|
|
|
an integrated Valgrind memory profiler, an integrated gprof performance
|
|
|
|
profiler, a class generator, a powerful source editor, source browsing,
|
|
|
|
and more.
|
|
|
|
|
2011-10-06 23:25:51 +02:00
|
|
|
%package -n libanjuta-3-0
|
|
|
|
Summary: Libraries for developing Anjuta plugins
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libanjuta-3-0
|
|
|
|
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
|
|
|
GNOME desktop. It features a number of advanced programming facilities
|
|
|
|
includes project management, application wizards, an interactive
|
|
|
|
debugger, an integrated Glade UI designer, integrated Devhelp API help,
|
|
|
|
an integrated Valgrind memory profiler, an integrated gprof performance
|
|
|
|
profiler, a class generator, a powerful source editor, source browsing,
|
|
|
|
and more.
|
|
|
|
|
2011-12-12 16:57:02 +01:00
|
|
|
%package -n typelib-1_0-Anjuta-3_0
|
2011-12-21 06:08:55 +01:00
|
|
|
Summary: Libraries for developing Anjuta plugins -- Introspection bindings
|
2011-12-12 16:57:02 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Anjuta-3_0
|
|
|
|
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
|
|
|
GNOME desktop. It features a number of advanced programming facilities
|
|
|
|
includes project management, application wizards, an interactive
|
|
|
|
debugger, an integrated Glade UI designer, integrated Devhelp API help,
|
|
|
|
an integrated Valgrind memory profiler, an integrated gprof performance
|
|
|
|
profiler, a class generator, a powerful source editor, source browsing,
|
|
|
|
and more.
|
|
|
|
|
2011-12-21 06:08:55 +01:00
|
|
|
This package provides the GObject Introspection bindings for the Anjuta
|
|
|
|
library to develop plugins.
|
|
|
|
|
2011-06-05 11:29:59 +02:00
|
|
|
%package -n glade-catalog-anjuta
|
2010-10-15 16:56:02 +02:00
|
|
|
Summary: Versatile Integrated Development Environment for GNOME -- Catalog for Glade
|
|
|
|
Group: Development/Tools/GUI Builders
|
|
|
|
Requires: %{name} = %{version}
|
2011-06-05 11:29:59 +02:00
|
|
|
Requires: glade
|
|
|
|
Supplements: packageand(glade:%{name}-devel)
|
2010-10-15 16:56:02 +02:00
|
|
|
|
2011-06-05 11:29:59 +02:00
|
|
|
%description -n glade-catalog-anjuta
|
2010-10-15 16:56:02 +02:00
|
|
|
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
|
|
|
GNOME desktop. It features a number of advanced programming facilities
|
|
|
|
includes project management, application wizards, an interactive
|
|
|
|
debugger, an integrated Glade UI designer, integrated Devhelp API help,
|
|
|
|
an integrated Valgrind memory profiler, an integrated gprof performance
|
|
|
|
profiler, a class generator, a powerful source editor, source browsing,
|
|
|
|
and more.
|
|
|
|
|
|
|
|
This package provides a catalog for Glade, to allow the use the Anjuta
|
|
|
|
widgets in Glade.
|
2011-06-05 11:29:59 +02:00
|
|
|
|
2007-10-19 04:26:19 +02:00
|
|
|
%package devel
|
2011-10-06 23:25:51 +02:00
|
|
|
Summary: Libraries for developing Anjuta plugins -- Development Files
|
2007-10-19 04:26:19 +02:00
|
|
|
Group: Development/Tools/IDE
|
2011-10-06 23:25:51 +02:00
|
|
|
Requires: libanjuta-3-0 = %{version}
|
2011-12-12 16:57:02 +01:00
|
|
|
Requires: typelib-1_0-Anjuta-3_0 = %{version}
|
2011-02-14 12:24:44 +01:00
|
|
|
Provides: %{name}-doc = %{version}
|
2011-04-27 13:31:30 +02:00
|
|
|
Obsoletes: %{name}-doc < %{version}
|
2007-10-19 04:26:19 +02:00
|
|
|
|
|
|
|
%description devel
|
2010-10-15 16:56:02 +02:00
|
|
|
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
|
|
|
GNOME desktop. It features a number of advanced programming facilities
|
|
|
|
includes project management, application wizards, an interactive
|
|
|
|
debugger, an integrated Glade UI designer, integrated Devhelp API help,
|
|
|
|
an integrated Valgrind memory profiler, an integrated gprof performance
|
|
|
|
profiler, a class generator, a powerful source editor, source browsing,
|
|
|
|
and more.
|
2007-10-19 04:26:19 +02:00
|
|
|
|
2007-08-09 17:43:01 +02:00
|
|
|
%lang_package
|
2007-01-10 17:32:50 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2014-08-25 08:56:56 +02:00
|
|
|
%patch0 -p1
|
2011-04-27 14:16:26 +02:00
|
|
|
translation-update-upstream
|
2007-01-10 17:32:50 +01:00
|
|
|
|
|
|
|
%build
|
2014-08-25 08:56:56 +02:00
|
|
|
# Needed for patch0
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2007-10-25 01:44:45 +02:00
|
|
|
%configure\
|
2011-04-27 13:31:30 +02:00
|
|
|
--disable-static \
|
2013-03-20 19:00:24 +01:00
|
|
|
--enable-glade-catalog
|
2011-09-21 17:36:53 +02:00
|
|
|
make %{?_smp_mflags} V=1
|
2007-01-10 17:32:50 +01:00
|
|
|
|
|
|
|
%install
|
2007-10-19 04:26:19 +02:00
|
|
|
%makeinstall
|
2007-01-10 17:32:50 +01:00
|
|
|
# These should go to defaultdocdir.
|
2009-09-04 00:22:33 +02:00
|
|
|
rm -r %{buildroot}%{_datadir}/doc
|
2010-09-11 11:19:24 +02:00
|
|
|
%suse_update_desktop_file anjuta
|
2011-02-14 12:24:44 +01:00
|
|
|
%find_lang anjuta %{?no_lang_C}
|
2012-03-21 10:25:10 +01:00
|
|
|
%find_lang anjuta-faqs %{no_lang_C} %{name}.lang
|
2011-02-14 16:21:10 +01:00
|
|
|
# There's no translation for those yet. If build fails because of non-packaged
|
|
|
|
# translations, uncomment those lines.
|
|
|
|
#%%find_lang anjuta-build-tutorial %{?no_lang_C} anjuta.lang
|
|
|
|
#%%find_lang anjuta-faqs %{?no_lang_C} anjuta.lang
|
2011-02-14 12:24:44 +01:00
|
|
|
%find_lang anjuta-manual %{?no_lang_C} anjuta.lang
|
2009-09-04 00:22:33 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%fdupes %{buildroot}
|
2007-08-09 17:43:01 +02:00
|
|
|
|
2007-01-10 17:32:50 +01:00
|
|
|
%post
|
2011-04-27 14:16:26 +02:00
|
|
|
%glib2_gsettings_schema_post
|
2011-02-14 12:24:44 +01:00
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
2013-08-21 23:14:57 +02:00
|
|
|
%icon_theme_cache_post HighContrast
|
2011-02-14 12:24:44 +01:00
|
|
|
%mime_database_post
|
2007-01-10 17:32:50 +01:00
|
|
|
|
|
|
|
%postun
|
2011-04-27 14:16:26 +02:00
|
|
|
%glib2_gsettings_schema_postun
|
2011-02-14 12:24:44 +01:00
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
2013-08-21 23:14:57 +02:00
|
|
|
%icon_theme_cache_postun HighContrast
|
2011-02-14 12:24:44 +01:00
|
|
|
%mime_database_postun
|
2009-07-31 18:28:10 +02:00
|
|
|
|
2011-10-06 23:25:51 +02:00
|
|
|
%post -n libanjuta-3-0
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libanjuta-3-0
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2011-04-27 13:31:30 +02:00
|
|
|
%files
|
2007-01-10 17:32:50 +01:00
|
|
|
%defattr(-,root,root)
|
2009-02-20 23:14:15 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog FUTURE NEWS README doc/ScintillaDoc.html TODO
|
2012-09-27 17:12:36 +02:00
|
|
|
%doc %{_datadir}/help/C/anjuta-build-tutorial/
|
|
|
|
%doc %{_datadir}/help/C/anjuta-faqs/
|
|
|
|
%doc %{_datadir}/help/C/anjuta-manual/
|
2011-04-27 14:16:26 +02:00
|
|
|
%{_bindir}/anjuta
|
|
|
|
%{_bindir}/anjuta-launcher
|
|
|
|
%{_bindir}/anjuta-tags
|
|
|
|
%{_libdir}/anjuta/
|
|
|
|
%{_datadir}/anjuta/
|
2014-04-03 22:30:10 +02:00
|
|
|
%dir %{_datadir}/appdata
|
|
|
|
%{_datadir}/appdata/anjuta.appdata.xml
|
2007-01-10 17:32:50 +01:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/mime/packages/*.xml
|
2011-04-27 14:16:26 +02:00
|
|
|
%{_datadir}/pixmaps/anjuta/
|
2011-04-27 13:31:30 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
2013-08-21 23:14:57 +02:00
|
|
|
%{_datadir}/icons/HighContrast/
|
2010-08-10 00:42:17 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
2014-08-23 13:52:40 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
2007-10-19 04:26:19 +02:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
2014-08-23 13:52:40 +02:00
|
|
|
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
|
2007-01-10 17:32:50 +01:00
|
|
|
%doc %{_mandir}/man?/*.*
|
2010-10-15 16:56:02 +02:00
|
|
|
|
2011-10-06 23:25:51 +02:00
|
|
|
%files -n libanjuta-3-0
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libanjuta-3.so.*
|
2011-12-12 16:57:02 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-Anjuta-3_0
|
|
|
|
%defattr(-,root,root)
|
2011-10-06 23:25:51 +02:00
|
|
|
%{_libdir}/girepository-1.0/Anjuta-3.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/IAnjuta-3.0.typelib
|
|
|
|
|
2011-06-05 11:29:59 +02:00
|
|
|
%files -n glade-catalog-anjuta
|
2010-10-15 16:56:02 +02:00
|
|
|
%defattr(-, root, root)
|
2011-06-05 11:29:59 +02:00
|
|
|
%{_libdir}/glade/modules/libgladeanjuta.so
|
|
|
|
%{_datadir}/glade/catalogs/anjuta-glade.xml
|
2007-10-19 04:26:19 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2011-02-14 12:24:44 +01:00
|
|
|
%doc %{_datadir}/gtk-doc/html/libanjuta/
|
2011-04-27 13:31:30 +02:00
|
|
|
%{_includedir}/libanjuta-3.0/
|
2011-10-06 23:25:51 +02:00
|
|
|
%{_libdir}/libanjuta-3.so
|
|
|
|
%{_libdir}/pkgconfig/libanjuta-3.0.pc
|
2011-04-27 14:16:26 +02:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2007-01-10 17:32:50 +01:00
|
|
|
|
2007-08-09 17:43:01 +02:00
|
|
|
%files lang -f %name.lang
|
2008-02-01 00:15:19 +01:00
|
|
|
|
2007-04-18 18:02:06 +02:00
|
|
|
%changelog
|