Author: shadzik                      Date: Wed Jun 16 10:55:53 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 0.6.3
- adjusted for kde4

---- Files affected:
packages/knemo:
   knemo.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: packages/knemo/knemo.spec
diff -u packages/knemo/knemo.spec:1.21 packages/knemo/knemo.spec:1.22
--- packages/knemo/knemo.spec:1.21      Mon Jun 23 15:35:24 2008
+++ packages/knemo/knemo.spec   Wed Jun 16 12:55:47 2010
@@ -1,19 +1,24 @@
 # $Revision$, $Date$
+
+%define                kdever  4.4.4
+%define                qtver   4.6.2
+
 Summary:       The KDE Network Monitor
 Summary(pl.UTF-8):     Monitor sieci dla KDE
 Name:          knemo
-Version:       0.4.8
-Release:       3
+Version:       0.6.3
+Release:       1
 License:       GPL
 Group:         X11/Applications
 Source0:       
http://kde-apps.org/CONTENT/content-files/12956-%{name}-%{version}.tar.bz2
-# Source0-md5: 8c716f01be470fd6690ed0902adcc536
-Patch0:                kde-ac260-lt.patch
+# Source0-md5: ee21176b15a0ee947d5f3c6dbfa568e4
 URL:           http://kde-apps.org/content/show.php?content=12956
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gettext-devel
-BuildRequires: kdelibs-devel
+BuildRequires:  automoc4 >= 0.9.88
+BuildRequires:  cmake >= 2.8.0
+BuildRequires:  kde4-kdebase-workspace-devel >= %{kdever}
+BuildRequires:  kde4-kdelibs-devel >= %{kdever}
+BuildRequires:  qt4-build >= %{qtver}
+BuildRequires:  qt4-qmake >= %{qtver}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,20 +41,23 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-cp -f /usr/share/automake/config.sub admin
-%{__make} -f admin/Makefile.common cvs
-%configure \
-       --with-qt-libraries=%{_libdir}
+install -d build
+cd build
+%cmake .. \
+       -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" == "lib64"
+       -DLIB_SUFFIX=64
+%endif
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name} --all-name
@@ -59,15 +67,14 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%{_libdir}/kde3/kcm_knemo.la
-%attr(755,root,root) %{_libdir}/kde3/kcm_knemo.so
-%{_libdir}/kde3/kded_knemod.la
-%attr(755,root,root) %{_libdir}/kde3/kded_knemod.so
+%attr(755,root,root) %{_bindir}/knemo
+%attr(755,root,root) %{_libdir}/kde4/kcm_knemo.so
+%{_desktopdir}/kde4/knemo.desktop
 %{_datadir}/apps/knemo
-%{_datadir}/services/kded/knemod.desktop
-%{_desktopdir}/kde/kcm_knemo.desktop
-%{_iconsdir}/*/*/actions/*.png
-%{_iconsdir}/crystalsvg/*/apps/knemo.png
+%{_datadir}/autostart/knemo.desktop
+%{_iconsdir}/hicolor/*x*/apps/knemo.png
+%{_iconsdir}/hicolor/*x*/status/knemo*.png
+%{_datadir}/kde4/services/kcm_knemo.desktop
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -75,6 +82,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2010/06/16 10:55:47  shadzik
+- 0.6.3
+- adjusted for kde4
+
 Revision 1.21  2008/06/23 13:35:24  charles
 - BR: gettext-devel
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/knemo/knemo.spec?r1=1.21&r2=1.22&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to