]> git.pld-linux.org Git - packages/devhelp.git/blobdiff - devhelp.spec
- rel. 3 to rebuild with xulrunner 1.8.1.6-20070731
[packages/devhelp.git] / devhelp.spec
index 2b3618ef11b1dffc62338c51239a605d13c9669f..403d0124907de542bedc789b7e54a2c71f012499 100644 (file)
@@ -1,83 +1,86 @@
 Summary:       API documentation browser for GNOME
-Summary(pl):   Przegl±darka dokumentacji API dla GNOME
+Summary(pl.UTF-8):     Przeglądarka dokumentacji API dla GNOME
 Name:          devhelp
-Version:       0.12
-Release:       4
+Version:       0.15
+Release:       3
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/devhelp/0.12/%{name}-%{version}.tar.gz
-# Source0-md5: e211ec1a75dba00d8e71a66e2ab2aec3
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/devhelp/0.15/%{name}-%{version}.tar.bz2
+# Source0-md5: e5ec0eebc5313c0d11c2371b2b1a9c16
 Patch0:                %{name}-bookdir.patch
 Patch1:                %{name}-mozilla_includes.patch
-Patch2:                %{name}-desktop.patch
 URL:           http://www.imendio.com/projects/devhelp/
-BuildRequires: GConf2-devel >= 2.14.0
+BuildRequires: GConf2-devel >= 2.18.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gnome-common >= 2.12.0
-BuildRequires: gnome-vfs2-devel >= 2.15.91
-BuildRequires: gtk+2-devel >= 2:2.10.1
+BuildRequires: gnome-common >= 2.18.0
+BuildRequires: gnome-vfs2-devel >= 2.18.1
+BuildRequires: gtk+2-devel >= 2:2.10.11
 BuildRequires: libglade2-devel >= 1:2.6.0
 BuildRequires: libtool
-BuildRequires: libwnck-devel >= 2.15.91
-BuildRequires: mozilla-firefox-devel >= 1.5.0.6
+BuildRequires: libwnck-devel >= 2.18.0
+BuildRequires: xulrunner-devel >= 1.8.0.4
 BuildRequires: pkgconfig
 BuildRequires: python
 BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: zlib-devel
-Requires(post,preun):  GConf2 >= 2.14.0
-Requires(post,post):   gtk+2 >= 2.10.1
+Requires(post,preun):  GConf2 >= 2.18.0
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
 Requires:      %{name}-libs = %{version}-%{release}
-%requires_eq   mozilla-firefox
+%requires_eq_to        xulrunner xulrunner-devel
 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.
 
-%description -l pl
-Przegl±darka dokumentacji API dla GNOME.
+%description -l pl.UTF-8
+Przeglądarka dokumentacji API dla GNOME.
 
 %package libs
 Summary:       Library to embed Devhelp in other applications
-Summary(pl):   Biblioteka do osadzania Devhelp w innych aplikacjach
+Summary(pl.UTF-8):     Biblioteka do osadzania Devhelp w innych aplikacjach
 Group:         Libraries
 
 %description libs
 Library of Devhelp for embedding into other applications.
 
-%description libs -l pl
+%description libs -l pl.UTF-8
 Biblioteka Devhelp do osadzania w innych aplikacjach.
 
 %package devel
 Summary:       Headers for Devhelp library
-Summary(pl):   Pliki nag³ówkowe biblioteki Devhelp
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki Devhelp
 Group:         Development/Libraries
 Requires:      %{name}-libs = %{version}-%{release}
 
 %description devel
 Headers for Devhelp library.
 
-%description devel -l pl
-Pliki nag³ówkowe biblioteki Devhelp.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Devhelp.
 
 %package static
 Summary:       Static Devhelp library
-Summary(pl):   Statyczna biblioteka Devhelp
+Summary(pl.UTF-8):     Statyczna biblioteka Devhelp
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static version of Devhelp library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka Devhelp.
 
 %package -n gedit2-plugin-devhelp
 Summary:       Devhelp plugin for Gedit editor
-Summary(pl):   Wtyczka devhelpa dla edytora Gedit
+Summary(pl.UTF-8):     Wtyczka devhelpa dla edytora Gedit
 Group:         X11/Applications
 Requires:      %{name} = %{version}-%{release}
 Requires:      gedit2
@@ -85,14 +88,13 @@ Requires:   gedit2
 %description -n gedit2-plugin-devhelp
 Allows to browse API documentation in Gedit.
 
-%description -n gedit2-plugin-devhelp -l pl
-Umo¿liwia przegl±danie dokumentacji API w Gedit.
+%description -n gedit2-plugin-devhelp -l pl.UTF-8
+Umożliwia przeglądanie dokumentacji API w Gedit.
 
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -101,6 +103,7 @@ Umo
 %{__autoheader}
 %{__automake}
 %configure \
+       --enable-static \
        --disable-install-schemas
 %{__make}
 
@@ -122,12 +125,14 @@ 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
This page took 0.075488 seconds and 4 git commands to generate.