Summary: Gnome integrated development environment
Summary(pl): Zintegrowane ¶rodowisko programowania dla Gnome
Name: anjuta
-Version: 0.1.4
+Version: 0.1.8
Release: 1
License: GPL
Group: Development/Tools
Group(de): Entwicklung/Werkzeuge
Group(fr): Development/Outils
Group(pl): Programowanie/Narzêdzia
-Source0: http://anjuta.sourceforge.net/packages/14/%{name}-%{version}.tar.gz
+Source0: http://anjuta.sourceforge.net/packages/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
-Patch0: %{name}-am_fixes.patch
+Patch0: %{name}-am_ac.patch
URL: http://anjuta.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gnome-libs-devel
BuildRequires: gtk+-devel
BuildRequires: libstdc++-devel
+BuildRequires: xml-i18n-tools
+BuildRequires: ORBit-devel
+BuildRequires: scrollkeeper
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
+%define _mandir %{_prefix}/man
+%define _omf_dest_dir %(scrollkeeper-config --omfdir)
%description
Anjuta is a very versatile integrated development environment for C
%patch0 -p1
%build
+rm -f missing
+install %{SOURCE1} .
+cp macros/aclocal-include.m4 acinclude.m4
libtoolize --copy --force
gettextize --copy --force
-aclocal -I macros
+xml-i18n-toolize --copy --force
+aclocal -I %{_aclocaldir}/gnome
autoconf
automake -a -c
CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
-%configure
+%configure \
+ --with-gnome
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/%{_applnkdir}/Development
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/gnome
install %{SOURCE1} $RPM_BUILD_ROOT/%{_applnkdir}/Development
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
gzip -9nf README ChangeLog NEWS TODO
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc *.gz
-%attr(755,root,root) %{_bindir}/anjuta
-%attr(755,root,root) %{_bindir}/anjuta_launcher
+%attr(755,root,root) %{_bindir}/*
%{_datadir}/anjuta
+%{_omf_dest_dir}/omf/%{name}
%{_pixmapsdir}/*
%{_applnkdir}/Development/*