]> git.pld-linux.org Git - packages/kde4-kbruch.git/blob - kde4-kbruch.spec
- rebuild for g++ ABI changes
[packages/kde4-kbruch.git] / kde4-kbruch.spec
1 %define         _state          stable
2 %define         orgname         kbruch
3
4 Summary:        K Desktop Environment - Task generator for calculations with fractions
5 Summary(pl.UTF-8):      K Desktop Environment - Generator zadań z obliczeniami na ułamkach
6 Name:           kde4-kbruch
7 Version:        4.14.3
8 Release:        2
9 License:        GPL
10 Group:          X11/Applications
11 Source0:        http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
12 # Source0-md5:  bafe4f9c8ed5339628a382acfcd4c8c0
13 URL:            http://www.kde.org/
14 BuildRequires:  kde4-kdelibs-devel
15 Obsoletes:      kde4-kdeedu-kbruch < 4.6.99
16 Obsoletes:      kbruch < 4.8.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 KBruch is a small program to generate tasks with fractions. The user
21 has to solve the given task by entering the right value for numerator
22 and denominator. The program checks the input and gives feedback. The
23 task generation can be adjusted by using different parameters. The
24 user can decide if he wants to solve tasks with addition/subtraction
25 and/or multiplication/division.
26
27 %description -l pl.UTF-8
28 Generator zadań z obliczeniami na ułamkach. KBruch to mały program do
29 generowania zadań z ułamkami. Użytkownik ma rozwiązać zadanie poprzez
30 wpisanie poprawnej wartości dla licznika i mianownika. Następnie
31 program sprawdza poprawność danych. Generowanie zadań można
32 dostosowywać przy pomocy różnych parametrów. Użytkownik może
33 decydować, czy chce rozwiązywać zadania z dodawaniem/odejmowaniem
34 i/lub mnożeniem/dzieleniem.
35
36 %prep
37 %setup -q -n %{orgname}-%{version}
38
39 %build
40 install -d build
41 cd build
42 %cmake \
43         ..
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} -C build/ install \
50         DESTDIR=$RPM_BUILD_ROOT \
51         kde_htmldir=%{_kdedocdir}
52
53 %find_lang %{orgname} --with-kde
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files -f %{orgname}.lang
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/kbruch
61 %{_datadir}/appdata/kbruch.appdata.xml
62 %{_datadir}/apps/kbruch
63 %{_datadir}/config.kcfg/kbruch.kcfg
64 %{_desktopdir}/kde4/kbruch.desktop
65 %{_iconsdir}/hicolor/scalable/apps/kbruch.svgz
66 %{_iconsdir}/hicolor/*x*/apps/kbruch.png
67 %{_mandir}/man1/kbruch.1*
This page took 0.074302 seconds and 3 git commands to generate.