# # spec file for package anjuta (Version 1.2.4a) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: anjuta BuildRequires: gcc-c++ gnome-common gnutls-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel mDNSResponder-devel pcre-devel perl-XML-Parser scrollkeeper shared-mime-info update-desktop-files vte-devel License: GNU General Public License (GPL) Group: Development/Tools/IDE Autoreqprov: on Requires: automake autoconf libtool gettext alsa alsa-devel audiofile devhelp esound esound-devel gconf2 gconf2-devel gconf2-doc gnome-terminal gnome-vfs2 gnome-vfs2-devel gnome-vfs2-doc libart_lgpl libart_lgpl-devel libbonobo libbonobo-devel libbonobo-doc libbonoboui libbonoboui-devel libbonoboui-doc libglade2 libglade2-devel libglade2-doc libgnome libgnome-devel libgnome-doc libgnomecanvas libgnomecanvas-devel libgnomecanvas-doc libgnomeui libgnomeui-devel libgnomeui-doc libwnck libwnck-devel libxml2 libxml2-devel openssl openssl-devel orbit2 orbit2-devel popt popt-devel libgnomeprint libgnomeprint-devel libgnomeprint-doc libgnomeprintui libgnomeprintui-devel libgnomeprintui-doc yelp Version: 1.2.4a Release: 57 Summary: GNOME IDE for C and C++ Source: anjuta-%{version}.tar.bz2 Source1: README.SuSE Patch: update_global_tags.patch Patch1: configure.patch Patch2: anjuta-64bit.patch URL: http://anjuta.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Anjuta is a versatile integrated development environment (IDE) for C and C++. It has been written for GTK and GNOME and features a number of advanced programming facilities. It is basically a GUI interface for the collection of command line programming utilities and tools available for the GNU system. These are usually run via a text console and can be unfriendly to use. Authors: -------- Naba kumar Stéphane Démurget Andy Piper Hector Rivera Falu Luca Bellonda Biswapesh Chattopadhyay %prep %setup -q cp -a global-tags/create_global_tags.sh anjuta_update_global_tags sed s:/@lib@:/%_lib: <%{P:0} | patch if [ "%_lib" != "lib" ] ; then %patch1 fi %patch2 cp -a %{S:1} . rm po/no.* sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in %build cp /usr/share/gettext/config.rpath . autoreconf -f -i # needed for anjuta-1.2.4a: export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" # FIXME: Build as root modifies system! # anjuta-1.2.4a: --disable-scrollkeeper does not work properly. # FIXME: WARNING: Program is using uninitialized variables. %configure\ --disable-scrollkeeper # does nor work for anjuta-1.2.4a: #make %{?jobs:-j%jobs} make %install make install DESTDIR=$RPM_BUILD_ROOT # These should go to defaultdocdir. rm -r $RPM_BUILD_ROOT%{_datadir}/doc install anjuta_update_global_tags $RPM_BUILD_ROOT%{_bindir} install global-tags/tm_global_tags $RPM_BUILD_ROOT%{_libdir}/anjuta mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/anjuta mv $RPM_BUILD_ROOT%{_datadir}/anjuta/system.tags $RPM_BUILD_ROOT%{_localstatedir}/lib/anjuta ln -s %{_localstatedir}/lib/anjuta/system.tags $RPM_BUILD_ROOT%{_datadir}/anjuta gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man?/*.? DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime %suse_update_desktop_file -C "" -D anjuta/anjuta-manual.xml -G "Integrated Development Environment" anjuta Development IDE GNOME %find_lang anjuta rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info $RPM_BUILD_ROOT%{_libdir}/anjuta/*.*a %clean rm -rf $RPM_BUILD_ROOT %post if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database usr/share/mime >/dev/null fi %postun if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database usr/share/mime >/dev/null fi %files -f anjuta.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog FUTURE NEWS README README.SuSE doc/ScintillaDoc.html TODO %{_bindir}/* %{_libdir}/anjuta %{_datadir}/anjuta %{_datadir}/applications/*.desktop # FIXME: Probably move to KDE or remove: %dir %{_datadir}/mimelnk %dir %{_datadir}/mimelnk/application %{_datadir}/mimelnk/application/*.desktop %{_datadir}/mime/packages/*.xml %{_datadir}/omf/anjuta %{_datadir}/pixmaps/anjuta %dir %{_localstatedir}/lib/anjuta %verify(not size md5 mtime) %{_localstatedir}/lib/anjuta/system.tags %doc %{_mandir}/man?/*.* %changelog -n anjuta * Thu Jan 04 2007 - sbrabec@suse.cz - Prefix changed to /usr. - Spec file cleanup. * Sun Oct 15 2006 - schwab@suse.de - Make sure config.rpath is present. * Fri Feb 24 2006 - sbrabec@suse.cz - Improved Categories. * Fri Feb 17 2006 - sreeves@suse.de - Update .desktop file (Name, GenericName, Comment, DocPath) * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Wed Jan 18 2006 - sbrabec@suse.cz - Updated to version 1.2.4a. * Wed Nov 02 2005 - dmueller@suse.de - don't build as root * Wed Oct 26 2005 - sbrabec@suse.cz - Updated to version 1.2.4 (#118228). * Tue Aug 02 2005 - ro@suse.de - intltoolize with force * Mon Jun 20 2005 - sbrabec@suse.cz - Removed mkinstalldirs patch - fixed upstream (#56985). * Mon May 16 2005 - sbrabec@suse.cz - Updated to version 1.2.3. * Wed Apr 27 2005 - meissner@suse.de - fixed buffer overflow and one aliasing issue. * Tue Apr 05 2005 - sbrabec@suse.cz - Do not require linc. * Sun Nov 07 2004 - ro@suse.de - make it build with new intltool * Tue Oct 26 2004 - ro@suse.de - locale rename: no -> nb * Tue Sep 07 2004 - sbrabec@suse.cz - Generated shared mime info. * Mon Jul 12 2004 - sbrabec@suse.cz - Fixed default applications for GNOME2 (bug #42852). http://sourceforge.net/tracker/index.php?func=detail&aid=987912&group_id=14222&atid=314222 - Added gnome-terminal, yelp and devhelp to Requires. - Added *-doc GNOME developer documentation to Requires. * Tue Jun 15 2004 - sbrabec@suse.cz - Worked around missing mkinstalldirs (#42037, #41985). * Thu Jun 10 2004 - sbrabec@suse.cz - Updated to version 1.2.2. - Fixed IA64 crash on start (#41854). * Mon Apr 26 2004 - ro@suse.de - fix function return type to void * Wed Mar 17 2004 - sbrabec@suse.cz - Fixed scrollkeeper calling conventions (#36215). * Mon Mar 15 2004 - sbrabec@suse.cz - FHS 2.3 fix (mandir, infodir, #35821). * Mon Mar 15 2004 - sbrabec@suse.cz - Added package set sufficient for compilation to requirements (#35900), * Thu Feb 19 2004 - ro@suse.de - fix plugindir for lib64 * Thu Feb 12 2004 - sbrabec@suse.cz - Updated to version 1.2.1 (GNOME2). - Added anjuta_update_global_tags. * Sat Aug 16 2003 - adrian@suse.de - add Categories * Thu Jul 24 2003 - hhetter@suse.de - %%_lib fixes * Mon Jul 14 2003 - sbrabec@suse.cz - GNOME prefix change to /opt/gnome. * Fri Jun 20 2003 - ro@suse.de - added directory to filelist * Tue Jun 03 2003 - ro@suse.de - add manpages to filelist - remove unpackaged files from buildroot * Mon Nov 11 2002 - ro@suse.de - changed neededforbuild to - changed neededforbuild to * Wed Nov 06 2002 - hhetter@suse.de - update to version 1.0.0 - package split en/ja documentation and translation - completed scrollkeeper installation - use correct kde datadir - fix docbook usage - full filelist rework * Fri Sep 27 2002 - ro@suse.de - Added alsa alsa-devel to neededforbuild (esound) * Thu Aug 15 2002 - ro@suse.de - removed gnome-utils from neededforbuild * Tue Aug 13 2002 - hhetter@suse.de - fix neededforbuild * Fri Jul 26 2002 - adrian@suse.de - fix neededforbuild * Mon Jul 01 2002 - meissner@suse.de - auto* rerun, added intltool to neededforbuild * Mon Jul 01 2002 - hhetter@suse.de - updated to version 0.1.9 * Tue May 28 2002 - ro@suse.de - removed gpc from neededforbuild * Fri Feb 01 2002 - ro@suse.de - changed neededforbuild to * Wed Dec 05 2001 - hhetter@suse.de - update to version 0.1.8 * first version after merging with gIDE * Fri Aug 24 2001 - hhetter@suse.de - update to version 0.1.7, changes include: * translation and documentation updates * fixed bugs preventing use of the wizard * cleaned up user-interface - filelist corrections and updates - functionality test on i386 * Mon Aug 13 2001 - hhetter@suse.de - removed no longer needed patch - updated to version 0.1.6 * Wed Jun 20 2001 - hhetter@suse.de - fixed redundand docdir * Thu Apr 05 2001 - uli@suse.de - ditched reimplementation of strcasestr (harmful with recent gccs) - fixed passing of RPM_OPT_FLAGS * Thu Mar 29 2001 - hhetter@suse.de - update to version 0.1.4 - use bz2 - filelist review * Wed Mar 14 2001 - hhetter@suse.de - changed docdir from gnome/anjuta/ to anjuta/ - filelist corrections * Mon Mar 12 2001 - hhetter@suse.de - Update to version 0.1.3 - filelist corrections/updates - testrun on 7.1 * Mon Jan 22 2001 - hhetter@suse.de - inital build