yelp.spec
changeset 229 7642c65bcbf6
parent 78 0905f707ee7d
child 290 c7a3d7801635
--- a/yelp.spec	Thu May 29 15:39:02 2003 +0000
+++ b/yelp.spec	Thu May 29 16:26:19 2003 +0000
@@ -8,34 +8,60 @@
 
 Name:         yelp 
 License:      GPL
-Group:        System/GUI/GNOME 
-Autoreqprov:  on
+Group:        System/GUI/GNOME
 Version:      2.2.0
 Release:      1
 Distribution: Mercury
 Vendor:	      Sun Microsystems Inc.
 Summary:      The GNOME 2.0 Help Browser 
-Source:       yelp-%{version}.tar.bz2 
-URL:          http://www.gnome.org
+Source:       http://ftp.gnome.org/pub/GNOME/sources/yelp/2.2/yelp-%{version}.tar.bz2
+URL:          www.gnome.org
 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Autoreqprov:  on
+
+
+%define pango_version 1.2.1
+%define gtk2_version 2.2.1
+%define libgtkhtml_version 2.2.1
+%define gnome_vfs_version 2.2.3
+%define libgnomeui_version 2.2.0.1
+%define libbonobo_version 2.2.1
+%define libglade_version 2.0.1
+%define libxslt_version 1.0.19
+%define gail_version 1.2.0
+
 Requires:     gnome-utils
+Requires: scrollkeeper
+Requires: gtk2 >= %{gtk2_version}
+Requires: gnome-vfs >= %{gnome_vfs_version}
+Requires: libgtkhtml >= %{libgtkhtml_version}
+Requires: libgnomeui >= %{libgnomeui_version}
+Requires: libbonobo >= %{libbonobo_version}
+Requires: libxslt >= %{libxslt_version}
+Requires: libglade >= %{libglade_version}
+BuildRequires: pango-devel >= %{pango_version}
+BuildRequires: gtk2-devel >= %{gtk2_version}
+BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version}
+BuildRequires: libgtkhtml-devel >= %{libgtkhtml_version}
+BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
+BuildRequires: libbonobo-devel >= %{libbonobo_version}
+BuildRequires: libglade-devel >= %{libglade_version}
+BuildRequires: libxslt-devel >= %{libxslt_version}
+BuildRequires: gail-devel >= %{gail_version}
 
 %description
 "Yelp" is the help browser for the GNOME 2.2 Desktop. It features man, info and docbook document sources.
 
 %prep
-%setup -q -n yelp-%{version}
+%setup -q
 
 %build
 ./configure \
     --prefix=%{_prefix} \
-    --libdir=%{_libdir} \
     --sysconfdir=%{_sysconfdir} \
-    --datadir=%{_datadir} \
-    --libexecdir=%{_libdir}/yelp \
-    --localstatedir=/var/lib \
-    --enable-platform-gnome2
-make 
+    --libexecdir=%{_libexecdir} \
+    --localstatedir=/var/lib
+make
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
@@ -44,7 +70,6 @@
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%doc AUTHORS COPYING ChangeLog NEWS README
 %defattr (-, root, root)
 %{_datadir}/locale/*/LC_MESSAGES/*.mo
 %{_bindir}/*
@@ -56,4 +81,4 @@
 
 %changelog
 * Wed May 14 2003 - [email protected]
-- Initial release
+- Initial Sun release