X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=anjuta.spec;h=6d772eb1c000a924fea8b366fcf97b8d3d043bd4;hb=a5569bd4085f5b9b2c814e9d2ca7ad0e15ca89e8;hp=256540640b0c284167e4a4724b2417e053054cfd;hpb=657b74823acd25af3b9a409946592a5d524f1a65;p=packages%2Fanjuta.git diff --git a/anjuta.spec b/anjuta.spec index 2565406..6d772eb 100644 --- a/anjuta.spec +++ b/anjuta.spec @@ -3,61 +3,68 @@ Summary(es.UTF-8): Entorno integrado de desarrollo (IDE) de GNOME Summary(pl.UTF-8): Zintegrowane środowisko programowania dla GNOME Summary(pt_BR.UTF-8): Ambiente de desenvolvimento integrado C e C++ Name: anjuta -Version: 2.2.1 +Version: 2.26.2.2 Release: 2 Epoch: 1 -License: GPL -Group: Development/Tools -Source0: http://dl.sourceforge.net/anjuta/%{name}-%{version}.tar.bz2 -# Source0-md5: 7569935b1b498bd64ff05e38087e7189 -#Patch0: %{name}-home_etc.patch -Patch1: %{name}-desktop.patch -Patch2: %{name}-create_global_tags.patch +License: GPL v2+ +Group: X11/Development/Tools +Source0: http://ftp.gnome.org/pub/GNOME/sources/anjuta/2.26/%{name}-%{version}.tar.bz2 +# Source0-md5: 8b05a4ee536b8057e38434efeaf468ff +Patch0: %{name}-desktop.patch +Patch1: %{name}-includes.patch +Patch2: %{name}-install.patch URL: http://anjuta.sourceforge.net/ -BuildRequires: GConf2-devel >= 2.12.0 -BuildRequires: ORBit2-devel >= 1:2.12.1 +BuildRequires: GConf2-devel >= 2.26.0 +BuildRequires: ORBit2-devel >= 1:2.14.0 BuildRequires: autoconf >= 2.59 BuildRequires: autogen BuildRequires: automake >= 1:1.9 BuildRequires: binutils-devel >= 3:2.15.92 -BuildRequires: devhelp-devel >= 0.13 -BuildRequires: gdl-devel >= 0.7.3 +BuildRequires: devhelp-devel >= 0.22 +BuildRequires: gdl-devel >= 2.26.0 BuildRequires: gettext-devel -BuildRequires: glib2-devel >= 1:2.14 -BuildRequires: gnome-build-devel >= 0.2.0 +BuildRequires: glib2-devel >= 1:2.20.0 +BuildRequires: gnome-common >= 2.24.0 BuildRequires: gnome-doc-utils -BuildRequires: gnome-vfs2-devel >= 2.10.0 BuildRequires: graphviz-devel >= 2.6.0 +BuildRequires: gtk+2-devel >= 2:2.16.0 BuildRequires: gtk-doc >= 1.7 -BuildRequires: gtk+2-devel >= 2:2.10 -BuildRequires: gtksourceview-devel >= 1.4.0 -BuildRequires: intltool >= 0.35.0 -BuildRequires: libgladeui-devel >= 3.0.2 -BuildRequires: libgnomecanvas-devel >= 2.12.0 -BuildRequires: libgnomeprintui-devel >= 2.12.0 -BuildRequires: libgnome-devel >= 2.14 -BuildRequires: libgnomeui-devel >= 2.12.0 +BuildRequires: gtk-webkit-devel +BuildRequires: gtksourceview2-devel >= 2.6.0 +BuildRequires: intltool >= 0.40.0 +BuildRequires: libgda4-devel >= 4.0.0 +BuildRequires: libglade2-devel >= 1:2.6.2 +BuildRequires: libgladeui-devel >= 3.6.0 +BuildRequires: libgnomeui-devel >= 2.24.0 BuildRequires: libstdc++-devel BuildRequires: libtool -BuildRequires: libwnck-devel >= 2.12 -BuildRequires: libxml2-devel >= 2.4.23 +BuildRequires: libxml2-devel >= 1:2.6.26 BuildRequires: libxslt-devel -BuildRequires: neon-devel >= 0.24.5 -BuildRequires: pango-devel >= 1:1.1.1 -BuildRequires: pcre-devel >= 3.9 +BuildRequires: neon-devel >= 0.28.2 +BuildRequires: perl-Locale-gettext BuildRequires: pkgconfig +BuildRequires: rpmbuild(find_lang) >= 1.23 BuildRequires: rpmbuild(macros) >= 1.311 BuildRequires: scrollkeeper -BuildRequires: subversion-devel >= 1.0.2 -BuildRequires: vte-devel >= 0.14.0 -Requires(post,preun): GConf2 +BuildRequires: subversion-devel >= 1.5.0 +BuildRequires: libunique-devel >= 1.0.0 +BuildRequires: vte-devel >= 0.20.0 +Requires(post,postun): desktop-file-utils Requires(post,postun): gtk+2 Requires(post,postun): hicolor-icon-theme Requires(post,postun): scrollkeeper Requires(post,postun): shared-mime-info +Requires(post,preun): GConf2 # Requires: gnome-terminal -Requires: glib2 >= 1:2.14 +Requires: glib2 >= 1:2.20.0 Requires: libanjuta = %{epoch}:%{version}-%{release} +Requires: libgda4-provider-sqlite >= 4.0.0 +Requires: pkgconfig +Suggests: ctags +Obsoletes: gnome-build +Obsoletes: gnome-build-devel +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -95,7 +102,7 @@ amigáveis. %package -n libanjuta Summary: libanjuta library Summary(pl.UTF-8): Biblioteka libanjuta -Group: Development/Libraries +Group: X11/Libraries Conflicts: %{name} < 1:2.0.2-1 %description -n libanjuta @@ -107,8 +114,10 @@ Biblioteka libanjuta. %package -n libanjuta-devel Summary: Header files for libanjuta library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libanjuta -Group: Development/Libraries +Group: X11/Development/Libraries Requires: libanjuta-devel = %{epoch}:%{version}-%{release} +Requires: libglade2-devel >= 1:2.6.2 +Requires: libgnomeui-devel >= 2.24.0 %description -n libanjuta-devel Header files for libanjuta library. @@ -130,16 +139,16 @@ Dokumentacja API biblioteki libanjuta. %prep %setup -q -#%patch0 -p1 NEEDS checking -%patch1 -p1 +%patch0 -p1 +%patch1 -p0 %patch2 -p1 %build %{__intltoolize} %{__libtoolize} %{__aclocal} -%{__autoheader} %{__autoconf} +%{__autoheader} %{__automake} %configure \ --with-html-dir=%{_gtkdocdir} \ @@ -147,27 +156,26 @@ Dokumentacja API biblioteki libanjuta. --with-apu-config=%{_bindir}/apu-1-config \ --with-neon-config=%{_bindir}/neon-config \ --with-omf-dir=%{_omf_dest_dir} \ + --disable-schemas-install \ --disable-scrollkeeper \ --disable-static + %{__make} %install rm -rf $RPM_BUILD_ROOT -%{__make} install \ +%{__make} -j1 install \ DESTDIR=$RPM_BUILD_ROOT \ - gnomemenudir=%{_desktopdir} \ mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \ mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes -mv -f $RPM_BUILD_ROOT%{_datadir}/anjuta/scripts/anjuta-tags $RPM_BUILD_ROOT%{_bindir} - # *.la not needed - *.so loaded through libgmodule -rm -f $RPM_BUILD_ROOT%{_libdir}/anjuta/lib*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/{anjuta,glade3/modules}/lib*.la rm -rf $RPM_BUILD_ROOT%{_docdir}/anjuta -%find_lang %{name} --with-gnome --all-name +%find_lang %{name} --with-gnome --with-omf --all-name %clean rm -rf $RPM_BUILD_ROOT @@ -175,15 +183,37 @@ rm -rf $RPM_BUILD_ROOT %post %scrollkeeper_update_post %update_mime_database +%update_desktop_database +%gconf_schema_install anjuta-build-basic-autotools-plugin.schemas +%gconf_schema_install anjuta-cvs-plugin.schemas +%gconf_schema_install anjuta-document-manager.schemas +%gconf_schema_install anjuta-editor-scintilla.schemas +%gconf_schema_install anjuta-editor-sourceview.schemas +%gconf_schema_install anjuta-language-cpp-java.schemas +%gconf_schema_install anjuta-message-manager-plugin.schemas +%gconf_schema_install anjuta.schemas +%gconf_schema_install anjuta-symbol-db.schemas +%gconf_schema_install anjuta-terminal-plugin.schemas %gconf_schema_install anjuta-valgrind.schemas %update_icon_cache hicolor %preun +%gconf_schema_uninstall anjuta-build-basic-autotools-plugin.schemas +%gconf_schema_uninstall anjuta-cvs-plugin.schemas +%gconf_schema_uninstall anjuta-document-manager.schemas +%gconf_schema_uninstall anjuta-editor-scintilla.schemas +%gconf_schema_uninstall anjuta-editor-sourceview.schemas +%gconf_schema_uninstall anjuta-language-cpp-java.schemas +%gconf_schema_uninstall anjuta-message-manager-plugin.schemas +%gconf_schema_uninstall anjuta.schemas +%gconf_schema_uninstall anjuta-symbol-db.schemas +%gconf_schema_uninstall anjuta-terminal-plugin.schemas %gconf_schema_uninstall anjuta-valgrind.schemas %postun %scrollkeeper_update_postun %update_mime_database +%update_desktop_database_postun %update_icon_cache hicolor %post -n libanjuta -p /sbin/ldconfig @@ -192,12 +222,17 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_bindir}/anjuta +%attr(755,root,root) %{_bindir}/anjuta_launcher +%attr(755,root,root) %{_bindir}/gbf-am-parse +%attr(755,root,root) %{_bindir}/gbf-mkfile-parse %dir %{_libdir}/%{name} %attr(755,root,root) %{_libdir}/%{name}/lib*.so* %{_libdir}/%{name}/*.plugin +%attr(755,root,root) %{_libdir}/glade3/modules/libgladeanjuta.so %{_pixmapsdir}/%{name} %dir %{_datadir}/%{name} +%{_datadir}/%{name}/GBF %{_datadir}/%{name}/build %{_datadir}/%{name}/class-templates %{_datadir}/%{name}/glade @@ -205,8 +240,6 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name}/profiles %{_datadir}/%{name}/project %{_datadir}/%{name}/properties -%dir %{_datadir}/%{name}/scripts -%attr(755,root,root) %{_datadir}/%{name}/scripts/create_global_tags.sh %dir %{_datadir}/%{name}/tools %attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl %attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl @@ -215,28 +248,41 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name}/ui %{_datadir}/%{name}/anjuta_project.template %{_datadir}/%{name}/gdb.init -%{_datadir}/%{name}/indent_test.c +%{_datadir}/%{name}/languages.xml %{_datadir}/%{name}/layout.xml %{_datadir}/%{name}/macros.xml +%{_datadir}/%{name}/tables.sql %{_datadir}/%{name}/welcome.txt -%{_datadir}/mime/packages/%{name}.xml +%{_datadir}/%{name}/AUTHORS +%{_datadir}/mime/packages/anjuta.xml +%{_datadir}/glade3/catalogs/anjuta-glade.xml %{_desktopdir}/%{name}.desktop %{_mandir}/man1/anjuta.1* %{_mandir}/man1/anjuta_launcher.1* -%{_omf_dest_dir}/%{name}-manual -%{_sysconfdir}/gconf/schemas/*.* +%{_sysconfdir}/gconf/schemas/anjuta-build-basic-autotools-plugin.schemas +%{_sysconfdir}/gconf/schemas/anjuta-cvs-plugin.schemas +%{_sysconfdir}/gconf/schemas/anjuta-document-manager.schemas +%{_sysconfdir}/gconf/schemas/anjuta-editor-scintilla.schemas +%{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas +%{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas +%{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas +%{_sysconfdir}/gconf/schemas/anjuta-symbol-db.schemas +%{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas +%{_sysconfdir}/gconf/schemas/anjuta-valgrind.schemas +%{_sysconfdir}/gconf/schemas/anjuta.schemas %{_iconsdir}/hicolor/*/*/*.* %files -n libanjuta %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/*.so.* +%attr(755,root,root) %{_libdir}/libanjuta.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libanjuta.so.0 %files -n libanjuta-devel %defattr(644,root,root,755) -%{_includedir}/libanjuta-* -%attr(755,root,root) %{_libdir}/*.so -%{_libdir}/*.la -%{_pkgconfigdir}/*.pc +%attr(755,root,root) %{_libdir}/libanjuta.so +%{_libdir}/libanjuta.la +%{_includedir}/libanjuta-1.0 +%{_pkgconfigdir}/libanjuta-1.0.pc %files -n libanjuta-apidocs %defattr(644,root,root,755)