%define majver %(echo %version|cut -d. -f1-2) Name: anjuta Version: 3.34.0 Release: 6mamba Summary: Integrated development environment for C and C++ Group: Graphical Desktop/Applications/Development Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://anjuta.org/ Source: https://download.gnome.org/sources/anjuta/%{majver}/anjuta-%{version}.tar.xz Patch0: anjuta-3.8.3-gcc-4.8.patch Patch1: anjuta-3.20.0-gcc-6.1.0.patch Patch2: anjuta-3.34.0-libgda-6.0.0.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glade-devel BuildRequires: glibc-devel BuildRequires: libapr-devel BuildRequires: libaprutil-devel BuildRequires: libatk-devel BuildRequires: libblkid-devel BuildRequires: libbrotli-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libdb53-devel BuildRequires: libdevhelp-devel BuildRequires: libe2fs-devel BuildRequires: libexpat-devel BuildRequires: libffi-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgda-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdl-devel BuildRequires: libglib-devel BuildRequires: libgraphite2-devel BuildRequires: libgtk3-devel BuildRequires: libgtksourceview3-devel BuildRequires: libharfbuzz-devel BuildRequires: libkrb5-devel BuildRequires: liblz4-devel BuildRequires: liblzma-devel BuildRequires: libmagic-devel BuildRequires: libmount-devel BuildRequires: libneon-devel BuildRequires: libopenldap-devel BuildRequires: libopenssl-devel BuildRequires: libpango-devel BuildRequires: libpcre-devel BuildRequires: libpng-devel BuildRequires: libproxy-devel BuildRequires: libpython27-devel BuildRequires: libsasl2-devel BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: libserf-devel BuildRequires: libsoup2-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libutf8proc-devel BuildRequires: libuuid-devel BuildRequires: libvte-devel BuildRequires: libwebkit2gtk-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: perl-devel BuildRequires: subversion-devel ## AUTOBUILDREQ-END BuildRequires: vala-devel >= 0.46.3-1mamba BuildRequires: libgeoclue0-devel BuildRequires: libgeoclue0-static BuildRequires: libscrollkeeper-devel BuildRequires: ImageMagick BuildRequires: perl-XML-Parser BuildRequires: desktop-file-utils BuildRequires: libSDL-devel BuildRequires: gnome-doc-utils-devel BuildRequires: valgrind-devel BuildRequires: libbinutils-devel BuildRequires: cvs BuildRequires: gdb BuildRequires: patch BuildRequires: libdevhelp-devel >= 3.34.0 BuildRequires: libgtksourceview-devel >= %{majver} BuildRequires: glade-devel >= 3.38.2 Provides: perl(GBF::Make) = %{version}-%{release} Provides: gnome-build Obsoletes: gnome-build < 3.34.0-5mamba Provides: libanjuta Obsoletes: libanjuta < 3.34.0-5mamba Requires: autoconf Requires: autogen Requires: libopts Requires: automake Requires: cvs Requires: devhelp Requires: devhelp-plugins Requires: gdb Requires: indent Requires: make Requires: patch Requires: libgda-sqlite %description Anjuta is a versatile Integrated Development Environment (IDE) for C and C++ on GNU/Linux. It has been written for GTK/GNOME and features a number of advanced programming facilities. These include project management, application wizards, an on-board interactive debugger, and a powerful source editor with source browsing and syntax highlighting. Anjuta is an effort to marry the flexibility and power of text-based command-line tools with the ease-of-use of the GNOME graphical user interface. That is why it has been made as user-friendly as possible. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Anjuta is a versatile Integrated Development Environment (IDE) for C and C++ on GNU/Linux. It has been written for GTK/GNOME and features a number of advanced programming facilities. These include project management, application wizards, an on-board interactive debugger, and a powerful source editor with source browsing and syntax highlighting. Anjuta is an effort to marry the flexibility and power of text-based command-line tools with the ease-of-use of the GNOME graphical user interface. That is why it has been made as user-friendly as possible. This package contains libraries and header files needed for development. %package static Group: Development/Libraries Summary: Static libraries for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description static %{name} is part of the autogen build system This package contains static libraries needed for development. %package doc Summary: Documentation for Anjuta DevStudio Group: Documentation Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description doc Documentation for Anjuta DevStudio provided in DocBook format. %debug_package %prep %setup -q #-D -T #:<< ___EOF #%patch0 -p1 %patch1 -p1 %patch2 -p1 -b .libgda-6.0.0 ./autogen.sh %build #:<< ____EOF %configure \ CFLAGS="%{optflags} -O2 -Wno-error=format-nonliteral -Wno-error=format-y2k" \ CXXFLAGS="%{optflags} -O2" FFLAGS="-O2" \ --disable-gtk-doc \ --disable-scrollkeeper \ --host= # --host= : workaround since 3.6.0 %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall #perl -pi -e "s|\r\n|\n|" %{buildroot}%{_datadir}/%{name}/properties/*.properties doc/ScintillaDoc.html #cp %{_datadir}/anjuta/macros.xml $HOME/.anjuta/macros.xml # FIXME: remove executable flag to prevent a wrong requirement for 'import' to be added chmod -x %{buildroot}%{_libdir}/anjuta/anjuta-python-autocomplete.py %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig if [ $1 -ge 1 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi : %postun /sbin/ldconfig if [ $1 -eq 0 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi : %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/anjuta %{_bindir}/anjuta-launcher %{_bindir}/anjuta-tags %{_libdir}/libanjuta-3.so.* %{_datadir}/glib-2.0/schemas/org.gnome.anjuta*.xml %dir %{_datadir}/anjuta %{_datadir}/anjuta/* %{_datadir}/metainfo/anjuta.appdata.xml %{_datadir}/applications/anjuta.desktop %{_datadir}/icons/hicolor/*/mimetypes/application-x-anjuta.png %{_datadir}/icons/hicolor/scalable/mimetypes/application-x-anjuta.svg %{_datadir}/icons/hicolor/symbolic/apps/anjuta-symbolic.svg %{_datadir}/icons/hicolor/*/apps/anjuta.png %{_datadir}/icons/hicolor/scalable/apps/anjuta.svg %{_datadir}/mime/packages/anjuta.xml %dir %{_datadir}/pixmaps/anjuta %{_datadir}/pixmaps/anjuta/*.svg %{_datadir}/pixmaps/anjuta/*.xcf %{_datadir}/pixmaps/anjuta/*.png %dir %{_libdir}/anjuta %{_libdir}/anjuta/anjuta-python-autocomplete.py %{_libdir}/anjuta/*.plugin %{_libdir}/anjuta/lib*.so %{_libdir}/girepository-1.0/Anjuta-3.0.typelib %{_libdir}/girepository-1.0/IAnjuta-3.0.typelib #%{_libdir}/glade/modules/libgladeanjuta.la #%{_libdir}/glade/modules/libgladeanjuta.so #%{_datadir}/glade/catalogs/anjuta-glade.xml %{_datadir}/help/C/anjuta-build-tutorial/index.docbook %{_datadir}/help/C/anjuta-build-tutorial/figures/*.png %dir %{_datadir}/help/*/anjuta-faqs %{_datadir}/help/*/anjuta-faqs/* %dir %{_datadir}/help/*/anjuta-manual %{_datadir}/help/*/anjuta-manual/* %lang(cs) %{_datadir}/help/cs/anjuta-build-tutorial %lang(de) %{_datadir}/help/de/anjuta-build-tutorial %lang(es) %{_datadir}/help/es/anjuta-build-tutorial %{_mandir}/man1/anjuta.1* %{_mandir}/man1/anjuta-launcher.1* %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/libanjuta-3.0/libanjuta %{_includedir}/libanjuta-3.0/libanjuta/* %{_libdir}/anjuta/lib*.la %{_libdir}/libanjuta-3.la %{_libdir}/libanjuta-3.so %{_datadir}/gir-1.0/Anjuta-3.0.gir %{_datadir}/gir-1.0/IAnjuta-3.0.gir %{_libdir}/pkgconfig/*.pc %files doc %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/libanjuta #%{_datadir}/gtk-doc/html/libanjuta/*.sgml #%{_datadir}/gtk-doc/html/libanjuta/libanjuta.devhelp %{_datadir}/gtk-doc/html/libanjuta/libanjuta.devhelp2 %{_datadir}/gtk-doc/html/libanjuta/*.css %{_datadir}/gtk-doc/html/libanjuta/*.png %{_datadir}/gtk-doc/html/libanjuta/*.html %dir %{_docdir}/anjuta %doc %{_docdir}/anjuta/* %changelog * Tue Apr 26 2022 Silvan Calarco 3.34.0-6mamba - rebuilt with libgda 6.0.0 (upstream patch added) * Mon Apr 25 2022 Silvan Calarco 3.34.0-5mamba - rebuilt with glade 3.38.2 * Sun Apr 05 2020 Silvan Calarco 3.34.0-4mamba - rebuilt with debug package * Sat Oct 19 2019 Silvan Calarco 3.34.0-3mamba - rebuilt with vala 0.46.3 * Thu Oct 03 2019 Silvan Calarco 3.34.0-2mamba - rebuilt with devhelp 3.34.0 * Fri Sep 20 2019 Automatic Build System 3.34.0-1mamba - automatic version update by autodist * Thu Aug 29 2019 Automatic Build System 3.28.0-1mamba - automatic version update by autodist * Fri Nov 04 2016 Automatic Build System 3.22.0-1mamba - automatic version update by autodist * Sun May 08 2016 Automatic Build System 3.20.0-1mamba - automatic version update by autodist * Tue Jan 19 2016 Automatic Build System 3.18.2-1mamba - automatic version update by autodist * Sat Jan 16 2016 Silvan Calarco 3.16.0-2mamba - rebuilt by autoport with build requirements: vala-devel>=0.30.0-1mamba * Thu Oct 08 2015 Automatic Build System 3.16.0-1mamba - automatic version update by autodist * Wed May 06 2015 Silvan Calarco 3.14.1-2mamba - rebuilt by autoport with build requirements: * Sat Feb 14 2015 Automatic Build System 3.14.1-1mamba - automatic update by autodist * Sat Jan 10 2015 Silvan Calarco 3.14.0-2mamba - remove requirements for gnome 2.x libglade* and libgnoomemm-* * Sun Oct 12 2014 Automatic Build System 3.14.0-1mamba - automatic version update by autodist * Tue Apr 15 2014 Automatic Build System 3.12.0-1mamba - automatic version update by autodist * Sat Nov 16 2013 Automatic Build System 3.10.2-1mamba - automatic version update by autodist * Thu Nov 14 2013 Silvan Calarco 3.10.0-3mamba - rebuilt with vala 0.22 * Sat Nov 02 2013 Silvan Calarco 3.10.0-2mamba - rebuilt with glade 3.16 * Thu Oct 31 2013 Automatic Build System 3.10.0-1mamba - automatic version update by autodist * Tue Jun 04 2013 Automatic Build System 3.8.4-1mamba - automatic version update by autodist * Mon May 27 2013 Automatic Build System 3.8.3-1mamba - automatic version update by autodist * Tue Apr 16 2013 Automatic Build System 3.8.1-1mamba - automatic version update by autodist * Mon Apr 15 2013 Silvan Calarco 3.8.0-2mamba - rebuilt with libgtksourceview 3.8.0 * Thu Mar 28 2013 Automatic Build System 3.8.0-1mamba - automatic version update by autodist * Tue Nov 13 2012 Automatic Build System 3.6.2-1mamba - automatic version update by autodist * Fri Oct 19 2012 Automatic Build System 3.6.1-1mamba - automatic version update by autodist * Tue Oct 16 2012 Automatic Build System 3.6.0-1mamba - automatic version update by autodist - spec edit (next release): obsolete libanjuta * Fri Sep 21 2012 Silvan Calarco 3.4.4-3mamba - rebuilt with glade 3.12.2 * Sun Sep 16 2012 Silvan Calarco 3.4.4-2mamba - .typelib files moved from -devel to main package * Mon Jul 30 2012 Automatic Build System 3.4.4-1mamba - automatic version update by autodist * Mon May 21 2012 Automatic Build System 3.4.3-1mamba - automatic version update by autodist * Wed May 02 2012 Automatic Build System 3.4.1-1mamba - automatic version update by autodist * Mon Apr 02 2012 Automatic Build System 3.4.0-1mamba - update to 3.4.0 * Mon Oct 24 2011 Automatic Build System 3.3.1-1mamba - automatic version update by autodist * Thu Oct 20 2011 Automatic Build System 3.2.1-1mamba - automatic version update by autodist * Fri Oct 14 2011 Automatic Build System 3.2.0-1mamba - automatic version update by autodist * Thu Sep 15 2011 Silvan Calarco 3.0.3.0-2mamba - remove duplicate provide/obsolete for gnome-build in both main and devel packages * Tue Jul 26 2011 Automatic Build System 3.0.3.0-1mamba - automatic version update by autodist * Sun Jul 24 2011 Silvan Calarco 2.32.1.1-4mamba - rebuilt with glade3 3.8.0 * Tue Apr 05 2011 Silvan Calarco 2.32.1.1-3mamba - added requirement for libgda4-sqlite * Wed Mar 16 2011 Silvan Calarco 2.32.1.1-2mamba - rebuilt with subversion 1.6.16 * Fri Dec 31 2010 Automatic Build System 2.32.1.1-1mamba - automatic update by autodist * Thu Dec 16 2010 Automatic Build System 2.32.1.0-2mamba - automatic rebuild by autodist * Tue Nov 16 2010 Automatic Build System 2.32.1.0-1mamba - automatic update to 2.32.1.0 by autodist * Fri Nov 12 2010 Automatic Build System 2.32.0.0-2mamba - automatic rebuild by autodist * Sun Oct 31 2010 Automatic Build System 2.32.0.0-1mamba - automatic update to 2.32.0.0 by autodist * Sun Oct 10 2010 Silvan Calarco 2.30.2.1-3mamba - rebuilt with devhelp 2.32.0 * Wed Jun 30 2010 Automatic Build System 2.30.2.1-2mamba - automatic rebuild by autodist * Mon Jun 21 2010 Automatic Build System 2.30.2.1-1mamba - automatic update to 2.30.2.1 by autodist * Sat Jun 05 2010 Automatic Build System 2.30.2.0-1mamba - automatic update to 2.30.2.0 by autodist * Sun May 30 2010 Automatic Build System 2.30.1.0-1mamba - automatic update to 2.30.1.0 by autodist * Sat Nov 21 2009 Automatic Build System 2.28.1.0-1mamba - automatic update by autodist * Mon Sep 28 2009 Automatic Build System 2.28.0.0-1mamba - automatic update to 2.28.0.0 by autodist * Wed Jun 24 2009 Automatic Build System 2.26.2.2-2mamba - automatic rebuild by autodist * Wed Jun 24 2009 Automatic Build System 2.26.2.2-1mamba - automatic update by autodist * Tue May 19 2009 Automatic Build System 2.26.2.0-1mamba - automatic update by autodist * Mon May 18 2009 Automatic Build System 2.26.1.0-3mamba - automatic rebuild by autodist * Sun Apr 26 2009 Silvan Calarco 2.26.1.0-2mamba - obsolete gnome-build (merged into anjuta) * Sat Apr 18 2009 Silvan Calarco 2.26.1.0-1mamba - automatic update by autodist * Tue Mar 31 2009 Silvan Calarco 2.26.0.1-1mamba - update to 2.26.0.1 * Tue Mar 31 2009 Silvan Calarco 2.26.0-2mamba - ... add a changelog entry * Tue Mar 31 2009 Silvan Calarco 2.26.0-1mamba - automatic update to 2.26.0 by autodist * Sun Feb 15 2009 Silvan Calarco 2.24.2-2mamba - rebuilt * Tue Jan 27 2009 Silvan Calarco 2.24.2-1mamba - update to 2.24.2 * Thu Jan 01 2009 Silvan Calarco 2.4.2-3mamba - automatic rebuild by autodist * Sat Nov 01 2008 Silvan Calarco 2.4.2-2mamba - automatic rebuild by autodist * Sun Aug 24 2008 gil 2.4.2-1mamba - package created by autospec