diff --git a/anjuta-encodings.patch b/anjuta-encodings.patch index e86b8c9..20d9249 100644 --- a/anjuta-encodings.patch +++ b/anjuta-encodings.patch @@ -1,4 +1,4 @@ ---- src/anjuta-encodings.c.orig 2005-12-15 18:50:55.000000000 +0100 +--- src/anjuta-encodings.c 2005-12-15 18:50:55.000000000 +0100 +++ src/anjuta-encodings.c 2005-12-15 18:51:38.000000000 +0100 @@ -707,15 +707,15 @@ gtk_tree_view_set_search_column (GTK_TREE_VIEW (stock_treeview), @@ -37,4 +37,16 @@ anjuta_preferences_register_property_custom (pref, supported_treeview, SUPPORTED_ENCODINGS, - "ISO-8859-15", + +--- src/Makefile.in 2005-08-12 16:37:02.000000000 +0200 ++++ src/Makefile.in 2006-03-24 19:16:54.000000000 +0100 +@@ -723,7 +723,7 @@ + done + anjuta$(EXEEXT): $(anjuta_OBJECTS) $(anjuta_DEPENDENCIES) + @rm -f anjuta$(EXEEXT) +- $(CXXLINK) $(anjuta_LDFLAGS) $(anjuta_OBJECTS) $(anjuta_LDADD) $(LIBS) ++ $(CXXLINK) -Wl,--export-dynamic $(anjuta_LDFLAGS) $(anjuta_OBJECTS) $(anjuta_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) + "ISO-8859-15", diff --git a/anjuta.spec b/anjuta.spec index 13523aa..beb8f2f 100644 --- a/anjuta.spec +++ b/anjuta.spec @@ -1,6 +1,6 @@ Name: anjuta Version: 1.2.4 -Release: 3%{?dist} +Release: 5%{?dist} Summary: GNOME IDE for C and C++ Group: Development/Tools @@ -20,6 +20,8 @@ BuildRequires: scrollkeeper BuildRequires: libtool BuildRequires: gettext BuildRequires: desktop-file-utils +BuildRequires: libgnome-devel +BuildRequires: gtk2-devel Epoch: 1 Requires: pkgconfig libtool gettext-devel Requires(post): scrollkeeper @@ -46,12 +48,12 @@ Anjuta documentation. %prep %setup -q -%patch -p0 -b patch0 +%patch -p0 -b .encodings %build # configure option --enable-final does not work corretly on x86_64; Use # -DNDEBUG in CFLAGS -export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" +export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %configure %define libnoprefix %(echo %_libdir | sed 's,%_prefix/,,') sed -i -e 's!\(.*PACKAGE_PLUGIN_DIR@,.*\)lib\(/anjuta.*\)!\1%{libnoprefix}\2!g' config.status ; ./config.status @@ -78,6 +80,10 @@ perl -pi -e ' s!(^GLOBAL_TAGS_FILE=).*!$1%{_datadir}/%{name}/system.tags!; s!tm_global_tags!%{name}_tm_global_tags!g; ' ${RPM_BUILD_ROOT}%{_bindir}/anjuta_create_global_tags.sh +pushd ${RPM_BUILD_ROOT}%{_docdir} +ln -s anjuta-1.2.4 anjuta +popd + %clean rm -rf ${RPM_BUILD_ROOT} @@ -95,6 +101,7 @@ scrollkeeper-update -q %{_bindir}/%{name}* %{_libdir}/%{name} %{_datadir}/%{name} +%{_datadir}/doc/anjuta %{_datadir}/applications/fedora-%{name}.desktop %{_datadir}/pixmaps/%{name} %{_datadir}/mime-info/anjuta.mime @@ -107,6 +114,15 @@ scrollkeeper-update -q %{_datadir}/omf/%{name} %changelog +* Fri Mar 24 2006 Michael Schwendt - 1.2.4-5 +- Added export dynamic +- trivial spec changes + +* Fri Mar 24 2006 Paul F. Johnson - 1.2.4-4 +- Added dependancies for gtk2-devel and libgnome-devel +- Re-instated debug +- Add symlink for documentation + * Wed Feb 22 2006 Paul F. Johnson - 1.2.4-3 - Added back in the epoch - oopsie!