[ktux] Initial push

Martin Briza mbriza at fedoraproject.org
Tue Aug 27 15:36:26 UTC 2013


commit 730520bcb7097f0a0499e3c1fa93d7ecac5d772a
Author: Martin Briza <mbriza at redhat.com>
Date:   Tue Aug 27 17:36:05 2013 +0200

    Initial push

 .gitignore |    1 +
 ktux.spec  |   66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7718ac7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ktux-4.11.0.tar.xz
diff --git a/ktux.spec b/ktux.spec
new file mode 100644
index 0000000..994ff7e
--- /dev/null
+++ b/ktux.spec
@@ -0,0 +1,66 @@
+Name:    ktux
+Summary: Tux-in-a-Spaceship screen saver
+Version: 4.11.0
+Release: 1%{?dist}
+
+License: GPLv2+
+URL:     https://projects.kde.org/projects/kde/kdetoys/ktux
+%global revision %(echo %{version} | cut -d. -f3)
+%if %{revision} >= 50
+%global stable unstable
+%else
+%global stable stable
+%endif
+Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
+
+BuildRequires: kde-workspace-devel >= %{version}
+
+Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts:      kdetoys < 7:4.10.80
+Obsoletes:      kdetoys < 7:4.10.80
+
+%description
+KTux is a screensaver of outer space, with Tux in a spaceship flying by.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%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}
+
+
+%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 AUTHORS COPYING
+%{_kde4_bindir}/ktux
+%{_kde4_appsdir}/ktux/
+%{_kde4_datadir}/kde4/services/ScreenSavers/ktux.desktop
+%{_kde4_iconsdir}/hicolor/*/*/ktux.png
+
+
+%changelog
+* Tue Aug 27 2013 Martin Briza <mbriza at redhat.com> - 4.11.0-1
+- Split off from kdetoys package
diff --git a/sources b/sources
index e69de29..7efae79 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2c809fb3edb90f452dbfe0ad8ea41305  ktux-4.11.0.tar.xz


More information about the scm-commits mailing list