2007-01-10 16:32:50 +00:00
|
|
|
#
|
2011-04-27 11:31:30 +00:00
|
|
|
# spec file for package anjuta
|
2007-01-10 16:32:50 +00:00
|
|
|
#
|
2022-09-13 07:31:35 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-10 16:32:50 +00:00
|
|
|
#
|
2008-09-06 03:28:01 +00: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.
|
|
|
|
|
2019-10-04 15:28:15 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-10 16:32:50 +00:00
|
|
|
#
|
|
|
|
|
2012-02-22 10:31:42 +00:00
|
|
|
|
2007-01-10 16:32:50 +00:00
|
|
|
Name: anjuta
|
2019-10-04 15:28:15 +00:00
|
|
|
Version: 3.34.0
|
2011-12-21 05:08:55 +00:00
|
|
|
Release: 0
|
2010-10-15 14:56:02 +00:00
|
|
|
Summary: Versatile Integrated Development Environment for GNOME
|
2018-03-09 09:59:50 +00:00
|
|
|
License: GPL-2.0-or-later
|
2009-09-03 22:22:33 +00:00
|
|
|
Group: Development/Tools/IDE
|
2018-03-09 09:59:50 +00:00
|
|
|
URL: https://wiki.gnome.org/Apps/Anjuta
|
2019-10-04 15:28:15 +00:00
|
|
|
Source0: https://download.gnome.org/sources/anjuta/3.34/%{name}-%{version}.tar.xz
|
2011-11-28 08:15:28 +00:00
|
|
|
Source99: %{name}-rpmlintrc
|
2021-05-21 12:01:46 +00:00
|
|
|
# PATCH-FIX-UPSTREAM libgda-6.patch gmbr3@opensuse.org -- Require and support GDA 6
|
|
|
|
Patch0: libgda-6.patch
|
2008-09-06 03:28:01 +00:00
|
|
|
BuildRequires: autogen
|
|
|
|
BuildRequires: binutils-devel
|
2011-06-16 23:52:56 +00:00
|
|
|
BuildRequires: bison
|
2008-09-06 03:28:01 +00:00
|
|
|
BuildRequires: fdupes
|
2011-06-16 23:52:56 +00:00
|
|
|
BuildRequires: flex
|
2008-09-06 03:28:01 +00:00
|
|
|
BuildRequires: gcc-c++
|
2021-09-21 07:47:34 +00:00
|
|
|
BuildRequires: gnome-common
|
2011-04-27 12:16:26 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2008-09-06 03:28:01 +00:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libapr-util1-devel
|
|
|
|
BuildRequires: libapr1-devel
|
2018-03-15 22:35:08 +00:00
|
|
|
BuildRequires: libvala-devel
|
2008-09-06 03:28:01 +00:00
|
|
|
BuildRequires: libxslt-devel
|
2009-02-12 15:34:38 +00:00
|
|
|
BuildRequires: perl-gettext
|
2017-08-31 07:45:53 +00:00
|
|
|
BuildRequires: pkgconfig
|
2010-10-15 14:56:02 +00:00
|
|
|
BuildRequires: sqlite3-devel
|
2008-09-06 03:28:01 +00:00
|
|
|
BuildRequires: subversion-devel
|
2012-01-13 16:27:06 +00:00
|
|
|
BuildRequires: vala
|
2012-09-27 15:12:36 +00:00
|
|
|
BuildRequires: yelp-tools
|
2012-09-11 16:59:47 +00:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.0.0
|
2012-11-18 15:25:11 +00:00
|
|
|
BuildRequires: pkgconfig(gdl-3.0) >= 3.5.5
|
2012-09-11 16:59:47 +00:00
|
|
|
BuildRequires: pkgconfig(gladeui-2.0) >= 3.12.0
|
2013-07-10 20:33:40 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.34.0
|
2013-08-21 21:14:57 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0
|
2012-09-11 16:59:47 +00:00
|
|
|
BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.0.0
|
2022-09-13 07:31:35 +00:00
|
|
|
#BuildRequires: pkgconfig(libdevhelp-3.0) >= 3.7.5
|
2021-05-21 12:01:46 +00:00
|
|
|
BuildRequires: pkgconfig(libgda-6.0) >= 6.0.0
|
2011-04-27 12:16:26 +00:00
|
|
|
BuildRequires: pkgconfig(libgvc)
|
2012-09-11 16:59:47 +00:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.23
|
2014-04-03 20:30:10 +00:00
|
|
|
BuildRequires: pkgconfig(serf-1)
|
2014-08-23 11:52:40 +00:00
|
|
|
BuildRequires: pkgconfig(vte-2.91)
|
2007-10-26 18:10:49 +00:00
|
|
|
# Directly required by anjuta:
|
2009-09-03 22:22:33 +00:00
|
|
|
Requires: autoconf
|
2007-10-26 18:10:49 +00:00
|
|
|
Requires: autogen
|
2008-09-06 03:28:01 +00:00
|
|
|
Requires: automake
|
|
|
|
Requires: gettext
|
2010-08-09 22:42:17 +00:00
|
|
|
# libgda-sqlite is needed by the symbol-db plugin. See bnc#624924.
|
2021-05-21 12:01:46 +00:00
|
|
|
Requires: libgda-sqlite >= 6.0.0
|
2017-08-31 07:45:53 +00:00
|
|
|
Requires: libtool
|
|
|
|
%ifnarch ia64 s390 s390x aarch64 ppc64le
|
|
|
|
BuildRequires: valgrind-devel
|
|
|
|
%endif
|
2007-01-10 16:32:50 +00:00
|
|
|
|
|
|
|
%description
|
2010-10-15 14:56:02 +00: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 21:25:51 +00:00
|
|
|
%package -n libanjuta-3-0
|
2017-09-09 10:25:27 +00:00
|
|
|
Summary: Library for developing Anjuta plugins
|
2011-10-06 21:25:51 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libanjuta-3-0
|
|
|
|
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
2017-09-09 10:25:27 +00:00
|
|
|
GNOME desktop.
|
2011-10-06 21:25:51 +00:00
|
|
|
|
2011-12-12 15:57:02 +00:00
|
|
|
%package -n typelib-1_0-Anjuta-3_0
|
2017-09-09 10:25:27 +00:00
|
|
|
Summary: Introspection bindings for the Anjuta plugin library
|
2011-12-12 15:57:02 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Anjuta-3_0
|
|
|
|
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
2017-09-09 10:25:27 +00:00
|
|
|
GNOME desktop.
|
2011-12-12 15:57:02 +00:00
|
|
|
|
2011-12-21 05:08:55 +00:00
|
|
|
This package provides the GObject Introspection bindings for the Anjuta
|
|
|
|
library to develop plugins.
|
|
|
|
|
2011-06-05 09:29:59 +00:00
|
|
|
%package -n glade-catalog-anjuta
|
2017-09-09 10:25:27 +00:00
|
|
|
Summary: Glade catalog for Anjuta
|
2010-10-15 14:56:02 +00:00
|
|
|
Group: Development/Tools/GUI Builders
|
|
|
|
Requires: %{name} = %{version}
|
2011-06-05 09:29:59 +00:00
|
|
|
Requires: glade
|
|
|
|
Supplements: packageand(glade:%{name}-devel)
|
2010-10-15 14:56:02 +00:00
|
|
|
|
2011-06-05 09:29:59 +00:00
|
|
|
%description -n glade-catalog-anjuta
|
2010-10-15 14:56:02 +00:00
|
|
|
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
2017-09-09 10:25:27 +00:00
|
|
|
GNOME desktop.
|
2010-10-15 14:56:02 +00:00
|
|
|
|
|
|
|
This package provides a catalog for Glade, to allow the use the Anjuta
|
|
|
|
widgets in Glade.
|
2011-06-05 09:29:59 +00:00
|
|
|
|
2007-10-19 02:26:19 +00:00
|
|
|
%package devel
|
2017-09-09 10:25:27 +00:00
|
|
|
Summary: Development files for Anjuta plugins
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-10-06 21:25:51 +00:00
|
|
|
Requires: libanjuta-3-0 = %{version}
|
2011-12-12 15:57:02 +00:00
|
|
|
Requires: typelib-1_0-Anjuta-3_0 = %{version}
|
2011-02-14 11:24:44 +00:00
|
|
|
Provides: %{name}-doc = %{version}
|
2011-04-27 11:31:30 +00:00
|
|
|
Obsoletes: %{name}-doc < %{version}
|
2007-10-19 02:26:19 +00:00
|
|
|
|
|
|
|
%description devel
|
2010-10-15 14:56:02 +00:00
|
|
|
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
2017-09-09 10:25:27 +00:00
|
|
|
GNOME desktop.
|
2007-10-19 02:26:19 +00:00
|
|
|
|
2007-08-09 15:43:01 +00:00
|
|
|
%lang_package
|
2017-08-31 07:45:53 +00:00
|
|
|
|
2007-01-10 16:32:50 +00:00
|
|
|
%prep
|
2021-05-21 12:01:46 +00:00
|
|
|
%autosetup -p1
|
2007-01-10 16:32:50 +00:00
|
|
|
|
|
|
|
%build
|
2021-05-21 12:01:46 +00:00
|
|
|
export AUTOPOINT='intltoolize --automake --copy'
|
|
|
|
autoreconf -fiv
|
2007-10-24 23:44:45 +00:00
|
|
|
%configure\
|
2011-04-27 11:31:30 +00:00
|
|
|
--disable-static \
|
2017-08-31 07:45:53 +00:00
|
|
|
--enable-glade-catalog \
|
2022-09-13 07:31:35 +00:00
|
|
|
--disable-plugin-devhelp \
|
2017-09-11 10:16:52 +00:00
|
|
|
%{nil}
|
2022-09-13 07:31:35 +00:00
|
|
|
%make_build
|
2007-01-10 16:32:50 +00:00
|
|
|
|
|
|
|
%install
|
2018-03-09 09:59:50 +00:00
|
|
|
%make_install
|
2007-01-10 16:32:50 +00:00
|
|
|
# These should go to defaultdocdir.
|
2009-09-03 22:22:33 +00:00
|
|
|
rm -r %{buildroot}%{_datadir}/doc
|
2011-02-14 11:24:44 +00:00
|
|
|
%find_lang anjuta %{?no_lang_C}
|
2012-03-21 09:25:10 +00:00
|
|
|
%find_lang anjuta-faqs %{no_lang_C} %{name}.lang
|
2011-02-14 15:21:10 +00:00
|
|
|
# There's no translation for those yet. If build fails because of non-packaged
|
|
|
|
# translations, uncomment those lines.
|
2018-03-13 08:21:53 +00:00
|
|
|
%find_lang anjuta-build-tutorial %{?no_lang_C} anjuta.lang
|
2011-02-14 15:21:10 +00:00
|
|
|
#%%find_lang anjuta-faqs %{?no_lang_C} anjuta.lang
|
2011-02-14 11:24:44 +00:00
|
|
|
%find_lang anjuta-manual %{?no_lang_C} anjuta.lang
|
2009-09-03 22:22:33 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2017-09-09 10:25:27 +00:00
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2007-08-09 15:43:01 +00:00
|
|
|
|
2017-08-31 07:45:53 +00:00
|
|
|
%post -n libanjuta-3-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libanjuta-3-0 -p /sbin/ldconfig
|
2011-10-06 21:25:51 +00:00
|
|
|
|
2011-04-27 11:31:30 +00:00
|
|
|
%files
|
2018-03-09 09:59:50 +00:00
|
|
|
%license COPYING
|
2018-03-13 08:21:53 +00:00
|
|
|
%doc AUTHORS NEWS README doc/ScintillaDoc.html
|
2012-09-27 15:12:36 +00:00
|
|
|
%doc %{_datadir}/help/C/anjuta-build-tutorial/
|
|
|
|
%doc %{_datadir}/help/C/anjuta-faqs/
|
|
|
|
%doc %{_datadir}/help/C/anjuta-manual/
|
2011-04-27 12:16:26 +00:00
|
|
|
%{_bindir}/anjuta
|
|
|
|
%{_bindir}/anjuta-launcher
|
|
|
|
%{_bindir}/anjuta-tags
|
|
|
|
%{_libdir}/anjuta/
|
|
|
|
%{_datadir}/anjuta/
|
2018-03-13 08:21:53 +00:00
|
|
|
%dir %{_datadir}/metainfo
|
|
|
|
%{_datadir}/metainfo/anjuta.appdata.xml
|
2007-01-10 16:32:50 +00:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/mime/packages/*.xml
|
2011-04-27 12:16:26 +00:00
|
|
|
%{_datadir}/pixmaps/anjuta/
|
2011-04-27 11:31:30 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
2010-08-09 22:42:17 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
2014-08-23 11:52:40 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
2007-10-19 02:26:19 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
2014-08-23 11:52:40 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
|
2015-09-21 06:49:47 +00:00
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/anjuta-symbolic.svg
|
2018-03-09 09:59:50 +00:00
|
|
|
%{_mandir}/man?/*%{ext_man}
|
2010-10-15 14:56:02 +00:00
|
|
|
|
2011-10-06 21:25:51 +00:00
|
|
|
%files -n libanjuta-3-0
|
|
|
|
%{_libdir}/libanjuta-3.so.*
|
2011-12-12 15:57:02 +00:00
|
|
|
|
|
|
|
%files -n typelib-1_0-Anjuta-3_0
|
2011-10-06 21:25:51 +00:00
|
|
|
%{_libdir}/girepository-1.0/Anjuta-3.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/IAnjuta-3.0.typelib
|
|
|
|
|
2011-06-05 09:29:59 +00:00
|
|
|
%files -n glade-catalog-anjuta
|
|
|
|
%{_libdir}/glade/modules/libgladeanjuta.so
|
|
|
|
%{_datadir}/glade/catalogs/anjuta-glade.xml
|
2007-10-19 02:26:19 +00:00
|
|
|
|
|
|
|
%files devel
|
2018-03-13 08:21:53 +00:00
|
|
|
%doc ChangeLog FUTURE TODO
|
|
|
|
# Own these directories to avoid requirement on gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
2011-02-14 11:24:44 +00:00
|
|
|
%doc %{_datadir}/gtk-doc/html/libanjuta/
|
2011-04-27 11:31:30 +00:00
|
|
|
%{_includedir}/libanjuta-3.0/
|
2011-10-06 21:25:51 +00:00
|
|
|
%{_libdir}/libanjuta-3.so
|
|
|
|
%{_libdir}/pkgconfig/libanjuta-3.0.pc
|
2011-04-27 12:16:26 +00:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2007-01-10 16:32:50 +00:00
|
|
|
|
2018-03-09 09:59:50 +00:00
|
|
|
%files lang -f %{name}.lang
|
2008-01-31 23:15:19 +00:00
|
|
|
|
2007-04-18 16:02:06 +00:00
|
|
|
%changelog
|