[packages/kde4-ktux] - new, based on kde4-ktoys

witekfl witekfl at pld-linux.org
Thu Dec 26 22:57:21 CET 2013


commit e88a106d3d2ed3974fee075d6a3d19f897066ef9
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Dec 26 22:56:53 2013 +0100

    - new, based on kde4-ktoys

 kde4-ktux.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/kde4-ktux.spec b/kde4-ktux.spec
new file mode 100644
index 0000000..4ad17b0
--- /dev/null
+++ b/kde4-ktux.spec
@@ -0,0 +1,53 @@
+#
+%define		_state		stable
+%define		orgname		ktux
+%define		qtver		4.8.0
+
+Summary:	ktux
+Name:		kde4-%{orgname}
+Version:	4.12.0
+Release:	1
+License:	LGPL
+Group:		X11/Applications
+Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
+# Source0-md5:	cc954c0fd521d2947ae06730b3d90c0e
+URL:		http://www.kde.org/
+BuildRequires:	automoc4 >= 0.9.84
+BuildRequires:	cmake >= 2.8.0
+BuildRequires:	kde4-kdebase-workspace-devel >= 4.11.4
+BuildRequires:	kde4-kdelibs-devel >= %{version}
+BuildRequires:	qt4-build >= %{qtver}
+BuildRequires:	qt4-qmake >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.600
+Obsoletes:	kde4-kdetoys-%{orgname}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tux in a spaceship screen saver.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+	.. \
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ktux
+%{_datadir}/apps/ktux
+%{_iconsdir}/hicolor/*x*/apps/ktux.png
+%{_datadir}/kde4/services/ScreenSavers/ktux.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-ktux.git/commitdiff/e88a106d3d2ed3974fee075d6a3d19f897066ef9



More information about the pld-cvs-commit mailing list