packages: libflaim/libflaim.spec - BR: ncurses-devel - pass rpmcxxflags and...

sparky sparky at pld-linux.org
Sun Jan 10 03:30:14 CET 2010


Author: sparky                       Date: Sun Jan 10 02:30:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: ncurses-devel
- pass rpmcxxflags and __cxx
- new TODO

---- Files affected:
packages/libflaim:
   libflaim.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/libflaim/libflaim.spec
diff -u packages/libflaim/libflaim.spec:1.7 packages/libflaim/libflaim.spec:1.8
--- packages/libflaim/libflaim.spec:1.7	Sun Jan 10 01:53:42 2010
+++ packages/libflaim/libflaim.spec	Sun Jan 10 03:30:09 2010
@@ -1,6 +1,11 @@
 # $Revision$, $Date$
-# TODO
-# - cflags & g++
+#
+# TODO:
+# - correct linking:
+#   Unresolved symbols found in libflaim.so.4.1:
+#     keypad halfdelay meta
+# - remove ldconfig invocation
+
 Summary:	Embeddable cross-platform database engine
 Summary(pl.UTF-8):	Osadzalny, wieloplatformowy silnik baz danych
 Name:		libflaim
@@ -13,6 +18,7 @@
 Patch0:		%{name}-fix.patch
 URL:		http://forge.novell.com/modules/xfmod/project/?flaim
 BuildRequires:	libstdc++-devel
+BuildRequires:	ncurses-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -55,13 +61,16 @@
 
 %prep
 %setup -q
-%patch0
+%patch0 -p0
+sed 's/ccflags += \(.*ccdefine.*ccinclude\)/ccflags += $(OPTCXXFLAGS) \1/' -i Makefile
 
 %build
 %{__make} libs \
 	OSTYPE=%{_os} \
-	HOSTTYPE=%{_arch}
-#	ccflags="%{rpmcflags}" \
+	HOSTTYPE=%{_arch} \
+	ec= \
+	compiler="%{__cxx}" exe_linker="%{__cxx}" shared_linker="%{__cxx}" \
+	OPTCXXFLAGS="-Wall -fPIC %{rpmcxxflags}" \
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -80,6 +89,7 @@
 %defattr(644,root,root,755)
 %doc COPYING VERSION
 %attr(755,root,root) %{_libdir}/libflaim.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libflaim.so.?
 
 %files devel
 %defattr(644,root,root,755)
@@ -97,14 +107,19 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2010/01/10 02:30:09  sparky
+- BR: ncurses-devel
+- pass rpmcxxflags and __cxx
+- new TODO
+
 Revision 1.7  2010/01/10 00:53:42  gotar
 - upgraded to 4.9.989
 
 Revision 1.6  2009/02/13 09:06:00  cieciwa
 - updated to version 4.9.845
 - release 1,
-- added patch to fix middssing oprator and include,
-- fixinf %%file.
+- added patch to fix missing oprator and include,
+- fixinf %file.
 
 Revision 1.5  2007/02/13 06:46:50  glen
 - tabs in preamble
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libflaim/libflaim.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list