]> git.pld-linux.org Git - packages/yelp.git/blobdiff - yelp.spec
- fox building with rarian 0.7.x
[packages/yelp.git] / yelp.spec
index f5ac0c7b734ec985555b4c01e0766f4bde4d64c8..0506b85562f1307420dbef69ba0d073790369e84 100644 (file)
--- a/yelp.spec
+++ b/yelp.spec
@@ -2,7 +2,7 @@ Summary:        A system documentation reader from the GNOME project
 Summary(pl.UTF-8):     Czytnik dokumentacji z projektu GNOME
 Name:          yelp
 Version:       2.20.0
-Release:       3
+Release:       7
 License:       GPL
 Group:         X11/Applications
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/yelp/2.20/%{name}-%{version}.tar.bz2
@@ -39,6 +39,8 @@ Requires:     gnome-vfs2 >= 2.20.0
 Requires:      libgnomeui >= 2.20.0
 Requires:      scrollkeeper
 %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
@@ -60,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} -j1
+%{__make} -j1 \
+       CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -74,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.046849 seconds and 4 git commands to generate.