anjuta/anjuta.spec

281 lines
10 KiB
RPMSpec
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package anjuta (Version 2.2.1)
#
# 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: fdupes gcc-c++ gnome-common gnome-doc-utils-devel 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: GPL v2 or later
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 gnome-doc-utils
Version: 2.2.1
Release: 1
Requires: %{name}-lang = %{version}
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
#Patch3: anjuta-1.2.4a_array-index.patch
#Patch4: anjuta-1.2.4a_literal-comparsion.patch
#Patch5: abuild.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 <naba@gnome.org>
St<EFBFBD>phane D<EFBFBD>murget <demurgets@free.fr>
Andy Piper <andy.piper@freeuk.com>
Hector Rivera Falu <misha@phreaker.net>
Luca Bellonda <lbell@tsc4.com>
Biswapesh Chattopadhyay <biswapesh_chatterjee@tcscal.co.in>
%lang_package
%prep
%setup -q
if [ "%_lib" != "lib" ] ; then
%patch1
fi
#%patch2
#%patch3
#%patch4
#%patch5 -p1
cp -a %{S:1} .
sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in
%build
# 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
%fdupes
%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
%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?/*.*
%files lang -f %name.lang
%changelog
* Mon Oct 08 2007 - mauro@suse.de
- Update to version 2.2.1:
* Fixed lots of memory leaks (thanks valgrind)
* Fixed crasher on shutdown
* Avoid an endless loop if clearing all breakpoints while the programm
is running
* Fixed help activation (bug #451557).
* Fixed compiler warnings.
* Fixed #423467 (View->Tasks menu items are not checked on startup)
* Fixed anjuta-plugin template plugin by moving the "\" out of the [IF] block
* Fixes bug #433552: crash in Anjuta IDE: add file test.h in project on
generic Makefile.
* Disables 'Add to project' in wizards for projects that can not add sources.
* Fixed bug #450217: Refreshing tree brings to random crashes
* Fixed bug 453931 - crash in Anjuta IDE: Trying some c++ exampled
* Fixed bug 457093 - crash in Anjuta IDE: just typed in some text
* Fri Aug 10 2007 - coolo@suse.de
- put the Version before the use of %%version
* Mon Aug 06 2007 - maw@suse.de
- Split out a -lang subpackage
- Use %%fupes.
* Mon Jun 18 2007 - maw@suse.de
- Add abuild.patch (#241836).
* Mon Apr 23 2007 - pgajdos@suse.cz
- fixed new gcc warnings
- literal-comparsion.patch
* Wed Apr 18 2007 - pgajdos@suse.cz
- fixed 'array subscript is above array bounds' [#248868]
- array-index.patch
* 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 <jade_dsl> to <openjade>
- changed neededforbuild <sp> to <opensp>
* 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 <libpng> to <libpng-devel-packages>
* 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