Author: arekm Date: Tue Sep 13 19:37:26 2011 GMT Module: packages Tag: HEAD ---- Log message: - up to 4.7.1
---- Files affected: packages/kbruch: kbruch.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/kbruch/kbruch.spec diff -u /dev/null packages/kbruch/kbruch.spec:1.1 --- /dev/null Tue Sep 13 21:37:26 2011 +++ packages/kbruch/kbruch.spec Tue Sep 13 21:37:21 2011 @@ -0,0 +1,76 @@ +# $Revision$, $Date$ +%define _state stable +%define orgname kbruch + +Summary: K Desktop Environment - Task generator for calculations with fractions +Summary(pl_PL.UTF8): K Desktop Environment - Generator zadań z obliczeniami na ułamkach +Name: kbruch +Version: 4.7.1 +Release: 1 +License: GPL +Group: X11/Applications +Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 +# Source0-md5: 95a186add683373cdae592e259a250ae +URL: http://www.kde.org/ +BuildRequires: kde4-kdelibs-devel +Obsoletes: kde4-kdeedu-kbruch < 4.7.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +KBruch is a small program to generate tasks with fractions. The user +has to solve the given task by entering the right value for numerator +and denominator. The program checks the input and gives feedback. The +task generation can be adjusted by using different parameters. The +user can decide if he wants to solve tasks with addition/subtraction +and/or multiplication/division. + +%description -l pl.UTF-8 +Generator zadań z obliczeniami na ułamkach. KBruch to mały program do +generowania zadań z ułamkami. Użytkownik ma rozwiązać zadanie poprzez +wpisanie poprawnej wartości dla licznika i mianownika. Następnie +program sprawdza poprawność danych. Generowanie zadań można +dostosowywać przy pomocy różnych parametrów. Użytkownik może +decydować, czy chce rozwiązywać zadania z dodawaniem/odejmowaniem +i/lub mnożeniem/dzieleniem. + +%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 %{name} --with-kde + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/kbruch +%{_datadir}/apps/kbruch +%{_datadir}/config.kcfg/kbruch.kcfg +%{_desktopdir}/kde4/kbruch.desktop +%{_iconsdir}/hicolor/scalable/apps/kbruch.svgz +%{_iconsdir}/hicolor/*x*/apps/kbruch.png +%{_mandir}/man1/kbruch.1* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/09/13 19:37:21 arekm +- up to 4.7.1 + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
