packages: libgxps/libgxps.spec, libgxps/libgxps-doc.patch (NEW) - pl - adde...

qboosh qboosh at pld-linux.org
Sat Jan 28 14:24:03 CET 2012


Author: qboosh                       Date: Sat Jan 28 13:24:03 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pl
- added doc patch (to fix build without libgxps already installed)
- versioned runtime deps
- build -static

---- Files affected:
packages/libgxps:
   libgxps.spec (1.4 -> 1.5) , libgxps-doc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libgxps/libgxps.spec
diff -u packages/libgxps/libgxps.spec:1.4 packages/libgxps/libgxps.spec:1.5
--- packages/libgxps/libgxps.spec:1.4	Sat Jan 28 13:32:30 2012
+++ packages/libgxps/libgxps.spec	Sat Jan 28 14:23:58 2012
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 Summary:	XPS documents library
+Summary(pl.UTF-8):	Biblioteka do obsługi dokumentów XPS
 Name:		libgxps
 Version:	0.2.1
 Release:	1
@@ -7,6 +8,7 @@
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgxps/0.2/%{name}-%{version}.tar.xz
 # Source0-md5:	1ff62407800ec96e7f1473e67757ec01
+Patch0:		%{name}-doc.patch
 URL:		http://live.gnome.org/libgxps
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake >= 1:1.10
@@ -22,15 +24,23 @@
 BuildRequires:	libpng-devel
 BuildRequires:	libtiff-devel
 BuildRequires:	libtool
+BuildRequires:	libxslt-progs
 BuildRequires:	pkgconfig
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires:	cairo >= 1.10.0
+Requires:	glib2 >= 1:2.24.0
+Requires:	libarchive >= 2.8.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 libgxps is a GObject based library for handling and rendering XPS
 documents.
 
+%description -l pl.UTF-8
+libgxps to oparta na szkielecie GObject biblioteka do obsługi i
+renderowania dokumentów XPS.
+
 %package devel
 Summary:	Header files for libgxps library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libgxps
@@ -46,6 +56,18 @@
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki libgxps.
 
+%package static
+Summary:	Static libgxps libary
+Summary(pl.UTF-8):	Statyczna biblioteka libgxps
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libgxps libary.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libgxps.
+
 %package apidocs
 Summary:	libgxps API documentation
 Summary(pl.UTF-8):	Dokumentacja API biblioteki libgxps
@@ -60,6 +82,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -70,8 +93,7 @@
 %configure \
 	--with-html-dir=%{_gtkdocdir} \
 	--enable-gtk-doc \
-	--disable-silent-rules \
-	--disable-static
+	--disable-silent-rules
 %{__make}
 
 %install
@@ -80,6 +102,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %clean
@@ -107,6 +130,10 @@
 %{_includedir}/libgxps
 %{_pkgconfigdir}/libgxps.pc
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgxps.a
+
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/libgxps
@@ -117,6 +144,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2012/01/28 13:23:58  qboosh
+- pl
+- added doc patch (to fix build without libgxps already installed)
+- versioned runtime deps
+- build -static
+
 Revision 1.4  2012/01/28 12:32:30  megabajt
 - updated to 0.2.1 (new soname)
 

================================================================
Index: packages/libgxps/libgxps-doc.patch
diff -u /dev/null packages/libgxps/libgxps-doc.patch:1.1
--- /dev/null	Sat Jan 28 14:24:03 2012
+++ packages/libgxps/libgxps-doc.patch	Sat Jan 28 14:23:58 2012
@@ -0,0 +1,14 @@
+Allow docs build without already installed libgxps (gtk-doc scan generates <libgxps/gxps.h>)
+--- libgxps-0.2.1/docs/reference/Makefile.am.orig	2011-10-08 14:16:05.000000000 +0200
++++ libgxps-0.2.1/docs/reference/Makefile.am	2012-01-28 14:23:48.724403590 +0100
+@@ -68,8 +68,8 @@
+ # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
+ # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
+ INCLUDES=				\
+-	-I$(top_srcdir)/libgxps		\
+-	-I$(top_builddir)/libgxps	\
++	-I$(top_srcdir)		\
++	-I$(top_builddir)	\
+ 	$(GXPS_CFLAGS)
+ 
+ GTKDOC_LIBS=					\
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libgxps/libgxps.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list