]> git.pld-linux.org Git - packages/anjuta.git/blobdiff - anjuta.spec
- rel 4
[packages/anjuta.git] / anjuta.spec
index e75af7e9e9c7fb6c320bdd75bee777cb785463d8..5936081112db4549a3e285ccdae26964a09a6fe7 100644 (file)
-Summary:       Gnome integrated development environment
-Summary(pl):   Zintegrowane ¶rodowisko programowania dla Gnome
+#
+# TODO: Add message window when apropriate terminal is missing, not only
+#       stderr message
+#
+Summary:       GNOME integrated development environment
+Summary(es):   Entorno integrado de desarrollo (IDE) de GNOME
+Summary(pl):   Zintegrowane ¶rodowisko programowania dla GNOME
+Summary(pt_BR):        Ambiente de desenvolvimento integrado C e C++
 Name:          anjuta
-Version:       0.1.9
-Release:       1
+Version:       1.2.4a
+Release:       4
+Epoch:         1
 License:       GPL
 Group:         Development/Tools
-Source0:       http://anjuta.sourceforge.net/packages/%{name}-%{version}.tar.gz
-Source1:       %{name}.desktop
-Patch0:                %{name}-ac_am.patch
+Source0:       http://dl.sourceforge.net/anjuta/%{name}-%{version}.tar.gz
+# Source0-md5: 7e6af289b4bfd1ec2ca72e2017efc4d3
+Patch0:                %{name}-gettext.patch
+Patch1:                %{name}-home_etc.patch
+Patch2:                %{name}-desktop.patch
 URL:           http://anjuta.sourceforge.net/
-BuildRequires: ORBit-devel
-BuildRequires: autoconf
+BuildRequires: ORBit2-devel >= 1:2.12.1
+BuildRequires: autoconf >= 2.52
 BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel
-BuildRequires: gtk+-devel
+BuildRequires: gnome-common >= 2.8.0
+BuildRequires: gnome-vfs2-devel >= 2.10.0-2
 BuildRequires: intltool
+BuildRequires: libglade2-devel >= 1:2.5.1
+BuildRequires: libgnomeprintui-devel >= 2.10.2
+BuildRequires: libgnomeui-devel >= 2.10.0-2
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
-BuildRequires: libxml-devel
+BuildRequires: libxml2-devel >= 1:2.6.19
+BuildRequires: ncurses-devel
+BuildRequires: pcre-devel >= 3.9
+BuildRequires: pkgconfig
+BuildRequires: popt-devel
+BuildRequires: rpmbuild(macros) >= 1.197
 BuildRequires: scrollkeeper
+BuildRequires: vte-devel <= 0.13
+BuildRequires: vte-devel >= 0.11.0
+Requires(post,postun): scrollkeeper
+# Requires:    gnome-terminal
 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
-and C++ GNU/Linux. Written in GTK/Gnome and written for GTK/Gnome, it
-features many advanced programming tools and utilities. Besides many
-other, it has project management, application wizards, onboard
+and C++ for GNU/Linux. Written in GTK/GNOME and written for GTK/GNOME,
+it features many advanced programming tools and utilities. Besides
+many other, it has project management, application wizards, onboard
 interactive debugger, and a powerful source editor with source
 browsing.
 
+%description -l es
+Anjuta es un entorno integrado de desarrollo para C y C++ para
+GNU/Linux. Escrito en y para GTK/GNOME, proporciona muchas
+herramientas de programación avanzadas. Entre otros, habilita
+manejamiento de proyectos, wizards de aplicaciones, depurador
+interactivo y un editador potente de código fuente que permite
+hojearlo.
+
 %description -l pl
 Anjuta to wszechstronne zintegrowane ¶rodowisko programowania dla
 jêzyka C oraz C++. Zosta³o napisane z wykorzystaniem tandemu
-GTK/Gnome, w³a¶nie po to by go w takim otoczeniu u¿ywaæ. Miêdzy innymi
+GTK/GNOME, w³a¶nie po to by go w takim otoczeniu u¿ywaæ. Miêdzy innymi
 posiada zarz±dcê projektów, kreator aplikacji, wbudowany interaktywny
 odpluskwiacz oraz edytor z mo¿liwo¶ci± przegl±dania ¼róde³.
 
+%description -l pt_BR
+O Anjuta é um ambiente de desenvolvimento integrado (IDE) versátil
+para as linguagens C e C++. Foi escrito para o GTK/GNOME e tem uma
+série de características de programação avançadas. Basicamente é uma
+interface gráfica com o usuário para um conjunto de utilitários de
+linha de comando e ferramentas para programação para o Linux. Estas
+são geralmente executadas em um console em modo texto e podem ser não
+amigáveis.
+
 %prep
-%setup  -q
-%patch0 -p1
+%setup -q
+%patch0 -p0
+%patch1 -p1
+%patch2 -p1
+
+%{__perl} -pi -e 's@^(packageplugindir=)lib/@$1%{_lib}/@' configure.in
 
 %build
-libtoolize --copy --force
-gettextize --copy --force
-intltoolize --copy --force
-xml-i18n-toolize --copy --force
-aclocal -I macros
-autoconf
-automake -a -c -f
 CXXFLAGS="%{rpmcflags} -fno-exceptions"
+CFLAGS="%{rpmcflags} -fno-omit-frame-pointer"
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
 %configure \
-       --with-gnome
+       --disable-static
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{_applnkdir}/Development \
-       $RPM_BUILD_ROOT%{_datadir}/%{name}/gnome
-
-install %{SOURCE1} $RPM_BUILD_ROOT/%{_applnkdir}/Development
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       omf_dest_dir=%{_omf_dest_dir}/%{name}
+       gnomemenudir=%{_desktopdir}
 
-gzip -9nf README ChangeLog NEWS TODO
+# *.la not needed - *.so loaded through libgmodule
+rm -f $RPM_BUILD_ROOT%{_libdir}/anjuta/lib*.la
 
-%find_lang %{name} --with-gnome
+rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info
+
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 
-%post   -p /usr/bin/scrollkeeper-update
-%postun -p /usr/bin/scrollkeeper-update
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%scrollkeeper_update_post
+
+%postun
+%scrollkeeper_update_postun
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog FUTURE NEWS README TODO doc/ScintillaDoc.html
 %attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/anjuta
-%attr(755,root,root) %{_libdir}/anjuta/lib*.so.*.*
-%attr(755,root,root) %{_libdir}/anjuta/lib*.??
+%dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/lib*.so*
+%{_pixmapsdir}/%{name}
+%{_datadir}/%{name}
+%{_datadir}/mimelnk/application/*
+%{_desktopdir}/*.desktop
+%{_mandir}/man1/*
 %{_omf_dest_dir}/%{name}
-%{_datadir}/anjuta
-%{_applnkdir}/Development/*
-%{_pixmapsdir}/anjuta
This page took 0.048467 seconds and 4 git commands to generate.