cf4511010b
thanks OBS-URL: https://build.opensuse.org/request/show/67338 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/anjuta?expand=0&rev=80
215 lines
6.9 KiB
RPMSpec
215 lines
6.9 KiB
RPMSpec
#
|
|
# spec file for package anjuta
|
|
#
|
|
# Copyright (c) 2011 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/
|
|
#
|
|
|
|
|
|
|
|
Name: anjuta
|
|
Version: 3.0.0.0
|
|
Release: 1
|
|
License: GPLv2+
|
|
Summary: Versatile Integrated Development Environment for GNOME
|
|
Url: http://anjuta.sourceforge.net/
|
|
Group: Development/Tools/IDE
|
|
Source: anjuta-%{version}.tar.bz2
|
|
Source1: %{name}-rpmlintrc
|
|
BuildRequires: autogen
|
|
BuildRequires: binutils-devel
|
|
BuildRequires: devhelp-devel
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gdl-devel
|
|
BuildRequires: gnome-common
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: gnome-icon-theme
|
|
BuildRequires: graphviz-devel
|
|
BuildRequires: gtksourceview-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libapr-util1-devel
|
|
BuildRequires: libapr1-devel
|
|
BuildRequires: libgda-4_0-devel
|
|
BuildRequires: libgladeui-1_0-devel
|
|
BuildRequires: libneon-devel
|
|
BuildRequires: libwnck-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
|
|
%ifnarch ia64 s390 s390x
|
|
BuildRequires: valgrind-devel
|
|
%endif
|
|
BuildRequires: pkgconfig(vte-2.90)
|
|
BuildRequires: pkgconfig(libvala-0.12)
|
|
# 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.
|
|
|
|
%if 0
|
|
%package -n glade3-catalog-anjuta
|
|
License: GPLv2+
|
|
Summary: Versatile Integrated Development Environment for GNOME -- Catalog for Glade
|
|
Group: Development/Tools/GUI Builders
|
|
Requires: %{name} = %{version}
|
|
Requires: glade3
|
|
Supplements: packageand(glade3:%{name}-devel)
|
|
|
|
%description -n glade3-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.
|
|
%endif
|
|
|
|
%package devel
|
|
License: GPLv2+
|
|
Summary: Versatile Integrated Development Environment for GNOME -- Development Files
|
|
Group: Development/Tools/IDE
|
|
Requires: %{name} = %{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
|
|
#translation-update-upstream
|
|
|
|
%build
|
|
%configure\
|
|
--disable-static \
|
|
--disable-scrollkeeper
|
|
make %{?jobs:-j%jobs} V=1
|
|
|
|
%install
|
|
%makeinstall
|
|
%if 0%{?suse_version} <= 1120
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
%endif
|
|
# These should go to defaultdocdir.
|
|
rm -r %{buildroot}%{_datadir}/doc
|
|
DESTDIR=%{buildroot} mime-info-to-mime
|
|
%suse_update_desktop_file anjuta
|
|
%find_lang anjuta %{?no_lang_C}
|
|
# 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}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
%icon_theme_cache_post gnome
|
|
%mime_database_post
|
|
%glib2_gsettings_schema_post
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
%icon_theme_cache_postun gnome
|
|
%mime_database_postun
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog FUTURE NEWS README doc/ScintillaDoc.html TODO
|
|
%dir %{_datadir}/gnome/
|
|
%dir %{_datadir}/gnome/help/
|
|
%dir %{_datadir}/gnome/help/anjuta-build-tutorial/
|
|
%doc %{_datadir}/gnome/help/anjuta-build-tutorial/C/
|
|
%dir %{_datadir}/gnome/help/anjuta-faqs/
|
|
%doc %{_datadir}/gnome/help/anjuta-faqs/C/
|
|
%dir %{_datadir}/gnome/help/anjuta-manual/
|
|
%doc %{_datadir}/gnome/help/anjuta-manual/C/
|
|
%dir %{_datadir}/omf/
|
|
%dir %{_datadir}/omf/anjuta-manual/
|
|
%doc %{_datadir}/omf/anjuta-manual/anjuta-manual-C.omf
|
|
%{_bindir}/*
|
|
%{_libdir}/anjuta
|
|
%{_libdir}/*.so.*
|
|
%{_datadir}/anjuta
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/mime/packages/*.xml
|
|
%{_datadir}/pixmaps/anjuta
|
|
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
|
# When removing the gnome icon theme icons, don't forget to remove the %%icon_theme_cache_post(un) call for them
|
|
# Somehow I think that this is wrong:
|
|
%dir %{_datadir}/icons/gnome/*/mimetypes/
|
|
%{_datadir}/icons/gnome/*/mimetypes/*.png
|
|
%{_datadir}/icons/gnome/scalable/mimetypes/*.svg
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
|
%doc %{_mandir}/man?/*.*
|
|
|
|
%if 0
|
|
%files -n glade3-catalog-anjuta
|
|
%defattr(-, root, root)
|
|
%{_libdir}/glade3/modules/libgladeanjuta.so
|
|
%{_datadir}/glade3/catalogs/anjuta-glade.xml
|
|
%endif
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%doc %{_datadir}/gtk-doc/html/libanjuta/
|
|
%{_includedir}/libanjuta-3.0/
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%files lang -f %name.lang
|
|
|
|
%changelog
|