[plasma-mobile] plasma-mobile-0.4

Rex Dieter rdieter at fedoraproject.org
Sat Oct 27 16:50:10 UTC 2012


commit 86a82550ef6944828791d7a642e81669b5fc35c9
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Sat Oct 27 11:50:14 2012 -0500

    plasma-mobile-0.4

 .gitignore                                |    1 +
 plasma-mobile-0.2-fix-desktop-files.patch |   38 ----------------
 plasma-mobile.spec                        |   70 ++++++++++++++++-------------
 sources                                   |    2 +-
 4 files changed, 40 insertions(+), 71 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ce6a0fa..7ab9acd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /plasma-mobile-0.3.tar.bz2
 /plasma-mobile-0.3-20120810git.tar.xz
+/plasma-mobile-0.4.tar.xz
diff --git a/plasma-mobile.spec b/plasma-mobile.spec
index 868b64a..3186f83 100644
--- a/plasma-mobile.spec
+++ b/plasma-mobile.spec
@@ -1,18 +1,14 @@
 
-%define snap 20120810git
-
 Name:           plasma-mobile
-Version:        0.3
-Release:        6.%{snap}%{?dist}
+Version:        0.4
+Release:        1%{?dist}
 Summary:        A Plasma Active mobile workspace
 
 License:        GPLv2+
 URL:            http://plasma-active.org/
-#Source0:        ftp://ftp.kde.org/pub/kde/stable/active/1.0/src/%{name}-%{version}.tar.bz2
+Source0:        http://download.kde.org/stable/active/3.0/src/%{name}-%{version}.tar.xz
 # git archive --prefix=plasma-mobile-0.3/ master | xz > plasma-mobile-0.3-%{snap}.tar.xz
-Source0:        plasma-mobile-0.3-%{snap}.tar.xz
-
-Patch0:         plasma-mobile-0.2-fix-desktop-files.patch
+#Source0:        plasma-mobile-0.3-%{snap}.tar.xz
 
 BuildRequires:  desktop-file-utils
 BuildRequires:  kactivities-devel
@@ -34,11 +30,16 @@ Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
 A touch enabled Plasma Active workspace aiming on different
 (not only) mobile devices.
 
-%package wallpapers
-Summary: KDE Plasma Active wallpapers
-Requires: kde-filesystem
-BuildArch: noarch
-%description wallpapers
+%package devel
+Summary: Developer files for %{name}
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+Requires: kdelibs4-devel
+%description devel
+%{summary}.
+
+%package libs
+Summary: Runtime libraries for %{name}
+%description libs
 %{summary}.
 
 %package mouse-cursor-themes
@@ -47,17 +48,17 @@ BuildArch: noarch
 %description mouse-cursor-themes
 %{summary}.
 
-%package libs
-Summary: Runtime libraries for %{name}
-%description libs
+%package wallpapers
+Summary: KDE Plasma Active wallpapers
+Requires: kde-filesystem
+BuildArch: noarch
+%description wallpapers
 %{summary}.
 
 
 %prep
 %setup -q
 
-#patch0 -p1 -b .fix-desktop-files
-
 
 %build
 mkdir -p %{_target_platform}
@@ -73,10 +74,6 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
 ## unpackaged files
 rm -rfv %{buildroot}%{_kde4_appsdir}/plasma/services/powermanagementservice.operations
-# -devel type stuff (for now)
-rm -rfv %{buildroot}%{_kde4_includedir}/*
-rm -fv  %{buildroot}%{_kde4_libdir}/libactiveapp.so
-rm -rfv %{buildroot}%{_kde4_appsdir}/cmake/
 
 
 %check
@@ -86,18 +83,20 @@ done
 
 
 %post
-/sbin/ldconfig
 touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+touch --no-create %{_kde4_iconsdir}/oxygen &> /dev/null || :
 
 %posttrans
 gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null || :
 update-desktop-database -q &> /dev/null || :
 
 %postun
-/sbin/ldconfig
 if [ $1 -eq 0 ] ; then
 touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
 gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null || :
 update-desktop-database -q &> /dev/null || :
 fi
 
@@ -108,14 +107,12 @@ fi
 %{_kde4_bindir}/active-settings
 %{_kde4_bindir}/active-webbrowser
 %{_kde4_bindir}/plasma-device
-%{_kde4_bindir}/plasma-keyboardcontainer
 %{_kde4_bindir}/plasma-widgetstrip
 %{_kde4_libdir}/kde4/imports/org/kde/active/
 %{_kde4_libdir}/kde4/imports/org/kde/dirmodel/
 %{_kde4_libdir}/kde4/imports/org/kde/metadatamodels/
 %{_kde4_libdir}/kde4/imports/org/kde/plasma/mobilecomponents/
 %{_kde4_libdir}/kde4/*.so
-%{_kde4_libdir}/libactiveapp.so.0*
 %{_kde4_libdir}/libkdeinit4_*.so
 %{_kde4_libexecdir}/activedatetimehelper
 %{_kde4_datadir}/applications/kde4/active-about.desktop
@@ -126,8 +123,8 @@ fi
 %{_kde4_datadir}/applications/kde4/active-settings.desktop
 %{_kde4_datadir}/applications/kde4/active-web-browser.desktop
 %{_kde4_datadir}/applications/kde4/widget-strip.desktop
-%{_kde4_datadir}/autostart/plasma-keyboardshell.desktop
 %{_kde4_iconsdir}/hicolor/*/*/*
+%{_kde4_iconsdir}/oxygen/*/*/*
 %{_kde4_appsdir}/active-webbrowser/
 %{_kde4_appsdir}/desktoptheme/air-mobile/
 %{_kde4_appsdir}/desktoptheme/default/icons/*
@@ -141,19 +138,28 @@ fi
 %{_polkit_qt_policydir}/org.kde.active.clockconfig.policy
 %{_sysconfdir}/dbus-1/system.d/org.kde.active.clockconfig.conf
 
+%files devel
+%{_kde4_includedir}/*.h
+%{_kde4_libdir}/libactiveapp.so
+%{_kde4_appsdir}/cmake/modules/FindActiveApp.cmake
 
-%files wallpapers
-%{_kde4_datadir}/wallpapers/Fiber/
-%{_kde4_datadir}/wallpapers/HorosGreen/
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
+%files libs
+%{_kde4_libdir}/libactiveapp.so.0*
 
 %files mouse-cursor-themes
 %{_kde4_iconsdir}/plasmamobilemouse/
 
-%files libs
-%{_qt4_plugindir}/inputmethods/plasmainputcontextplugin.so
+%files wallpapers
+%{_kde4_datadir}/wallpapers/HorosGreen/
 
 
 %changelog
+* Sat Oct 27 2012 Rex Dieter <rdieter at fedoraproject.org> 0.4-1
+- plasma-mobile-0.4
+
 * Fri Aug 10 2012 Rex Dieter <rdieter at fedoraproject.org> 0.3-6.20120810git
 - 20120810 git snapshot (master branch)
 
diff --git a/sources b/sources
index eafb2c8..19e6d49 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1f645b088f6c70d0e843c51a52e37ce5  plasma-mobile-0.3-20120810git.tar.xz
+5d4bd547a61009044cfa68e898252ae5  plasma-mobile-0.4.tar.xz


More information about the scm-commits mailing list