packages (GNOME_2): yelp/yelp.spec - rel 9

lisu lisu at pld-linux.org
Mon Aug 8 16:04:39 CEST 2011


Author: lisu                         Date: Mon Aug  8 14:04:39 2011 GMT
Module: packages                      Tag: GNOME_2
---- Log message:
- rel 9

---- Files affected:
packages/yelp:
   yelp.spec (1.176 -> 1.176.2.1) 

---- Diffs:

================================================================
Index: packages/yelp/yelp.spec
diff -u packages/yelp/yelp.spec:1.176 packages/yelp/yelp.spec:1.176.2.1
--- packages/yelp/yelp.spec:1.176	Wed Jun 29 10:50:40 2011
+++ packages/yelp/yelp.spec	Mon Aug  8 16:04:34 2011
@@ -2,103 +2,63 @@
 Summary:	A system documentation reader from the GNOME project
 Summary(pl.UTF-8):	Czytnik dokumentacji z projektu GNOME
 Name:		yelp
-Version:	3.0.4
-Release:	1
+Version:	2.30.2
+Release:	9
 License:	GPL v2
 Group:		X11/Applications
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/yelp/3.0/%{name}-%{version}.tar.xz
-# Source0-md5:	ccca1c2cafe88f49685d8077b02fb395
-URL:		http://projects.gnome.org/yelp/
-BuildRequires:	autoconf >= 2.63
-BuildRequires:	automake >= 1:1.11
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/yelp/2.30/%{name}-%{version}.tar.bz2
+# Source0-md5:	d745dafd0c134e726511894621d9b050
+Patch0:		%{name}-libxul.patch
+URL:		http://live.gnome.org/Yelp
+BuildRequires:	GConf2-devel >= 2.26.0
+BuildRequires:	autoconf
+BuildRequires:	automake >= 1:1.9
 BuildRequires:	bzip2-devel
+BuildRequires:	dbus-glib-devel >= 0.74
 BuildRequires:	gettext-devel
-BuildRequires:	glib2-devel >= 1:2.28.0
 BuildRequires:	gnome-common >= 2.24.0
 BuildRequires:	gnome-doc-utils >= 0.20.0
-BuildRequires:	gtk+3-devel >= 3.0.0
-BuildRequires:	gtk-doc >= 1.13
-BuildRequires:	gtk-webkit3-devel >= 1.3.2
-BuildRequires:	intltool >= 0.41.0
-BuildRequires:	libtool >= 2:2.2.6
+BuildRequires:	gtk+2-devel >= 2:2.18.0
+BuildRequires:	intltool >= 0.37.0
+BuildRequires:	libbeagle-devel >= 0.3.0
+BuildRequires:	libtool
 BuildRequires:	libxml2-devel >= 1:2.6.31
 BuildRequires:	libxslt-devel >= 1.1.22
-BuildRequires:	lzma-devel
 BuildRequires:	pkgconfig >= 1:0.15.0
-BuildRequires:	rpmbuild(macros) >= 1.601
-BuildRequires:	sqlite3-devel
-BuildRequires:	tar >= 1:1.22
-BuildRequires:	xz
-BuildRequires:	yelp-xsl >= 3.0.1
-Requires(post,postun):	desktop-file-utils
-Requires(post,postun):	glib2 >= 1:2.26.0
+BuildRequires:	rarian-devel >= 0.7.0
+BuildRequires:	rpmbuild(macros) >= 1.311
+BuildRequires:	startup-notification-devel >= 0.8
+BuildRequires:	xorg-lib-libSM-devel
+BuildRequires:	xulrunner-devel >= 2:2.0
+BuildRequires:	zlib-devel
 Requires(post,postun):	gtk-update-icon-cache
-Requires:	%{name}-libs = %{version}-%{release}
-Requires:	docbook-dtd412-xml
-Requires:	docbook-dtd42-xml
-Requires:	docbook-dtd43-xml
-Requires:	docbook-dtd44-xml
+Requires(post,postun):	hicolor-icon-theme
+Requires(post,preun):	GConf2
 Requires:	docbook-style-xsl >= 1.55.0
 Requires:	gnome-doc-utils >= 0.20.0
-Requires:	gnome-icon-theme-symbolic
-Requires:	hicolor-icon-theme
-Requires:	yelp-xsl >= 3.0.1
+Requires:	scrollkeeper
+%requires_eq_to	xulrunner xulrunner-devel
 # sr at Latn vs. sr at 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 default help browser for the GNOME desktop. Yelp provides
-a simple graphical interface for viewing DocBook, HTML, man, and info
-formatted documentation.
+Yelp is the GNOME help/documentation browser. It is designed to help
+you browse all the documentation on your system in one central tool.
 
 %description -l pl.UTF-8
-Yelp jest domyślną przeglądarką pomocy dla biurka GNOME. Dostarcza
-prosty graficzny interfejs do oglądania dokumentacji w formatach
-DocBook, HTML, man i info.
-
-%package libs
-Summary:	yelp library
-Summary(pl.UTF-8):	Biblioteka yelp
-Group:		Libraries
-
-%description libs
-yelp library.
-
-%description libs -l pl.UTF-8
-Biblioteka yelp.
-
-%package devel
-Summary:	Header files for yelp library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki yelp
-Group:		Development/Libraries
-Requires:	%{name}-libs = %{version}-%{release}
-Requires:	glib2-devel >= 1:2.28.0
-Requires:	gtk+3-devel >= 3.0.0
-Requires:	gtk-webkit3-devel >= 1.3.2
-Requires:	libxml2-devel >= 1:2.6.31
-Requires:	libxslt-devel >= 1.1.22
-
-%description devel
-Header files for yelp library.
-
-%description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki yelp.
-
-%package apidocs
-Summary:	yelp library API documentation
-Summary(pl.UTF-8):	Dokumentacja API biblioteki yelp
-Group:		Documentation
-Requires:	gtk-doc-common
-
-%description apidocs
-yelp library API documentation.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja API biblioteki yelp.
+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
 
 %build
 %{__intltoolize}
@@ -107,13 +67,9 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure \
-	--disable-silent-rules \
-	--disable-schemas-compile \
-	--disable-static \
-	--enable-gtk-doc \
-	--with-html-dir=%{_gtkdocdir}
-%{__make}
+%configure
+%{__make} -j1 \
+	CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -121,49 +77,30 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
-
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
+%gconf_schema_install yelp.schemas
 %update_icon_cache hicolor
-%update_desktop_database_post
-%glib_compile_schemas
+
+%preun
+%gconf_schema_uninstall yelp.schemas
 
 %postun
 %update_icon_cache hicolor
-%update_desktop_database_postun
-%glib_compile_schemas
-
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README ChangeLog NEWS TODO AUTHORS
 %attr(755,root,root) %{_bindir}/gnome-help
 %attr(755,root,root) %{_bindir}/yelp
-%{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml
 %{_datadir}/yelp
 %{_desktopdir}/yelp.desktop
 %{_iconsdir}/hicolor/*/*/yelp-icon-big.png
-
-%files libs
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libyelp.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libyelp.so.0
-
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libyelp.so
-%{_includedir}/libyelp
-
-%files apidocs
-%defattr(644,root,root,755)
-%{_gtkdocdir}/libyelp
+%{_sysconfdir}/gconf/schemas/yelp.schemas
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -171,34 +108,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.176  2011/06/29 08:50:40  megabajt
-- updated to 3.0.4
-
-Revision 1.175  2011/05/24 15:27:42  megabajt
-- updated to 3.0.3
-
-Revision 1.174  2011/04/26 15:43:19  megabajt
-- updated to 3.0.2
-
-Revision 1.173  2011/04/11 13:47:20  wiget
-- up to 3.0.1
-
-Revision 1.172  2011/04/05 16:15:33  megabajt
-- updated to 3.0.0; merged from DEVEL
+Revision 1.176.2.1  2011/08/08 14:04:34  lisu
+- rel 9
 
 Revision 1.171  2011/03/24 19:25:13  megabajt
 - fixed build with xulrunner 2.0
 - release 8
-
-Revision 1.170.2.3  2011/03/22 23:29:05  wiget
-- up to 2.91.92
-
-Revision 1.170.2.2  2011/03/13 19:40:25  megabajt
-- R: docbook-*-xml, gnome-icon-theme-symbolic
-
-Revision 1.170.2.1  2011/03/13 15:09:03  megabajt
-- updated to 2.91.91
-- added -libs, -devel and -apidocs subpackages
 
 Revision 1.170  2011/03/04 13:26:46  lisu
 - rel 7
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/yelp/yelp.spec?r1=1.176&r2=1.176.2.1&f=u



More information about the pld-cvs-commit mailing list