[plasmate] import

Rex Dieter rdieter at fedoraproject.org
Fri Mar 15 17:22:11 UTC 2013


commit f3a1554b6b4eb3e1286c7b2b6e2c2f39fa24e449
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Mar 15 12:21:40 2013 -0500

    import

 .gitignore                   |    1 +
 0001-update-KAboutData.patch |   30 +++++++++++
 plasmate.spec                |  116 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 4 files changed, 148 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..40c9f02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/plasmate-1.0.tar.gz
diff --git a/0001-update-KAboutData.patch b/0001-update-KAboutData.patch
new file mode 100644
index 0000000..cd4f27e
--- /dev/null
+++ b/0001-update-KAboutData.patch
@@ -0,0 +1,30 @@
+From 898ef6dfe636553d7baf5536817a74a9756676d9 Mon Sep 17 00:00:00 2001
+From: Fabian Kosmale <0inkane at googlemail.com>
+Date: Wed, 6 Mar 2013 15:10:36 +0100
+Subject: [PATCH] update KAboutData
+
+BUG: 316189
+REVIEW: 109297
+---
+ plasmate/main.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/plasmate/main.cpp b/plasmate/main.cpp
+index a7cae3b..5db1e64 100644
+--- a/plasmate/main.cpp
++++ b/plasmate/main.cpp
+@@ -26,9 +26,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ int main(int argc, char *argv[])
+ {
+     KAboutData aboutData("plasmate", 0, ki18n("Plasmate"),
+-                         "0.1alpha3", ki18n("Plasma Add-Ons Creator"),
++                         "1.0", ki18n("Plasma Add-Ons Creator"),
+                          KAboutData::License_GPL,
+-                         ki18n("Copyright 2009-2012 Plasma Development Team"),
++                         ki18n("Copyright 2009-2013 Plasma Development Team"),
+                          KLocalizedString(), "", "plasma-devel at kde.org");
+ 
+     aboutData.addAuthor(ki18n("Sebastian Kügler"), ki18n("Author"), "sebas at kde.org");
+-- 
+1.8.1.4
+
diff --git a/plasmate.spec b/plasmate.spec
new file mode 100644
index 0000000..f568331
--- /dev/null
+++ b/plasmate.spec
@@ -0,0 +1,116 @@
+
+Name:    plasmate
+Summary: IDE tailored for development of Plasma components
+Version: 1.0
+Release: 4%{?dist}
+
+# for (GPLv2 or GPLv3) KDE e.V. may determine that future GPL versions are accepted
+License: BSD and (GPLv2 or GPLv3) and GPLv2+
+Url:     https://projects.kde.org/projects/extragear/sdk/plasmate
+Source0: http://download.kde.org/stable/plasmate/%{version}%{?pre:-%{pre}}/src/plasmate-%{version}%{?pre:-%{pre}}.tar.gz
+
+## upstream patches
+Patch101: 0001-update-KAboutData.patch
+
+# includes some non-compilable python templates
+# not sure what's up with that. -- rex
+%define _python_bytecompile_errors_terminate_build 0
+
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= 4.10
+BuildRequires: kdepimlibs-devel
+BuildRequires: git-core
+BuildRequires: gpgme-devel
+BuildRequires: pkgconfig(libattica)
+BuildRequires: pkgconfig(QtWebKit)
+
+Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}}
+# plasmoidviewer moved here from kde-workspace-4.9
+Conflicts: kde-workspace < 4.10
+
+
+%description
+A small IDE tailored for development of Plasma components, 
+such as Widgets, Runners, Dataengines.
+
+
+%prep
+%setup -q -n plasmate-%{version}%{?pre:-%{pre}}
+
+%patch101 -p1 -b .0001
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+## unpackaged files
+rm -rfv %{buildroot}%{_includedir}/
+
+
+%check
+desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/plasmate.desktop
+
+
+%post
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+
+%posttrans
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+fi
+
+%files
+%doc COPYING
+%{_kde4_bindir}/kwin-windowswitcherpreviewer
+#  GPLv2 or GPLv3 (KDE e.V.)
+%{_kde4_bindir}/plasma-remote-widgets-browser
+# GPLv2+
+%{_kde4_bindir}/plasmaengineexplorer
+%{_kde4_bindir}/plasmakconfigxteditor
+%{_kde4_bindir}/plasmaremoteinstaller
+# GPLv2 or GPLv3 (KDE e.V.)
+%{_kde4_bindir}/plasmate
+# GPLv2+
+%{_kde4_bindir}/plasmawallpaperviewer
+# BSD
+%{_kde4_bindir}/plasmoidviewer
+%{_kde4_libdir}/kde4/plasma_containment_studiopreviewer.so
+%{_kde4_datadir}/applications/kde4/plasmate.desktop
+%{_kde4_configdir}/plasmate.knsrc
+%{_kde4_iconsdir}/hicolor/*/*/*
+%{_kde4_appsdir}/plasmate/
+%{_kde4_datadir}/kde4/services/plasma-containment-studiopreviewer.desktop
+%{_mandir}/man1/plasmaengineexplorer.1*
+%{_mandir}/man1/plasmoidviewer.1*
+
+
+%changelog
+* Thu Mar 14 2013 Rex Dieter <rdieter at fedoraproject.org> 1.0-4
+- License: BSD and (GPLv2 or GPLv3) and GPLv2+
+
+* Thu Mar 14 2013 Rex Dieter <rdieter at fedoraproject.org> 1.0-3
+- use %%cmake_kde4
+- Conflicts: kde-workspace < 4.10
+
+* Fri Mar 08 2013 Rex Dieter <rdieter at fedoraproject.org> 1.0-2
+- pull in upstream patch to correct KAboutData
+
+* Tue Mar 05 2013 Rex Dieter <rdieter at fedoraproject.org>  1.0-1
+- 1.0
+
+* Fri Feb 08 2013 Rex Dieter <rdieter at fedoraproject.org> 0.1-0.2.beta1
+- first try
+
diff --git a/sources b/sources
index e69de29..dcaf4d0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+342e5cdc36e4e1a524b258ca32f1acad  plasmate-1.0.tar.gz


More information about the scm-commits mailing list