SPECS: vdk.spec - up to 2.4.1 - removed -ac-am-fixes.patch (mostly...

twittner twittner at pld-linux.org
Sun Aug 28 02:39:29 CEST 2005


Author: twittner                     Date: Sun Aug 28 00:39:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.4.1
- removed -ac-am-fixes.patch (mostly contains content from vim backup files)
- added -ac_FLAGS.patch (don't introduce own flags - honor ordinary
  C(XX)FLAGS from %%configure)

---- Files affected:
SPECS:
   vdk.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/vdk.spec
diff -u SPECS/vdk.spec:1.23 SPECS/vdk.spec:1.24
--- SPECS/vdk.spec:1.23	Sat Aug 27 22:17:16 2005
+++ SPECS/vdk.spec	Sun Aug 28 02:39:21 2005
@@ -1,21 +1,26 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+#
+%bcond_without	static_libs # don't build static libraries
+#
 %include	/usr/lib/rpm/macros.perl
-Summary:	C++ Wrapper over GTK+ 2.0.x library
-Summary(pl):	Wrapper C++ dla GTK+ 2.0.x
+Summary:	C++ Wrapper over GTK+ 2.x library
+Summary(pl):	Wrapper C++ dla GTK+ 2.x
 Name:		vdk
-Version:	2.0.3
-Release:	2
+Version:	2.4.1
+Release:	0.1
 License:	LGPL
 Group:		X11/Libraries
-Source0:	http://dl.sourceforge.net/vdkbuilder/%{name}-%{version}.tar.gz
-# Source0-md5:	b76be21a0014d089c176442ba68bd3c7
-Patch0:		%{name}-ac-am-fixes.patch
-URL:		http://vdkbuilder.sourceforge.net/
-BuildRequires:	autoconf
+Source0:	http://kent.dl.sourceforge.net/sourceforge/vdklib/%{name}-%{version}.tar.gz
+# Source0-md5:	f388bf265a476880e98ddec7ac4e63f7
+Patch0:		%{name}-ac_FLAGS.patch
+URL:		http://www.mariomotta.it/vdklib/
+BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake
 BuildRequires:	doxygen
 BuildRequires:	freetype-devel >= 2.0.0
-BuildRequires:	gtk+2-devel >= 1:2.0.0
+BuildRequires:	gtk+2-devel >= 1:2.4.0
 BuildRequires:	imlib-devel
 BuildRequires:	libsigc++12-devel >= 1.0.0
 BuildRequires:	libstdc++-devel
@@ -28,17 +33,17 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-C++ Wrapper over GTK+ 2.0.x library.
+C++ Wrapper over GTK+ 2.x library.
 
 %description -l pl
-Wrapper C++ dla GTK+ 2.0.x.
+Wrapper C++ dla GTK+ 2.x.
 
 %package devel
 Summary:	VDK header files, development documentation
 Summary(pl):	Pliki nagłówkowe VDK, dokumentacja dla programistów
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	gtk+2-devel >= 2.0.0
+Requires:	gtk+2-devel >= 1:2.4.0
 
 %description devel
 Header files and development documentation for VDK library.
@@ -70,7 +75,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-static=yes
+	%{?with_static_libs:--enable-static=yes} \
+	%{!?with_static_libs:--enable-static=no}
 %{__make}
 %{__make} docs
 
@@ -104,10 +110,13 @@
 %{_aclocaldir}/*.m4
 %{_includedir}/vdk2
 %{_mandir}/man1/*
+%{_pkgconfigdir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -115,6 +124,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2005/08/28 00:39:21  twittner
+- up to 2.4.1
+- removed -ac-am-fixes.patch (mostly contains content from vim backup files)
+- added -ac_FLAGS.patch (don't introduce own flags - honor ordinary
+  C(XX)FLAGS from %%configure)
+
 Revision 1.23  2005/08/27 20:17:16  darekr
 - strict deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/vdk.spec?r1=1.23&r2=1.24&f=u




More information about the pld-cvs-commit mailing list