This commit is contained in:
committed by
Git OBS Bridge
parent
bd5f4e1791
commit
6f99ff33ee
122
anjuta.spec
122
anjuta.spec
@@ -11,23 +11,21 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: anjuta
|
||||
BuildRequires: fdupes gcc-c++ gnome-common gnome-doc-utils-devel gnutls-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel pcre-devel perl-XML-Parser scrollkeeper shared-mime-info update-desktop-files vte-devel
|
||||
BuildRequires: autogen devhelp-devel fdupes gcc-c++ gdl-devel gnome-build-devel gnome-common gnome-doc-utils-devel gnome-icon-theme gnutls-devel gtk-doc intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel libxslt-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: 2
|
||||
Release: 3
|
||||
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
|
||||
# PATCH-FIX-UPSTREAM abuild.patch bgo487683 -- we don't patch test-class.cpp because it's a test class
|
||||
Patch0: abuild.patch
|
||||
# PATCH-FIX-UPSTREAM no-bins-in-usershare.patch -- need a recent (more recent than 10.3) devel system to see if this is worth filing upstream
|
||||
Patch1: no-bins-in-usrshare.patch
|
||||
Url: http://anjuta.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@@ -41,6 +39,30 @@ 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
|
||||
Summary: GNOME IDE for C and C++
|
||||
Group: Development/Tools/IDE
|
||||
Requires: %{name} = %{version} 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>
|
||||
@@ -53,44 +75,34 @@ Authors:
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
if [ "%_lib" != "lib" ] ; then
|
||||
%patch1
|
||||
fi
|
||||
#%patch2
|
||||
#%patch3
|
||||
#%patch4
|
||||
#%patch5 -p1
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
cp -a %{S:1} .
|
||||
sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in
|
||||
|
||||
%build
|
||||
# needed for anjuta-1.2.4a:
|
||||
# This _bindir monstrosity will go away when no-bins-in-user-share.patch does.
|
||||
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
|
||||
%configure \
|
||||
--disable-scrollkeeper
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%makeinstall
|
||||
# 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
|
||||
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
|
||||
rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info $RPM_BUILD_ROOT%{_libdir}/anjuta/*.*a
|
||||
%fdupes
|
||||
%fdupes $RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@@ -110,21 +122,57 @@ fi
|
||||
%doc AUTHORS COPYING ChangeLog FUTURE NEWS README README.SuSE doc/ScintillaDoc.html TODO
|
||||
%{_bindir}/*
|
||||
%{_libdir}/anjuta
|
||||
%{_libdir}/*.so.*
|
||||
%{_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
|
||||
# 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?/*.*
|
||||
%dir %{_datadir}/gnome/help/anjuta-faqs
|
||||
%dir %{_datadir}/gnome/help/anjuta-faqs/C
|
||||
%{_datadir}/gnome/help/anjuta-faqs/C/*.xml
|
||||
%dir %{_datadir}/gnome/help/anjuta-manual
|
||||
%dir %{_datadir}/gnome/help/anjuta-manual/C/
|
||||
%{_datadir}/gnome/help/anjuta-manual/C/*.xml
|
||||
%dir %{_datadir}/gnome/help/anjuta-manual/C/figures
|
||||
%{_datadir}/gnome/help/anjuta-manual/C/figures/*.png
|
||||
%dir %{_datadir}/gtk-doc/html/libanjuta
|
||||
%{_datadir}/gtk-doc/html/libanjuta/*.html
|
||||
%{_datadir}/gtk-doc/html/libanjuta/*.sgml
|
||||
%{_datadir}/gtk-doc/html/libanjuta/*.png
|
||||
%{_datadir}/gtk-doc/html/libanjuta/*.devhelp
|
||||
%{_datadir}/gtk-doc/html/libanjuta/*.devhelp2
|
||||
%{_datadir}/gtk-doc/html/libanjuta/*.css
|
||||
|
||||
%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 lang -f %name.lang
|
||||
%changelog
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user