packages: babl/babl.spec - updated to 0.1.6 - added vala API (on bcond)

qboosh qboosh at pld-linux.org
Fri Nov 25 21:44:37 CET 2011


Author: qboosh                       Date: Fri Nov 25 20:44:37 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.1.6
- added vala API (on bcond)

---- Files affected:
packages/babl:
   babl.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/babl/babl.spec
diff -u packages/babl/babl.spec:1.14 packages/babl/babl.spec:1.15
--- packages/babl/babl.spec:1.14	Thu Sep  8 18:05:57 2011
+++ packages/babl/babl.spec	Fri Nov 25 21:44:32 2011
@@ -1,19 +1,24 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	vala	# Vala API
+#
 Summary:	Library for pixel-format agnosticism
 Summary(pl.UTF-8):	Biblioteka niezależności od formatu piksela
 Name:		babl
-Version:	0.1.4
+Version:	0.1.6
 Release:	1
 License:	LGPL v3+
 Group:		Libraries
 Source0:	ftp://ftp.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
-# Source0-md5:	1deaf8188b200b10d98a343a7e712b2b
+# Source0-md5:	dc960981a5ec5330fc1c177be9f59068
 Patch0:		%{name}-as-needed.patch
 URL:		http://www.gegl.org/babl/
 BuildRequires:	autoconf >= 2.54
-BuildRequires:	automake
-BuildRequires:	gobject-introspection-devel >= 0.6.8
-BuildRequires:	libtool
+BuildRequires:	automake >= 1:1.11
+BuildRequires:	gobject-introspection-devel >= 0.10
+BuildRequires:	libtool >= 2:2.2
+%{?with_vala:BuildRequires:	vala}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -52,6 +57,19 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka babl.
 
+%package -n vala-babl
+Summary:	Vala API for babl library
+Summary(pl.UTF-8):	API języka Vala dla biblioteki babl
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+Requires:	vala
+
+%description -n vala-babl
+Vala API for babl library.
+
+%description -n vala-babl -l pl.UTF-8
+API języka Vala dla biblioteki babl.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -103,12 +121,22 @@
 %defattr(644,root,root,755)
 %{_libdir}/libbabl-0.1.a
 
+%if %{with vala}
+%files -n vala-babl
+%defattr(644,root,root,755)
+%{_datadir}/vala/vapi/babl-0.1.vapi
+%endif
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2011/11/25 20:44:32  qboosh
+- updated to 0.1.6
+- added vala API (on bcond)
+
 Revision 1.14  2011/09/08 16:05:57  qboosh
 - package gi files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/babl/babl.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list