packages: kcheckgmail/kcheckgmail.spec - updated to 0.6.0 - change build sy...

lisu lisu at pld-linux.org
Fri Mar 5 11:46:37 CET 2010


Author: lisu                         Date: Fri Mar  5 10:46:37 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.6.0
- change build system to cmake (proper BRs, remove useless stuff, etc.)
- use its own .desktop file (-desktop.patch), remove old one
- works nice with kde4

---- Files affected:
packages/kcheckgmail:
   kcheckgmail.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: packages/kcheckgmail/kcheckgmail.spec
diff -u packages/kcheckgmail/kcheckgmail.spec:1.27 packages/kcheckgmail/kcheckgmail.spec:1.28
--- packages/kcheckgmail/kcheckgmail.spec:1.27	Thu Jul  2 23:12:31 2009
+++ packages/kcheckgmail/kcheckgmail.spec	Fri Mar  5 11:46:31 2010
@@ -2,22 +2,19 @@
 Summary:	KDE systray application to check your Gmail
 Summary(pl.UTF-8):	Aplikacja do sprawdzania Gmaila w zasobniku KDE
 Name:		kcheckgmail
-Version:	0.5.7.7
-Release:	2
+Version:	0.6.0
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications
-Source0:	http://dl.sourceforge.net/kcheckgmail/%{name}-%{version}.tar.bz2
-# Source0-md5:	c0dd770e2f37408ed171a67cd7572e5d
-Source1:	%{name}.desktop
+Source0:	http://downloads.sourceforge.net/kcheckgmail/%{name}-%{version}.tar.bz2
+# Source0-md5:	12d375119d7048d6649532b0b0cae32b
 Patch0:		%{name}-firefox-name.patch
-Patch1:		kde-am.patch
+Patch1:		%{name}-desktop.patch
 URL:		http://kcheckgmail.sourceforge.net/
-BuildRequires:	autoconf >= 2.53
-BuildRequires:	automake >= 1:1.6.1
+BuildRequires:	cmake >= 2.4.5
 BuildRequires:	gettext-devel
-#BuildRequires:	kdelibs-devel >= 9:3.2.0
+BuildRequires:	kde4-kdelibs-devel
 BuildRequires:	rpmbuild(macros) >= 1.129
-BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,28 +29,16 @@
 %patch1 -p1
 
 %build
-cp -f /usr/share/automake/config.sub admin/
-%{__sed} -i -e "s,SUBDIRS = \$(TOPSUBDIRS),SUBDIRS = doc icons po src,g" Makefile.am
-%{__make} -f admin/Makefile.common cvs
-
-%configure \
-%if "%{_lib}" == "lib64"
-	--enable-libsuffix=64 \
-%endif
-	--%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
-	--with-qt-libraries=%{_libdir}
+%cmake  \
+	-DCMAKE_INSTALL_PREFIX="%{_prefix}"
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir}/kde,%{_pixmapsdir},%{_libdir}/%{name}}
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	kde_htmldir=%{_kdedocdir} \
-	kde_libs_htmldir=%{_kdedocdir}
-
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/kde
+	DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name} --with-kde
 
@@ -62,9 +47,9 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO 
-%attr(755,root,root) %{_bindir}/*
-%{_desktopdir}/kde/kcheckgmail.desktop
+%doc AUTHORS README TODO
+%attr(755,root,root) %{_bindir}/kcheckgmail
+%{_desktopdir}/kde4/kcheckgmail.desktop
 %{_iconsdir}/*/*/*/*
 %{_datadir}/apps/%{name}
 %{_mandir}/man1/kcheckgmail.1*
@@ -75,6 +60,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2010/03/05 10:46:31  lisu
+- updated to 0.6.0
+- change build system to cmake (proper BRs, remove useless stuff, etc.)
+- use its own .desktop file (-desktop.patch), remove old one
+- works nice with kde4
+
 Revision 1.27  2009/07/02 21:12:31  hawk
 - auotmake 1.11 fix
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kcheckgmail/kcheckgmail.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list