SPECS: kmobiletools.spec - up to 0.5.0-beta2 - add ac260-lt.patch ...

shadzik shadzik at pld-linux.org
Fri Apr 6 23:06:53 CEST 2007


Author: shadzik                      Date: Fri Apr  6 21:06:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.5.0-beta2
- add ac260-lt.patch
- unify build process
- add %find_lang again

---- Files affected:
SPECS:
   kmobiletools.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/kmobiletools.spec
diff -u SPECS/kmobiletools.spec:1.14 SPECS/kmobiletools.spec:1.15
--- SPECS/kmobiletools.spec:1.14	Tue Feb 13 07:46:49 2007
+++ SPECS/kmobiletools.spec	Fri Apr  6 23:06:48 2007
@@ -1,18 +1,19 @@
 # $Revision$, $Date$
-%bcond_with	debug	# enable debug
 
-%define		_beta _beta1
+%define		_beta beta2
+
 Summary:	Make your mobile phone communicate with your PC
 Summary(de.UTF-8):	Lässt dein Handy mit dem PC kommunizieren
 Summary(pl.UTF-8):	Narzędzie do komunikacji między telefonem komórkowym a PC
 Name:		kmobiletools
-Version:	0.5
-Release:	0.%{_beta}.2
+Version:	0.5.0
+Release:	0.%{_beta}.1
 License:	GPL
 Group:		X11/Applications
-Source0:	http://download.berlios.de/kmobiletools/%{name}-%{version}%{_beta}.tar.bz2
-# Source0-md5:	f612c6e0e3007eb9a7fe318a4d17a297
+Source0:	http://download.berlios.de/kmobiletools/%{name}-%{version}-%{_beta}.tar.bz2
+# Source0-md5:	b7f193f8fff0a92008dd536f9facc383
 Patch0:		%{name}-desktop.patch
+Patch1:		kde-ac260-lt.patch
 URL:		http://www.kmobiletools.org/
 BuildRequires:	kdelibs-devel
 BuildRequires:	kdepim-devel
@@ -29,12 +30,17 @@
 Narzędzie do komunikacji między telefonem komórkowym a PC.
 
 %prep
-%setup -q -n %{name}-%{version}%{_beta}
+%setup -q -n %{name}-%{version}-%{_beta}
 %patch0 -p0
+%patch1 -p1
 
 %build
+%{__make} -f admin/Makefile.common cvs
 %configure \
-	--%{!?with_debug:dis}%{?with_debug:en}able-debug \
+%if "%{_lib}" == "lib64"
+	--enable-libsuffix=64 \
+%endif
+	--%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
 	--enable-kontact-plugin \
 	--disable-rpath \
 	--with-qt-libraries=%{_libdir}
@@ -48,7 +54,7 @@
 	shelldesktopdir=%{_desktopdir}/kde \
 	kde_htmldir=%{_kdedocdir}
 
-#%find_lang %{name}
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,8 +62,7 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-#%files -f %{name}.lang
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/kmobiletools
@@ -91,6 +96,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2007/04/06 21:06:48  shadzik
+- up to 0.5.0-beta2
+- add ac260-lt.patch
+- unify build process
+- add %find_lang again
+
 Revision 1.14  2007/02/13 06:46:49  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kmobiletools.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list