SPECS: libopensync.spec - try to standardize the way cc/optflags a...

glen glen at pld-linux.org
Thu Jun 14 22:37:19 CEST 2007


Author: glen                         Date: Thu Jun 14 20:37:19 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- try to standardize the way cc/optflags are passed (at least in PLD)
- static libs are no more built

---- Files affected:
SPECS:
   libopensync.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/libopensync.spec
diff -u SPECS/libopensync.spec:1.25 SPECS/libopensync.spec:1.26
--- SPECS/libopensync.spec:1.25	Thu Jun 14 21:05:34 2007
+++ SPECS/libopensync.spec	Thu Jun 14 22:37:14 2007
@@ -2,7 +2,6 @@
 #
 # Conditional build:
 %bcond_without	python		# don't build python binding
-%bcond_without	static_libs	# don't build static library
 #
 Summary:	Data synchronization framework
 Summary(pl.UTF-8):	Szkielet do synchronizacji danych
@@ -14,6 +13,7 @@
 Source0:	http://www.opensync.org/attachment/wiki/download/%{name}-%{version}.tar.bz2?format=raw
 # Source0-md5:	1b52417878ab4ede584ce18edacfa548
 URL:		http://www.opensync.org/
+Patch0:		%{name}-opt.patch
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	glib2-devel >= 1:2.10
@@ -59,6 +59,7 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki opensync
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Obsoletes:	libopensync-static
 Obsoletes:	multisync-devel
 
 %description devel
@@ -67,18 +68,6 @@
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki opensync.
 
-%package static
-Summary:	Static opensync library
-Summary(pl.UTF-8):	Statyczna biblioteka opensync
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description static
-Static opensync library.
-
-%description static -l pl.UTF-8
-Statyczna biblioteka opensync.
-
 %package -n python-opensync
 Summary:	Python bindings for opensync library
 Summary(pl.UTF-8):	Wiązania Pythona do biblioteki opensync
@@ -94,6 +83,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %scons \
@@ -137,12 +127,6 @@
 %{_includedir}/opensync*
 %{_pkgconfigdir}/*.pc
 
-%if %{with static_libs}
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/lib*.a
-%endif
-
 %if %{with python}
 %files -n python-opensync
 %defattr(644,root,root,755)
@@ -156,6 +140,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2007/06/14 20:37:14  glen
+- try to standardize the way cc/optflags are passed (at least in PLD)
+- static libs are no more built
+
 Revision 1.25  2007/06/14 19:05:34  glen
 - update to 0.30
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libopensync.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list