packages: kde4-kcalc/kde4-kcalc.spec (NEW) - up to 4.8.0

arekm arekm at pld-linux.org
Sun Jan 22 20:24:04 CET 2012


Author: arekm                        Date: Sun Jan 22 19:24:04 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 4.8.0

---- Files affected:
packages/kde4-kcalc:
   kde4-kcalc.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kde4-kcalc/kde4-kcalc.spec
diff -u /dev/null packages/kde4-kcalc/kde4-kcalc.spec:1.1
--- /dev/null	Sun Jan 22 20:24:04 2012
+++ packages/kde4-kcalc/kde4-kcalc.spec	Sun Jan 22 20:23:59 2012
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+#
+%define		_state		stable
+%define		orgname		kcalc
+%define		qtver		4.8.0
+
+Summary:	K Desktop Environment - KDE calculator
+Name:		kde4-kcalc
+Version:	4.8.0
+Release:	1
+License:	GPL
+Group:		X11/Applications
+Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2
+# Source0-md5:	783fa13b557779d6ce661451a71a56c4
+URL:		http://www.kde.org/
+BuildRequires:	kde4-kdebase-devel >= %{version}
+Requires:	kde4-kdebase-workspace >= %{version}
+Obsoletes:	kcalc
+Obsoletes:	kde4-kdeutils-kcalc
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Calculator for KDE.
+
+%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 \
+	kde_htmldir=%{_kdedocdir}
+
+%find_lang %{orgname} --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{orgname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kcalc
+%attr(755,root,root) %{_libdir}/libkdeinit4_kcalc.so
+%{_datadir}/apps/kcalc
+%{_datadir}/apps/kconf_update/kcalcrc.upd
+%{_datadir}/config.kcfg/kcalc.kcfg
+%{_desktopdir}/kde4/kcalc.desktop
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/01/22 19:23:59  arekm
+- up to 4.8.0
+
================================================================


More information about the pld-cvs-commit mailing list