X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=devhelp.spec;h=21490d9f28f63ab359134192b25f29ebe800b951;hb=bce797a82240b2a10c5a9810f42b4701936a9b2b;hp=1747cdb56418bf1ce64455f5f030dd08388c41be;hpb=6a690053b3df56ebaed7b8832d1f2b8fdec30302;p=packages%2Fdevhelp.git diff --git a/devhelp.spec b/devhelp.spec index 1747cdb..21490d9 100644 --- a/devhelp.spec +++ b/devhelp.spec @@ -1,47 +1,38 @@ Summary: API documentation browser for GNOME Summary(pl.UTF-8): Przeglądarka dokumentacji API dla GNOME Name: devhelp -Version: 0.19.1 -Release: 5 +Version: 2.28.1 +Release: 3 License: GPL v2+ Group: X11/Applications -Source0: http://ftp.gnome.org/pub/GNOME/sources/devhelp/0.19/%{name}-%{version}.tar.bz2 -# Source0-md5: 6c12a272a94ac9cfc1dc6234590b46d8 +Source0: http://ftp.gnome.org/pub/GNOME/sources/devhelp/2.28/%{name}-%{version}.tar.bz2 +# Source0-md5: b9ec14ddf74c4b9924da77b62c345cf8 Patch0: %{name}-bookdir.patch -Patch1: %{name}-mozilla_includes.patch -Patch2: %{name}-libxul.patch URL: http://www.imendio.com/projects/devhelp/ -BuildRequires: GConf2-devel >= 2.20.0 -BuildRequires: autoconf +BuildRequires: GConf2-devel >= 2.24.0 +BuildRequires: autoconf >= 2.60 BuildRequires: automake >= 1:1.9 BuildRequires: gettext-devel -BuildRequires: gnome-common >= 2.20.0 -BuildRequires: gtk+2-devel >= 2:2.12.5 -BuildRequires: intltool >= 0.37.0 -BuildRequires: libglade2-devel >= 1:2.6.2 +BuildRequires: gnome-common >= 2.24.0 +BuildRequires: gtk+2-devel >= 2:2.14.0 +BuildRequires: gtk-webkit-devel >= 1.1.13 +BuildRequires: intltool >= 0.40.0 BuildRequires: libtool -BuildRequires: libwnck-devel >= 2.20.3 +BuildRequires: libunique-devel >= 1.0 +BuildRequires: libwnck-devel >= 2.24.0 BuildRequires: pkgconfig BuildRequires: python +BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.311 -BuildRequires: sed >= 4.0 -BuildRequires: xulrunner-devel >= 1.9-5 BuildRequires: zlib-devel -Requires(post,postun): desktop-file-utils Requires(post,postun): gtk+2 Requires(post,postun): hicolor-icon-theme Requires(post,preun): GConf2 >= 2.20.0 Requires: %{name}-libs = %{version}-%{release} -%requires_eq_to xulrunner xulrunner-devel # sr@Latn vs. sr@latin Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -# can be provided by mozilla or mozilla-embedded -%define _noautoreqdep libgtkembedmoz.so libxpcom.so -# we have strict deps for it -%define _noautoreq libxpcom.so - %description API documentation browser for GNOME. @@ -64,8 +55,8 @@ Summary: Headers for Devhelp library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Devhelp Group: X11/Development/Libraries Requires: %{name}-libs = %{version}-%{release} -Requires: gtk+2-devel >= 2:2.12.5 -Requires: libwnck-devel >= 2.20.0 +Requires: gtk+2-devel >= 2:2.14.0 +Requires: libwnck-devel >= 2.24.0 %description devel Headers for Devhelp library. @@ -101,15 +92,11 @@ Umożliwia przeglądanie dokumentacji API w Gedit. %prep %setup -q %patch0 -p1 -%patch1 -p1 -%patch2 -p1 - -sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS -mv po/sr@{Latn,latin}.po %build +%{__intltoolize} %{__libtoolize} -%{__aclocal} -I m4 +%{__aclocal} %{__autoconf} %{__autoheader} %{__automake} @@ -126,7 +113,6 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf \ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info rm -f $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/%{name}/*.py %find_lang %{name} @@ -136,14 +122,12 @@ rm -rf $RPM_BUILD_ROOT %post %gconf_schema_install devhelp.schemas -%update_desktop_database_post %update_icon_cache hicolor %preun %gconf_schema_uninstall devhelp.schemas %postun -%update_desktop_database_postun %update_icon_cache hicolor %post libs -p /sbin/ldconfig @@ -162,7 +146,7 @@ rm -rf $RPM_BUILD_ROOT %files libs %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libdevhelp-1.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libdevhelp-1.so.0 +%attr(755,root,root) %ghost %{_libdir}/libdevhelp-1.so.1 %files devel %defattr(644,root,root,755)