SPECS: ksambaplugin.spec - up to 0.5 - build patch - passed -fPIC ...

czarny czarny at pld-linux.org
Wed Feb 7 21:04:51 CET 2007


Author: czarny                       Date: Wed Feb  7 20:04:51 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.5
- build patch
- passed -fPIC to CXXFLAGS, as it doesn't want to link otherwise

---- Files affected:
SPECS:
   ksambaplugin.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/ksambaplugin.spec
diff -u SPECS/ksambaplugin.spec:1.9 SPECS/ksambaplugin.spec:1.10
--- SPECS/ksambaplugin.spec:1.9	Mon Apr 11 19:13:15 2005
+++ SPECS/ksambaplugin.spec	Wed Feb  7 21:04:46 2007
@@ -1,13 +1,17 @@
 # $Revision$, $Date$
+# Todo:
+# - investigate the -fPIC flag on non x86_64 machines
+#
 Summary:	KSambaPlugin is KDE3 plugin for configuring SAMBA server
 Summary(pl):	KSambaPlugin jest pluginem dla KDE3 do konfiguracji serwera SAMBA
 Name:		ksambaplugin
-Version:	0.4.2
-Release:	2
+Version:	0.5
+Release:	1
 License:	GPL
 Group:		X11/Applications
 Source0:	http://dl.sourceforge.net/ksambakdeplugin/%{name}-%{version}.tar.bz2
-# Source0-md5:	c7f467463fcef82e50e4a99b1052aadf
+# Source0-md5:	d5f15874a226d99a1cc253363ba169ea
+Patch0:		%{name}-build.patch
 URL:		http://ksambakdeplugin.sourceforge.net/
 BuildRequires:	fam-devel
 BuildRequires:	kdelibs-devel >= 3.0
@@ -30,9 +34,16 @@
 
 %prep
 %setup -q
+%patch0 -p1
+mv %{name}-%{version} shit
+mv shit/* .
+rm -rf shit
 
 %build
 kde_htmldir="%{_kdedocdir}"; export kde_htmldir
+# on x86_64 the linking stopped saying I need to pass that flag
+# so I do it
+export CXXFLAGS="-fPIC %{rpmcxxflags}"
 %configure
 
 %{__make}
@@ -66,6 +77,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2007/02/07 20:04:46  czarny
+- up to 0.5
+- build patch
+- passed -fPIC to CXXFLAGS, as it doesn't want to link otherwise
+
 Revision 1.9  2005/04/11 17:13:15  darekr
 - killed obsoleted kde redefinition
 - _applnkdir -> _desktopdir, _kdedocdir needs macros 1.129
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ksambaplugin.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list