Hello community,
here is the log from the commit of package anjuta
checked in at Wed Jan 10 17:32:49 CET 2007.
--------
--- GNOME/anjuta/anjuta.changes 2006-10-15 23:57:51.000000000 +0200
+++ /mounts/work_src_done/STABLE/anjuta/anjuta.changes 2007-01-04 11:41:47.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 4 11:41:16 CET 2007 - sbrabec@suse.cz
+
+- Prefix changed to /usr.
+- Spec file cleanup.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ anjuta.spec ++++++
--- /var/tmp/diff_new_pack.yw6265/_old 2007-01-10 17:32:23.000000000 +0100
+++ /var/tmp/diff_new_pack.yw6265/_new 2007-01-10 17:32:23.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package anjuta (Version 1.2.4a)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -11,16 +11,13 @@
# norootforbuild
Name: anjuta
-BuildRequires: gcc-c++ gnome-common gnutls-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel mDNSResponder-devel pcre-devel perl-XML-Parser scrollkeeper update-desktop-files vte-devel
-%define prefix /opt/gnome
-%define sysconfdir /etc%{prefix}
-License: GPL
+BuildRequires: gcc-c++ gnome-common gnutls-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel mDNSResponder-devel pcre-devel perl-XML-Parser scrollkeeper shared-mime-info update-desktop-files vte-devel
+License: GNU General Public License (GPL)
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
-PreReq: /usr/bin/touch shared-mime-info
Version: 1.2.4a
-Release: 27
+Release: 57
Summary: GNOME IDE for C and C++
Source: anjuta-%{version}.tar.bz2
Source1: README.SuSE
@@ -50,7 +47,7 @@
Biswapesh Chattopadhyay
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
cp -a global-tags/create_global_tags.sh anjuta_update_global_tags
sed s:/@lib@:/%_lib: <%{P:0} | patch
if [ "%_lib" != "lib" ] ; then
@@ -58,68 +55,74 @@
fi
%patch2
cp -a %{S:1} .
+rm po/no.*
+sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in
%build
-rename no nb po/no.*
-sed "s/\(ALL_LINGUAS.*\) no /\1 nb /" configure.in > configure.in.tmp && mv configure.in.tmp configure.in
cp /usr/share/gettext/config.rpath .
-intltoolize --force
-autoreconf --force --install
-CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
- ./configure \
- --prefix=%prefix \
- --libdir=%prefix/%_lib \
- --sysconfdir=%sysconfdir \
- --mandir=%prefix/share/man \
- --libdir=/%_lib \
- --localstatedir=/var/%_lib
+autoreconf -f -i
+# needed for anjuta-1.2.4a:
+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
%install
make install DESTDIR=$RPM_BUILD_ROOT
# These should go to defaultdocdir.
-rm -r $RPM_BUILD_ROOT%{prefix}/share/doc
-install anjuta_update_global_tags $RPM_BUILD_ROOT%{prefix}/bin
-install global-tags/tm_global_tags $RPM_BUILD_ROOT%{prefix}/%_lib/anjuta
-mkdir -p $RPM_BUILD_ROOT/var%{prefix}/lib/anjuta
-mv $RPM_BUILD_ROOT%{prefix}/share/anjuta/system.tags $RPM_BUILD_ROOT/var%{prefix}/lib/anjuta
-ln -s /var%{prefix}/lib/anjuta/system.tags $RPM_BUILD_ROOT%{prefix}/share/anjuta
-gzip -9nf $RPM_BUILD_ROOT%{prefix}/share/man/man?/*.?
+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
%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
%clean
rm -rf $RPM_BUILD_ROOT
%post
-touch var/adm/SuSEconfig/run-scrollkeeper-update
-usr/bin/update-mime-database /usr/share/mime >/dev/null
+if test -x usr/bin/update-mime-database ; then
+ usr/bin/update-mime-database usr/share/mime >/dev/null
+fi
%postun
-touch var/adm/SuSEconfig/run-scrollkeeper-update
-usr/bin/update-mime-database /usr/share/mime >/dev/null
+if test -x usr/bin/update-mime-database ; then
+ usr/bin/update-mime-database usr/share/mime >/dev/null
+fi
%files -f anjuta.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog FUTURE NEWS README README.SuSE doc/ScintillaDoc.html TODO
-%{prefix}/bin/*
-%{prefix}/%_lib/anjuta
-%doc %{prefix}/share/man/man?/*.*
-%{prefix}/share/anjuta
-%{prefix}/share/applications/*.desktop
-%{prefix}/share/mime-info/*.mime
-%dir %{prefix}/share/mimelnk
-%dir %{prefix}/share/mimelnk/application
-%{prefix}/share/mimelnk/application/*.desktop
-%{prefix}/share/omf/anjuta
-%{prefix}/share/pixmaps/anjuta
-%dir /var%{prefix}/lib
-%dir /var%{prefix}/lib/anjuta
-%verify(not size md5 mtime) /var%{prefix}/lib/anjuta/system.tags
-/usr/share/mime/packages/*.xml
+%{_bindir}/*
+%{_libdir}/anjuta
+%{_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
+%doc %{_mandir}/man?/*.*
%changelog -n anjuta
+* 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
++++++ update_global_tags.patch ++++++
--- /var/tmp/diff_new_pack.yw6265/_old 2007-01-10 17:32:24.000000000 +0100
+++ /var/tmp/diff_new_pack.yw6265/_new 2007-01-10 17:32:24.000000000 +0100
@@ -9,8 +9,8 @@
BASEDIR=`pwd`
-PROGDIR=. # `dirname $0`
-GLOBAL_TAGS_FILE=$BASEDIR/system.tags
-+PROGDIR=/opt/gnome/@lib@/anjuta
-+GLOBAL_TAGS_FILE=/var/opt/gnome/lib/anjuta/system.tags
++PROGDIR=/usr/@lib@/anjuta
++GLOBAL_TAGS_FILE=/var/lib/anjuta/system.tags
CFLAGS=""
# WxWindows libraries
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org