SPECS (DEVEL): konversation.spec - KDE4 snapshot (working)

vip vip at pld-linux.org
Wed Mar 18 09:59:11 CET 2009


Author: vip                          Date: Wed Mar 18 08:59:11 2009 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- KDE4 snapshot (working)

---- Files affected:
SPECS:
   konversation.spec (1.4.2.2 -> 1.4.2.3) 

---- Diffs:

================================================================
Index: SPECS/konversation.spec
diff -u SPECS/konversation.spec:1.4.2.2 SPECS/konversation.spec:1.4.2.3
--- SPECS/konversation.spec:1.4.2.2	Mon Feb 12 14:20:14 2007
+++ SPECS/konversation.spec	Wed Mar 18 09:59:06 2009
@@ -1,24 +1,22 @@
 # $Revision$, $Date$
-%define		_snap	050106
+%define		snap	940743
 Summary:	A user friendly IRC Client for KDE
-Summary(pl.UTF-8):   Przyjazny dla użytkownika klient IRC dla KDE
+Summary(pl.UTF-8):	Przyjazny dla użytkownika klient IRC dla KDE
 Name:		konversation
-Version:	0.16
-Release:	0.%{_snap}.1
+Version:	1.1.75
+Release:	0.%{snap}.1
 License:	GPL
 Group:		Applications/Communications
-%if ! %{with cvs}
-Source0:	%{name}-%{_snap}.tar.bz2
-# Source0-md5:	462c51a6f3c38a3c49642e47a6527131	
-%else
-Source0:	kdesource.tar.gz
-%endif
+Source0:	http://team.pld-linux.org/~vip/%{name}-%{version}-rev%{snap}.tar.bz2
+# Source0-md5:	65eb0a358500e579c86ae9f7e16ca5d8
 URL:		http://konversation.sourceforge.net/
-BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	kdelibs-devel
-BuildRequires:	unsermake >= 040511
-Requires:	kdelibs
+BuildRequires:	automoc4
+BuildRequires:	cmake
+BuildRequires:	gettext-devel
+BuildRequires:	kde4-kdepimlibs-devel
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.129
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,40 +36,42 @@
 - i wieloma innymi możliwościami
 
 %prep
-%setup -q -n %{name} %{?with_cvs:-D}
+%setup -q
 
 %build
-cp %{_datadir}/automake/config.sub admin
-export UNSERMAKE=%{_datadir}/unsermake/unsermake
-%{__make} -f Makefile.cvs
-
-%configure \
-	--with-qt-libraries=%{_libdir}
+%cmake \
+		-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+		-DLIB_INSTALL_DIR=%{_libdir} \
+		-DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
+%if "%{_lib}" == "lib64"
+		-DLIB_SUFFIX=64 \
+%endif
+		.
 
-%{__make} -C konversation
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make}  -C konversation \
-	install DESTDIR=$RPM_BUILD_ROOT \
-	kde_htmldir=%{_kdedocdir} \
-	kde_libs_htmldir=%{_kdedocdir}
 
-%{__sed} -i -e "s,Network,Network;X-Communication,g" \
-	$RPM_BUILD_ROOT%{_desktopdir}/kde/konversation.desktop
+%{__make} install \
+        DESTDIR=$RPM_BUILD_ROOT \
+        kde_htmldir=%{_kdedocdir} \
+        kde_libs_htmldir=%{_kdedocdir}
+
+%find_lang %{name}  --with-kde --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/apps/konversation
-%{_datadir}/config.kcfg/konversation.kcfg
 %{_datadir}/apps/kconf_update/*
-%{_datadir}/services/konvirc*.protocol
-%{_desktopdir}/kde/konversation.desktop
 %{_iconsdir}/*/*/*/*.*
+%{_desktopdir}/kde4/konversation.desktop
+%{_datadir}/kde4/services/konvirc.protocol
+%{_datadir}/kde4/services/konvirc6.protocol
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -79,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4.2.3  2009/03/18 08:59:06  vip
+- KDE4 snapshot (working)
+
 Revision 1.4.2.2  2007/02/12 13:20:14  baggins
 - converted to UTF-8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/konversation.spec?r1=1.4.2.2&r2=1.4.2.3&f=u



More information about the pld-cvs-commit mailing list