]> git.pld-linux.org Git - packages/yelp.git/blobdiff - yelp.spec
- updated to 2.30.0
[packages/yelp.git] / yelp.spec
index 36720881099edaefc0d73c8ae2602a3a6db5ef65..bf33a12bc13e3c142ecd5e0a2022c69ccf74a95d 100644 (file)
--- a/yelp.spec
+++ b/yelp.spec
@@ -1,83 +1,78 @@
-# TODO:
-# merge changes from head
-# move stylesheets to /usr/share/sgml
-# use more generic stylesheet location
-# remove docbook dtds and stylesheets from package and use system xml catalog
-
-# Conditinal build:
-%bcond_with     mozilla_firefox # build with mozilla-firefox-devel
-
 Summary:       A system documentation reader from the GNOME project
 Summary:       A system documentation reader from the GNOME project
-Summary(pl):   Czytnik dokumentacji z projektu GNOME
+Summary(pl.UTF-8):     Czytnik dokumentacji z projektu GNOME
 Name:          yelp
 Name:          yelp
-Version:       2.12.0
+Version:       2.30.0
 Release:       1
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/yelp/2.12/%{name}-%{version}.tar.bz2
-# Source0-md5: 00b36e95bdd0c8ad2679614e3ffc66af
-Patch0:                %{name}-desktop-categories.patch
-Patch1:                %{name}-MOZILLA_HOME.patch
-URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.10.0
-BuildRequires: ORBit2-devel >= 1:2.12.1
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/yelp/2.30/%{name}-%{version}.tar.bz2
+# Source0-md5: 9a5674664568844616bcf169dce7e1a6
+Patch0:                %{name}-libxul.patch
+URL:           http://live.gnome.org/Yelp
+BuildRequires: GConf2-devel >= 2.26.0
 BuildRequires: autoconf
 BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: automake >= 1:1.9
 BuildRequires: bzip2-devel
 BuildRequires: bzip2-devel
-BuildRequires: glib2-devel >= 1:2.6.4
-BuildRequires: gnome-common >= 2.8.0
-BuildRequires: gnome-doc-utils >= 0.3.1
-BuildRequires: gnome-vfs2-devel >= 2.11.0
-BuildRequires: libglade2-devel >= 1:2.5.1
-BuildRequires: libgnomeui-devel >= 2.11.2-2
+BuildRequires: dbus-glib-devel >= 0.74
+BuildRequires: gettext-devel
+BuildRequires: gnome-common >= 2.24.0
+BuildRequires: gnome-doc-utils >= 0.20.0
+BuildRequires: gtk+2-devel >= 2:2.18.0
+BuildRequires: intltool >= 0.37.0
+BuildRequires: libbeagle-devel >= 0.3.0
 BuildRequires: libtool
 BuildRequires: libtool
-BuildRequires: libxml2-devel >= 2.6.18
-BuildRequires: libxslt-devel >= 1.1.12
-%if %{with mozilla_firefox}
-BuildRequires:  mozilla-firefox-devel
-%else
-BuildRequires:  mozilla-devel >= 5:1.7
-%endif
+BuildRequires: libxml2-devel >= 1:2.6.31
+BuildRequires: libxslt-devel >= 1.1.22
 BuildRequires: pkgconfig >= 1:0.15.0
 BuildRequires: pkgconfig >= 1:0.15.0
-BuildRequires: popt-devel
-BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: rarian-devel >= 0.7.0
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: startup-notification-devel >= 0.8
+BuildRequires: xulrunner-devel >= 1.9-5
 BuildRequires: zlib-devel
 BuildRequires: zlib-devel
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
 Requires(post,preun):  GConf2
 Requires:      docbook-style-xsl >= 1.55.0
 Requires(post,preun):  GConf2
 Requires:      docbook-style-xsl >= 1.55.0
-Requires:      gnome-doc-utils >= 0.3.1
-Requires:      gnome-vfs2 >= 2.11.0
+Requires:      gnome-doc-utils >= 0.20.0
 Requires:      scrollkeeper
 Requires:      scrollkeeper
-%if %{with mozilla_firefox}
-%requires_eq    mozilla-firefox
-%else
-Requires:       mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
-%endif
+%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
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # can be provided by mozilla or mozilla-embedded
-%define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
+%define                _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
+# we have strict deps for it
+%define                _noautoreq      libxpcom.so
 
 %description
 
 %description
-Yelp is the GNOME help/documentation browser. It is designed to help
+Yelp is the GNOME help/documentation browser. It is designed to help
 you browse all the documentation on your system in one central tool.
 
 you browse all the documentation on your system in one central tool.
 
-%description -l pl
-Yelp jest przegl±dark± pomocy i dokumentacji GNOME 2. Ma pomagaæ w
-przegl±daniu ca³ej dokumentacji systemu w jednym, centralnym
-narzêdziu.
+%description -l pl.UTF-8
+Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia
+przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego
+narzędzia.
 
 %prep
 %setup -q
 %patch0 -p1
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+
+# fix locale names
+# drop en@shaw locale
+sed -i -e s#en@shaw## po/LINGUAS
+rm -f po/en@shaw.po
 
 %build
 
 %build
+%{__intltoolize}
 %{__libtoolize}
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure
 %{__automake}
 %configure
-%{__make}
+%{__make} -j1 \
+       CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -85,25 +80,27 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
-
-%find_lang %{name} --with-gnome --all-name
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 %gconf_schema_install yelp.schemas
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 %gconf_schema_install yelp.schemas
+%update_icon_cache hicolor
 
 %preun
 %gconf_schema_uninstall yelp.schemas
 
 
 %preun
 %gconf_schema_uninstall yelp.schemas
 
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README ChangeLog NEWS TODO AUTHORS
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README ChangeLog NEWS TODO AUTHORS
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}
-%{_desktopdir}/*
-%{_iconsdir}/hicolor/192x192/apps/yelp-icon-big.png
-%{_libdir}/bonobo/servers/*
+%attr(755,root,root) %{_bindir}/gnome-help
+%attr(755,root,root) %{_bindir}/yelp
+%{_datadir}/yelp
+%{_desktopdir}/yelp.desktop
+%{_iconsdir}/hicolor/*/*/yelp-icon-big.png
 %{_sysconfdir}/gconf/schemas/yelp.schemas
 %{_sysconfdir}/gconf/schemas/yelp.schemas
This page took 0.046587 seconds and 4 git commands to generate.