]> git.pld-linux.org Git - packages/anjuta.git/blobdiff - anjuta.spec
- updated to 0.1.8 (lot of bugfixes; polish translation)
[packages/anjuta.git] / anjuta.spec
index a6271ff84738eefce35c500cf20cfaa5ff3ba4e2..e47ae9ace07d3b20fdd0ee13e9277402609daa08 100644 (file)
@@ -1,16 +1,16 @@
 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
@@ -19,9 +19,14 @@ BuildRequires:       gettext-devel
 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
@@ -43,22 +48,30 @@ odpluskwiacz oraz edytor z mo
 %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
 
@@ -70,8 +83,8 @@ rm -rf $RPM_BUILD_ROOT
 %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/*
This page took 1.125861 seconds and 4 git commands to generate.