]> git.pld-linux.org Git - packages/devhelp.git/blobdiff - devhelp.spec
- updated to 2.30.0
[packages/devhelp.git] / devhelp.spec
index 72722dc158a9f476a5cfb35be1792bdb9dfd3c71..fabee5329283d56d4d9d038ddc4ba1d0e86750d7 100644 (file)
@@ -1,46 +1,39 @@
 Summary:       API documentation browser for GNOME
 Summary(pl.UTF-8):     Przeglądarka dokumentacji API dla GNOME
 Name:          devhelp
-Version:       0.19
-Release:       4
+Version:       2.30.0
+Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/devhelp/0.19/%{name}-%{version}.tar.bz2
-# Source0-md5: 66c9fb480e123c96eb1efdbad56b2d90
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/devhelp/2.30/%{name}-%{version}.tar.bz2
+# Source0-md5: a24087cd1b4fe6722ec05f6e88104ace
 Patch0:                %{name}-bookdir.patch
-Patch1:                %{name}-mozilla_includes.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.8.0.4
 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.
 
@@ -63,8 +56,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.
@@ -100,20 +93,21 @@ Umożliwia przeglądanie dokumentacji API w Gedit.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
-sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
-mv po/sr@{Latn,latin}.po
+sed -i -e 's/^en@shaw//' po/LINGUAS
+rm -f po/en@shaw.po
 
 %build
+%{__intltoolize}
 %{__libtoolize}
-%{__aclocal} -I m4
+%{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
        --enable-static \
-       --disable-install-schemas
+       --disable-schemas-install \
+       --disable-silent-rules
 %{__make}
 
 %install
@@ -124,7 +118,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}
@@ -134,14 +127,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
@@ -160,7 +151,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)
This page took 0.141666 seconds and 4 git commands to generate.