]> git.pld-linux.org Git - packages/yelp.git/blobdiff - yelp.spec
- fox building with rarian 0.7.x
[packages/yelp.git] / yelp.spec
index 19423f8fd001460f0d8ac7fd1b9cf4fa4e4689f9..0506b85562f1307420dbef69ba0d073790369e84 100644 (file)
--- a/yelp.spec
+++ b/yelp.spec
@@ -1,47 +1,52 @@
 Summary:       A system documentation reader from the GNOME project
-Summary(pl.UTF-8):   Czytnik dokumentacji z projektu GNOME
+Summary(pl.UTF-8):     Czytnik dokumentacji z projektu GNOME
 Name:          yelp
-Version:       2.16.2
-Release:       1
+Version:       2.20.0
+Release:       7
 License:       GPL
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/yelp/2.16/%{name}-%{version}.tar.bz2
-# Source0-md5: ac55332d62c1871b3de92b5c1f0befaa
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/yelp/2.20/%{name}-%{version}.tar.bz2
+# Source0-md5: 8902618c343093b1c64ee6d647ec41ed
 Patch0:                %{name}-desktop.patch
 Patch1:                %{name}-bs.patch
 URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.16.0
-BuildRequires: ORBit2-devel >= 1:2.14.4
+BuildRequires: GConf2-devel >= 2.20.0
+BuildRequires: ORBit2-devel >= 1:2.14.9
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: beagle-devel >= 0.2.13
 BuildRequires: bzip2-devel
-BuildRequires: dbus-glib-devel >= 0.71
-BuildRequires: gnome-common >= 2.12.0
-BuildRequires: gnome-doc-utils >= 0.8.0
-BuildRequires: gnome-vfs2-devel >= 2.16.3
-BuildRequires: libglade2-devel >= 1:2.6.0
-BuildRequires: libgnomeui-devel >= 2.16.1
+BuildRequires: dbus-glib-devel >= 0.73
+BuildRequires: gnome-common >= 2.20.0
+BuildRequires: gnome-doc-utils >= 0.12.0
+BuildRequires: gnome-vfs2-devel >= 2.20.0
+BuildRequires: libglade2-devel >= 1:2.6.2
+BuildRequires: libgnomeui-devel >= 2.20.0
 BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.6.27
-BuildRequires: libxslt-devel >= 1.1.17
+BuildRequires: libxml2-devel >= 1:2.6.30
+BuildRequires: libxslt-devel >= 1.1.22
 BuildRequires: xulrunner-devel >= 1.8.0.4
 BuildRequires: pkgconfig >= 1:0.15.0
+BuildRequires: rarian-devel
 BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: zlib-devel
-Requires(post,preun):  GConf2 >= 2.16.0
-Requires(post,postun): gtk+2 >= 2:2.10.6
+Requires(post,preun):  GConf2
+Requires(post,postun): gtk+2
 Requires(post,postun): hicolor-icon-theme
 Requires:      docbook-style-xsl >= 1.55.0
-Requires:      gnome-doc-utils >= 0.8.0
-Requires:      gnome-vfs2 >= 2.16.3
-Requires:      libgnomeui >= 2.16.1
+Requires:      gnome-doc-utils >= 0.12.0
+Requires:      gnome-vfs2 >= 2.20.0
+Requires:      libgnomeui >= 2.20.0
 Requires:      scrollkeeper
-%requires_eq   xulrunner
+%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 libgtksuperwin.so libxpcom.so
+# we have strict deps for it
+%define                _noautoreq      libxpcom.so
 
 %description
 Yelp is the GNOME help/documentation browser. It is designed to help
@@ -57,13 +62,20 @@ narzÄ™dzia.
 %patch0 -p1
 %patch1 -p1
 
+# fix locale names
+sed -i -e s#nds\@NFE#nds# po/LINGUAS
+sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
+mv po/nds{\@NFE,}.po
+mv po/sr\@{Latn,latin}.po
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
 %configure
-%{__make}
+%{__make} -j1 \
+       CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -71,8 +83,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_datadir}/locale/nds{@NFE,}
-
 %find_lang %{name} --with-gnome
 
 %clean
This page took 0.034466 seconds and 4 git commands to generate.