SPECS: libstrfunc.spec - up to ver. 8.2 - added -am_no_all_static....

twittner twittner at pld-linux.org
Fri Sep 23 20:33:08 CEST 2005


Author: twittner                     Date: Fri Sep 23 18:33:08 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to ver. 8.2
- added -am_no_all_static.patch (don't put -all-static to AM_LDFLAGS - it
  causes error during linking)
- added bcond without_static_libs
- rel. 0.1

---- Files affected:
SPECS:
   libstrfunc.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/libstrfunc.spec
diff -u SPECS/libstrfunc.spec:1.16 SPECS/libstrfunc.spec:1.17
--- SPECS/libstrfunc.spec:1.16	Sat Dec 25 19:24:58 2004
+++ SPECS/libstrfunc.spec	Fri Sep 23 20:33:02 2005
@@ -1,14 +1,17 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs # don't build static libraries
+#
 Summary:	libstrfunc - library for manipulating strings
 Summary(pl):	libstrfunc - biblioteka do manipulowania stringami
 Name:		libstrfunc
-Version:	7.4.7
-Release:	1
+Version:	8.2
+Release:	0.1
 License:	BSD-like
 Group:		Libraries
-# new version at http://www.lionet.info/soft/
-Source0:	http://www.spelio.net.ru/soft/%{name}-%{version}.tar.gz
-# Source0-md5:	7966dbda3a65ecef19b06861b766e74b
+Source0:	http://www.lionet.info/soft/%{name}-%{version}.tar.gz
+# Source0-md5:	f048a3140e811e8eb7d9ca20005ce76a
+Patch0:		%{name}-am_no_all_static.patch
 URL:		http://www.lionet.info/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -50,6 +53,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -57,7 +61,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--enable-static=no}
 %{__make}
 
 %install
@@ -89,9 +94,11 @@
 %{_mandir}/man3/strfunc.3*
 %{_mandir}/man3/sf_*.3*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -99,6 +106,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2005/09/23 18:33:02  twittner
+- up to ver. 8.2
+- added -am_no_all_static.patch (don't put -all-static to AM_LDFLAGS - it
+  causes error during linking)
+- added bcond without_static_libs
+- rel. 0.1
+
 Revision 1.16  2004/12/25 18:24:58  qboosh
 - new URL, noted new Source0 URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libstrfunc.spec?r1=1.16&r2=1.17&f=u




More information about the pld-cvs-commit mailing list