%define rel 2 Name: kruler Summary: KDE Screen Ruler Version: 4.8.2 Release: %mkrel %{rel} Epoch: 2 Group: Graphical desktop/KDE License: GPLv2 and GFDL Suggests: kruler-handbook URL: http://www.kde.org/applications/graphics/kruler Source: ftp://ftp.kde.org/pub/kde/stable/%version/src/%name-%version.tar.xz BuildRequires: kdelibs4-devel >= 2:%{version} # Branch Patch (100-200) %description KRuler displays on screen a ruler measuring pixels. Features : - Integrated color picker - Change the length of the ruler - Change the orientation of the ruler - Change the color, transparency and font of the ruler %files %_kde_bindir/kruler %_kde_applicationsdir/kruler.desktop %_kde_appsdir/kruler %_kde_iconsdir/*/*/*/kruler* #------------------------------------------------------------------------------ %package handbook Summary: Kruler handbook Conflicts: kruler < 2:4.7.1 Requires: kruler >= %{epoch}:%{version}-%{release} BuildArch: noarch Group: Books/Other %description handbook This package provides kruler handbook. %files handbook %doc %_kde_docdir/HTML/en/%name #------------------------------------------------------------------------------ %prep %setup -q %build export LD=/usr/bin/ld.gold %cmake_kde4 -DKDE4_ENABLE_FINAL=ON %make %install rm -fr %buildroot %makeinstall_std -C build %changelog * Mon Apr 23 2012 mikala <mikala> 2:4.8.2-2.mga2 + Revision: 232806 - Add missing requires for handbook * Wed Apr 04 2012 fwang <fwang> 2:4.8.2-1.mga2 + Revision: 228478 - new version 4.8.2 * Thu Mar 08 2012 mikala <mikala> 2:4.8.1-1.mga2 + Revision: 221496 - New upstream tarball * Thu Jan 19 2012 mikala <mikala> 2:4.8.0-1.mga2 + Revision: 198191 - Updating tarball to KDE 4.8.0 * Thu Jan 05 2012 mikala <mikala> 2:4.7.97-1.mga2 + Revision: 190917 - Update tarball to KDE SC 4.7.97 * Thu Dec 22 2011 mikala <mikala> 2:4.7.95-1.mga2 + Revision: 185978 - Update tarball to KDE SC 4.7.95 - fix group * Thu Dec 15 2011 mikala <mikala> 2:4.7.90-1.mga2 + Revision: 182145 - Update tarball to KDE SC 4.7.90 * Sun Dec 04 2011 mikala <mikala> 2:4.7.4-1.mga2 + Revision: 176480 - Update tarball to KDE SC 4.7.4 * Wed Nov 02 2011 mikala <mikala> 2:4.7.3-1.mga2 + Revision: 161373 - Update tarball to KDE SC 4.7.3 * Wed Oct 05 2011 mikala <mikala> 2:4.7.2-1.mga2 + Revision: 151971 - Update tarball to KDE SC 4.7.2 * Wed Sep 07 2011 mikala <mikala> 2:4.7.1-0.mga2 + Revision: 140661 - Update tarball to KDE SC 4.7.1 - Split handbook in his own package (mga #2101) - Remove %%clean section - Update tarball to KDE SC 4.7.0 - fix license - use kde macros - update URL * Mon Jul 11 2011 mikala <mikala> 2:4.6.95-0.mga2 + Revision: 122484 - Update tarball to 4.6.95 (KDE SC 4.7 RC2) * Mon Jun 27 2011 mikala <mikala> 2:4.6.90-1.mga2 + Revision: 114935 - imported package kruler