packages: midori/midori.spec - fixed installation of API documentation - un...

megabajt megabajt at pld-linux.org
Wed Apr 13 17:21:37 CEST 2011


Author: megabajt                     Date: Wed Apr 13 15:21:36 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed installation of API documentation
- unified apidocs package name
- release 1 

---- Files affected:
packages/midori:
   midori.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: packages/midori/midori.spec
diff -u packages/midori/midori.spec:1.49 packages/midori/midori.spec:1.50
--- packages/midori/midori.spec:1.49	Wed Mar 16 13:39:03 2011
+++ packages/midori/midori.spec	Wed Apr 13 17:21:31 2011
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	Przeglądarka WWW oparta na GTK+ WebCore
 Name:		midori
 Version:	%{mainver}.%{minorver}
-Release:	0.1
+Release:	1
 License:	LGPL v2
 Group:		X11/Applications/Networking
 Source0:	http://archive.xfce.org/src/apps/midori/%{mainver}/%{name}-%{version}.tar.bz2
@@ -19,10 +19,10 @@
 BuildRequires:	glib2-devel >= 1:2.16.0
 BuildRequires:	gtk+2-devel >= 2:2.10.6
 BuildRequires:	gtk-doc
-BuildRequires:	gtk-webkit-devel >= 1.0.3
+BuildRequires:	gtk-webkit-devel >= 1.1.1
 BuildRequires:	intltool
 BuildRequires:	libnotify-devel
-BuildRequires:	libsoup-devel >= 2.25.2
+BuildRequires:	libsoup-devel >= 2.30.0
 BuildRequires:	libunique-devel >= 0.9
 BuildRequires:	libxml2-devel >= 1:2.6.31
 BuildRequires:	pkgconfig
@@ -33,7 +33,7 @@
 BuildRequires:	vala
 Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	gtk-update-icon-cache
-Requires(post,postun):	hicolor-icon-theme
+Requires:	hicolor-icon-theme
 Provides:	wwwbrowser
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -54,13 +54,20 @@
 przy użyciu XBEL, okno wyszukiwania oparte na OpenSearch oraz skrypty
 użytkownika.
 
-%package api-doc
+%package apidocs
 Summary:	API documentation of midori
+Summary(pl.UTF-8):	Dokumentacja API midori
 Group:		Documentation
+Requires:	gtk-doc-common
+Provides:	midori-api-doc
+Obsoletes:	midori-api-doc
 
-%description api-doc
+%description apidocs
 API documentation of midori.
 
+%description apidocs -l pl.UTF-8
+Dokumentacja API midori.
+
 %prep
 %setup -q
 
@@ -79,7 +86,12 @@
 ./waf install \
 	--destdir=$RPM_BUILD_ROOT
 
-%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
+# install API documentation
+install -d $RPM_BUILD_ROOT%{_gtkdocdir}/{katze,midori}
+cp _build_/docs/api/katze/html/* $RPM_BUILD_ROOT%{_gtkdocdir}/katze
+cp _build_/docs/api/midori/html/* $RPM_BUILD_ROOT%{_gtkdocdir}/midori
+
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 
 %find_lang %{name}
 
@@ -107,9 +119,10 @@
 %{_datadir}/midori
 %{_docdir}/midori
 
-%files api-doc
+%files apidocs
 %defattr(644,root,root,755)
-%doc _build_/docs/api/*
+%{_gtkdocdir}/katze
+%{_gtkdocdir}/midori
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -117,6 +130,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2011/04/13 15:21:31  megabajt
+- fixed installation of API documentation
+- unified apidocs package name
+- release 1
+
 Revision 1.49  2011/03/16 12:39:03  uzsolt
 - 0.3.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/midori/midori.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list