479 lines
16 KiB
RPMSpec
479 lines
16 KiB
RPMSpec
#
|
||
# spec file for package anjuta (Version 2.23.91)
|
||
#
|
||
# Copyright (c) 2008 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/
|
||
#
|
||
|
||
# norootforbuild
|
||
|
||
|
||
Name: anjuta
|
||
BuildRequires: autogen
|
||
BuildRequires: binutils-devel
|
||
BuildRequires: devhelp-devel
|
||
BuildRequires: fdupes
|
||
BuildRequires: gcc-c++
|
||
BuildRequires: gdl-devel
|
||
BuildRequires: gnome-build-devel
|
||
BuildRequires: gnome-common
|
||
BuildRequires: gnome-doc-utils-devel
|
||
BuildRequires: gnome-icon-theme
|
||
BuildRequires: gnutls-devel
|
||
BuildRequires: graphviz-devel
|
||
BuildRequires: gtk-doc
|
||
BuildRequires: gtksourceview18-devel
|
||
BuildRequires: intltool
|
||
BuildRequires: libapr-util1-devel
|
||
BuildRequires: libapr1-devel
|
||
BuildRequires: libglade2-devel
|
||
BuildRequires: libgladeui-1_0-devel
|
||
BuildRequires: libgnomeprintui-devel
|
||
BuildRequires: libgnomeui-devel
|
||
BuildRequires: libneon-devel
|
||
BuildRequires: libwnck-devel
|
||
BuildRequires: libxslt-devel
|
||
BuildRequires: pcre-devel
|
||
BuildRequires: perl-XML-Parser
|
||
BuildRequires: scrollkeeper
|
||
BuildRequires: shared-mime-info
|
||
BuildRequires: subversion-devel
|
||
BuildRequires: update-desktop-files
|
||
BuildRequires: valgrind-devel
|
||
BuildRequires: vte-devel
|
||
# FIXME: Introduced by other packages:
|
||
BuildRequires: sqlite-devel
|
||
License: GPL v2 or later
|
||
Group: Development/Tools/IDE
|
||
# Directly required by anjuta:
|
||
Requires: autogen
|
||
Requires: automake
|
||
Requires: autoconf
|
||
Requires: libtool
|
||
Requires: gettext
|
||
Requires: alsa-devel
|
||
Requires: audiofile
|
||
Requires: devhelp
|
||
Requires: esound-devel
|
||
Requires: gconf2-devel
|
||
Requires: gnome-terminal
|
||
Requires: gnome-vfs2-devel
|
||
Requires: libart_lgpl-devel
|
||
Requires: libbonobo-devel
|
||
Requires: libbonoboui-devel
|
||
Requires: libglade2-devel
|
||
Requires: libgnome-devel
|
||
Requires: libgnomecanvas-devel
|
||
Requires: libgnomeui-devel
|
||
Requires: libwnck-devel
|
||
Requires: libxml2-devel
|
||
Requires: openssl-devel
|
||
Requires: orbit2-devel
|
||
Requires: popt-devel
|
||
Requires: libgnomeprint-devel
|
||
Requires: libgnomeprintui-devel
|
||
Requires: yelp
|
||
Requires: gnome-doc-utils
|
||
Recommends: gconf2-doc
|
||
Recommends: gnome-vfs2-doc
|
||
Recommends: libbonobo-doc
|
||
Recommends: libbonoboui-doc
|
||
Recommends: libglade2-doc
|
||
Recommends: libgnome-doc
|
||
Recommends: libgnomecanvas-doc
|
||
Recommends: libgnomeui-doc
|
||
Recommends: libgnomeprint-doc
|
||
Recommends: libgnomeprintui-doc
|
||
Version: 2.23.91
|
||
Release: 1
|
||
Requires: %{name}-lang = %{version}
|
||
Summary: GNOME IDE for C and C++
|
||
Source: anjuta-%{version}.tar.bz2
|
||
Source1: README.SuSE
|
||
Url: http://anjuta.sourceforge.net/
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
%gconf_schemas_prereq
|
||
|
||
%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>
|
||
|
||
%package devel
|
||
License: GPL v2 or later
|
||
Summary: GNOME IDE for C and C++
|
||
Group: Development/Tools/IDE
|
||
Requires: %{name} = %{version} gdl-devel libglade2-devel libgnomeui-devel
|
||
|
||
%description devel
|
||
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>
|
||
|
||
%package doc
|
||
License: GPL v2 or later
|
||
Summary: GNOME IDE for C and C++
|
||
Group: Development/Tools/IDE
|
||
Requires: %{name} = %{version}
|
||
|
||
%description doc
|
||
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
|
||
cp -a %{S:1} .
|
||
#sed -i "s/-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic/-l$(echo /usr/%{_lib}/libbfd*.so | sed 's:.*/lib::;s/\.so//') -Wl,-Bstatic -liberty -Wl,-Bdynamic/" configure.in
|
||
|
||
%build
|
||
autoreconf -f -i
|
||
# needed for anjuta-1.2.4a:
|
||
# This _bindir monstrosity will go away when no-bins-in-user-share.patch does.
|
||
# FIXME: Build as root modifies system!
|
||
# anjuta-1.2.4a: --disable-scrollkeeper does not work properly.
|
||
%configure\
|
||
--disable-scrollkeeper
|
||
make
|
||
|
||
%install
|
||
%makeinstall
|
||
# These should go to defaultdocdir.
|
||
rm -r $RPM_BUILD_ROOT%{_datadir}/doc
|
||
DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime
|
||
rm -r $RPM_BUILD_ROOT/%{_libdir}/*.*a
|
||
# This works in conjunction with no-bins-in-usershare.patch. When that
|
||
# patch goes away, so too will the following:
|
||
#mv $RPM_BUILD_ROOT/%{_datadir}/anjuta/scripts/anjuta-tags $RPM_BUILD_ROOT/%{_bindir}
|
||
%suse_update_desktop_file -C "" -D anjuta/anjuta-manual.xml -G "Integrated Development Environment" anjuta Development IDE GNOME
|
||
%find_lang anjuta
|
||
%find_lang anjuta-faqs anjuta.lang
|
||
%find_lang anjuta-manual anjuta.lang
|
||
%find_gconf_schemas
|
||
%fdupes $RPM_BUILD_ROOT
|
||
|
||
%clean
|
||
rm -rf $RPM_BUILD_ROOT
|
||
|
||
%pre -f %{name}.schemas_pre
|
||
|
||
%post
|
||
/sbin/ldconfig
|
||
if test -x usr/bin/update-mime-database ; then
|
||
usr/bin/update-mime-database usr/share/mime >/dev/null
|
||
fi
|
||
|
||
%postun
|
||
/sbin/ldconfig
|
||
if test -x usr/bin/update-mime-database ; then
|
||
usr/bin/update-mime-database usr/share/mime >/dev/null
|
||
fi
|
||
%posttrans -f %{name}.schemas_posttrans
|
||
|
||
%preun -f %{name}.schemas_preun
|
||
|
||
%files -f %{name}.schemas_list
|
||
%defattr(-,root,root)
|
||
%doc AUTHORS COPYING ChangeLog FUTURE NEWS README README.SuSE doc/ScintillaDoc.html TODO
|
||
%{_bindir}/*
|
||
%{_libdir}/anjuta
|
||
%{_libdir}/*.so.*
|
||
%{_datadir}/anjuta
|
||
%{_datadir}/applications/*.desktop
|
||
%{_datadir}/mime/packages/*.xml
|
||
%{_datadir}/pixmaps/anjuta
|
||
# Somehow I think that this is wrong.
|
||
%dir %{_datadir}/icons/gnome/48x48/mimetypes/
|
||
%{_datadir}/icons/gnome/48x48/mimetypes/*.png
|
||
%{_datadir}/icons/gnome/scalable/mimetypes/*.svg
|
||
%{_datadir}/icons/hicolor/48x48/apps/*.png
|
||
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
||
%dir %{_datadir}/omf/anjuta-manual
|
||
%{_datadir}/omf/anjuta-manual/*.omf
|
||
%doc %{_mandir}/man?/*.*
|
||
%{_libdir}/glade3/modules/*
|
||
%{_datadir}/glade3/catalogs/*
|
||
|
||
%files devel
|
||
%defattr(-, root, root)
|
||
%dir %{_includedir}/libanjuta-1.0/libanjuta
|
||
%dir %{_includedir}/libanjuta-1.0
|
||
%{_includedir}/libanjuta-1.0/libanjuta/*.h
|
||
%dir %{_includedir}/libanjuta-1.0/libanjuta/interfaces
|
||
%{_includedir}/libanjuta-1.0/libanjuta/interfaces/*.h
|
||
%{_includedir}/libanjuta-1.0/libanjuta/interfaces/*.idl
|
||
%{_libdir}/*.so
|
||
%{_libdir}/pkgconfig/*.pc
|
||
|
||
%files doc
|
||
%defattr(-, root, root)
|
||
%{_datadir}/gtk-doc/html/libanjuta
|
||
|
||
%files lang -f %name.lang
|
||
|
||
%changelog
|
||
* Thu Sep 04 2008 maw@suse.de
|
||
- Update to version 2.23.91:
|
||
+ The large version bump is due to Anjuta synchronizing its
|
||
version numbers with those of GNOME at large
|
||
+ Many bugfixes, updated translations, etc; for a fuller account
|
||
see the included NEWS file.
|
||
* Tue Jul 15 2008 coolo@suse.de
|
||
- removing linking against shared bfd library, this makes updating
|
||
bintuils impossible. If there is a bug in the static library,
|
||
it should be fixed there
|
||
* Wed Apr 02 2008 vuntz@suse.de
|
||
- Remove -fno-strict-aliasing
|
||
- Add gdl-devel to Requires for the devel package
|
||
- Move *-doc from Requires to Recommends
|
||
- Clean up Requires by removing libraries when the devel package of
|
||
the libraries are already in Requires
|
||
- Run ldconfig in %%post(un)
|
||
* Mon Mar 31 2008 vuntz@suse.de
|
||
- Updated to version 2.4.0. Too many changes and bugfixes to list
|
||
here.
|
||
- Remove anjuta-64bit-warning.patch (fixed upstream),
|
||
anjuta-svn-no-svn-config.patch (fixed upstream),
|
||
anjuta-uninitalized-vars.patch (fixed upstream), abuild.patch
|
||
(fixed upstream)
|
||
* Wed Feb 06 2008 rodrigo@suse.de
|
||
- Added patches to fix build failures
|
||
* Mon Feb 04 2008 ro@suse.de
|
||
- disable parallel make for the moment
|
||
* Mon Feb 04 2008 rodrigo@suse.de
|
||
- Fixed path for Glade catalog files
|
||
* Fri Feb 01 2008 rodrigo@suse.de
|
||
- Update to version 2.3.3:
|
||
* http://ftp.acc.umu.se/pub/GNOME/sources/anjuta/2.3/anjuta-2.3.3.news
|
||
* Thu Jan 31 2008 sbrabec@suse.cz
|
||
- Devhelp documentation moved to the separate package (bnc#248813).
|
||
* Thu Nov 01 2007 sbrabec@suse.cz
|
||
- Build with gtksourceview18.
|
||
* Fri Oct 26 2007 sbrabec@suse.cz
|
||
- Require autogen (#336176).
|
||
- Fixed shared libbfd detection.
|
||
* Wed Oct 24 2007 sbrabec@suse.cz
|
||
- Build all optional plugins except GtkSourceView: subversion,
|
||
glade, class inheritance, performance profiler, Valgrind.
|
||
* Tue Oct 23 2007 maw@suse.de
|
||
- Update to version 2.2.2:
|
||
+ Bugs (bugzilla.gnome.org) fixed: #477976, #427104, #479020,
|
||
[#478238], #456465, #466031, #343522, #487112, #486597, #482067,
|
||
[#477976], #427104, #487854, #474811, #488061, and #488928.
|
||
* Wed Oct 17 2007 maw@suse.de
|
||
- Add gdl-devel and libxslt-devel to the list of build requirements
|
||
- Remove configure.patch
|
||
- Don't attempt to install files that don't exist
|
||
- Split out a -devel subpackage
|
||
- Add abuild.patch
|
||
- Add no-bins-in-usrshare.patch
|
||
- Minor .spec cleanups.
|
||
* Thu Oct 11 2007 sbrabec@suse.cz
|
||
- Removed bogus dependency on mDNSResponder.
|
||
* 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
|
||
* Mon Oct 25 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).
|
||
* Sun Apr 25 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),
|
||
* Wed Feb 18 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.
|
||
* Thu Jun 19 2003 ro@suse.de
|
||
- added directory to filelist
|
||
* Mon Jun 02 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
|
||
* Mon May 27 2002 ro@suse.de
|
||
- removed gpc from neededforbuild
|
||
* Thu Jan 31 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
|