[packages/gucharmap] - added doc patch (gucharmap.xml is not generated since few versions; previous it was treated as war

qboosh qboosh at pld-linux.org
Sat Sep 22 19:05:31 CEST 2012


commit ef6d75a3184a605865ef3d9e4c73031ea06a9622
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 22 19:06:30 2012 +0200

    - added doc patch (gucharmap.xml is not generated since few versions; previous it was treated as warning)
    - License is GPL v3+

 gucharmap-doc.patch | 9 +++++++++
 gucharmap.spec      | 7 ++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/gucharmap.spec b/gucharmap.spec
index 942803c..b5ad045 100644
--- a/gucharmap.spec
+++ b/gucharmap.spec
@@ -3,10 +3,11 @@ Summary(pl.UTF-8):	Mapa znaków unikodowych
 Name:		gucharmap
 Version:	3.4.1.1
 Release:	1
-License:	GPL v2
+License:	GPL v3+
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gucharmap/3.4/%{name}-%{version}.tar.xz
 # Source0-md5:	9e69bb89142eb22f5503fcddd9b2ecaf
+Patch0:		%{name}-doc.patch
 URL:		http://live.gnome.org/Gucharmap
 BuildRequires:	autoconf >= 2.56
 BuildRequires:	automake >= 1:1.11
@@ -45,6 +46,7 @@ Gucharmap jest wartościową mapą znaków unikodowych.
 Summary:	gucharmap library for GTK+ 3
 Summary(pl.UTF-8):	Biblioteka gucharmap dla GTK+ 3
 Group:		X11/Libraries
+Requires:	glib2 >= 1:2.26.0
 Requires:	pango >= 1:1.20.0
 
 %description libs
@@ -58,6 +60,7 @@ Summary:	Headers for gucharmap (GTK+ 3 verson)
 Summary(pl.UTF-8):	Pliki nagłówkowe gucharmap (wersja dla GTK+ 3)
 Group:		X11/Development/Libraries
 Requires:	%{name}-libs = %{version}-%{release}
+Requires:	glib2-devel >= 1:2.26.0
 Requires:	gtk+3-devel >= 3.0.0
 
 %description devel
@@ -94,6 +97,7 @@ Dokumentacja API biblioteki gucharmap (wersja dla GTK+ 3).
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__gnome_doc_prepare}
@@ -139,6 +143,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc AUTHORS COPYING.UNICODE ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/charmap
 %attr(755,root,root) %{_bindir}/gucharmap
 %attr(755,root,root) %{_bindir}/gnome-character-map
diff --git a/gucharmap-doc.patch b/gucharmap-doc.patch
new file mode 100644
index 0000000..88d339e
--- /dev/null
+++ b/gucharmap-doc.patch
@@ -0,0 +1,9 @@
+--- gucharmap-3.4.1.1/docs/reference/gucharmap-docs.sgml.orig	2011-12-10 20:39:46.000000000 +0100
++++ gucharmap-3.4.1.1/docs/reference/gucharmap-docs.sgml	2012-09-22 18:21:53.242132183 +0200
+@@ -22,6 +22,5 @@
+     <xi:include href="xml/gucharmap-chapters-view.xml"/>
+     <xi:include href="xml/gucharmap-charmap.xml"/>
+     <xi:include href="xml/gucharmap-unicode-info.xml"/>
+-    <xi:include href="xml/gucharmap.xml"/>
+   </chapter>
+ </book>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gucharmap.git/commitdiff/ef6d75a3184a605865ef3d9e4c73031ea06a9622



More information about the pld-cvs-commit mailing list