cecfb9f2af
Basically make anjuta usable again, by allowing saving instead of falsely warning about deleted files OBS-URL: https://build.opensuse.org/request/show/342874 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/anjuta?expand=0&rev=187
249 lines
8.6 KiB
RPMSpec
249 lines
8.6 KiB
RPMSpec
#
|
|
# spec file for package anjuta
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX 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/
|
|
#
|
|
|
|
|
|
Name: anjuta
|
|
Version: 3.18.0
|
|
Release: 0
|
|
Summary: Versatile Integrated Development Environment for GNOME
|
|
License: GPL-2.0+
|
|
Group: Development/Tools/IDE
|
|
Url: https://wiki.gnome.org/Apps/Anjuta
|
|
Source0: http://download.gnome.org/sources/anjuta/3.18/%{name}-%{version}.tar.xz
|
|
Source99: %{name}-rpmlintrc
|
|
# PATCH-FIX-UPSTREAM anjuta-file-deleted-upon-save.patch bgo#756426 badshah400@gmail.com -- Prevent showing "The file ... has been deleted on the disk" everytime on file save
|
|
Patch0: anjuta-file-deleted-upon-save.patch
|
|
BuildRequires: autogen
|
|
BuildRequires: binutils-devel
|
|
BuildRequires: bison
|
|
BuildRequires: fdupes
|
|
BuildRequires: flex
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libapr-util1-devel
|
|
BuildRequires: libapr1-devel
|
|
BuildRequires: libxslt-devel
|
|
BuildRequires: perl-gettext
|
|
BuildRequires: shared-mime-info
|
|
BuildRequires: sqlite3-devel
|
|
BuildRequires: subversion-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: vala
|
|
BuildRequires: yelp-tools
|
|
%ifnarch ia64 s390 s390x aarch64 ppc64le
|
|
BuildRequires: valgrind-devel
|
|
%endif
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.0.0
|
|
BuildRequires: pkgconfig(gdl-3.0) >= 3.5.5
|
|
BuildRequires: pkgconfig(gladeui-2.0) >= 3.12.0
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.34.0
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0
|
|
BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.0.0
|
|
BuildRequires: pkgconfig(libdevhelp-3.0) >= 3.7.5
|
|
BuildRequires: pkgconfig(libgda-5.0) >= 5.0.0
|
|
BuildRequires: pkgconfig(libgvc)
|
|
BuildRequires: pkgconfig(libvala-0.30)
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.23
|
|
BuildRequires: pkgconfig(serf-1)
|
|
BuildRequires: pkgconfig(vte-2.91)
|
|
# Directly required by anjuta:
|
|
Requires: autoconf
|
|
Requires: autogen
|
|
Requires: automake
|
|
Requires: gettext
|
|
Requires: libtool
|
|
# libgda-sqlite is needed by the symbol-db plugin. See bnc#624924.
|
|
Requires: libgda-sqlite
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
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.
|
|
|
|
%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.
|
|
|
|
%package -n typelib-1_0-Anjuta-3_0
|
|
Summary: Libraries for developing Anjuta plugins -- Introspection bindings
|
|
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.
|
|
|
|
This package provides the GObject Introspection bindings for the Anjuta
|
|
library to develop plugins.
|
|
|
|
%package -n glade-catalog-anjuta
|
|
Summary: Versatile Integrated Development Environment for GNOME -- Catalog for Glade
|
|
Group: Development/Tools/GUI Builders
|
|
Requires: %{name} = %{version}
|
|
Requires: glade
|
|
Supplements: packageand(glade:%{name}-devel)
|
|
|
|
%description -n glade-catalog-anjuta
|
|
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.
|
|
|
|
%package devel
|
|
Summary: Libraries for developing Anjuta plugins -- Development Files
|
|
Group: Development/Tools/IDE
|
|
Requires: libanjuta-3-0 = %{version}
|
|
Requires: typelib-1_0-Anjuta-3_0 = %{version}
|
|
Provides: %{name}-doc = %{version}
|
|
Obsoletes: %{name}-doc < %{version}
|
|
|
|
%description devel
|
|
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.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
# HACK to support vala 0.30
|
|
sed -i "s:-0.28:-0.30:g" configure
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%configure\
|
|
--disable-static \
|
|
--enable-glade-catalog
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%makeinstall
|
|
# These should go to defaultdocdir.
|
|
rm -r %{buildroot}%{_datadir}/doc
|
|
%suse_update_desktop_file anjuta
|
|
%find_lang anjuta %{?no_lang_C}
|
|
%find_lang anjuta-faqs %{no_lang_C} %{name}.lang
|
|
# 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
|
|
%find_lang anjuta-manual %{?no_lang_C} anjuta.lang
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%fdupes %{buildroot}
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
%icon_theme_cache_post HighContrast
|
|
%mime_database_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
%icon_theme_cache_postun HighContrast
|
|
%mime_database_postun
|
|
|
|
%post -n libanjuta-3-0
|
|
/sbin/ldconfig
|
|
|
|
%postun -n libanjuta-3-0
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog FUTURE NEWS README doc/ScintillaDoc.html TODO
|
|
%doc %{_datadir}/help/C/anjuta-build-tutorial/
|
|
%doc %{_datadir}/help/C/anjuta-faqs/
|
|
%doc %{_datadir}/help/C/anjuta-manual/
|
|
%{_bindir}/anjuta
|
|
%{_bindir}/anjuta-launcher
|
|
%{_bindir}/anjuta-tags
|
|
%{_libdir}/anjuta/
|
|
%{_datadir}/anjuta/
|
|
%dir %{_datadir}/appdata
|
|
%{_datadir}/appdata/anjuta.appdata.xml
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/mime/packages/*.xml
|
|
%{_datadir}/pixmaps/anjuta/
|
|
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
|
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
|
|
%{_datadir}/icons/hicolor/symbolic/apps/anjuta-symbolic.svg
|
|
%doc %{_mandir}/man?/*.*
|
|
|
|
%files -n libanjuta-3-0
|
|
%defattr(-, root, root)
|
|
%{_libdir}/libanjuta-3.so.*
|
|
|
|
%files -n typelib-1_0-Anjuta-3_0
|
|
%defattr(-,root,root)
|
|
%{_libdir}/girepository-1.0/Anjuta-3.0.typelib
|
|
%{_libdir}/girepository-1.0/IAnjuta-3.0.typelib
|
|
|
|
%files -n glade-catalog-anjuta
|
|
%defattr(-, root, root)
|
|
%{_libdir}/glade/modules/libgladeanjuta.so
|
|
%{_datadir}/glade/catalogs/anjuta-glade.xml
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%doc %{_datadir}/gtk-doc/html/libanjuta/
|
|
%{_includedir}/libanjuta-3.0/
|
|
%{_libdir}/libanjuta-3.so
|
|
%{_libdir}/pkgconfig/libanjuta-3.0.pc
|
|
%{_datadir}/gir-1.0/*.gir
|
|
|
|
%files lang -f %name.lang
|
|
|
|
%changelog
|