]> git.pld-linux.org Git - SPECS.git/blob - kseg.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / kseg.spec
1 Summary:        KSEG is a free interactive geometry system
2 Summary(hu.UTF-8):      KSEG egy ingyenes, interaktív geometriai rendszer
3 Summary(pl.UTF-8):      KSEG jest darmowym interaktywnym systemem geometrycznym
4 Name:           kseg
5 Version:        0.403
6 Release:        2
7 License:        GPL
8 Group:          X11/Applications/Science
9 Source0:        http://www.mit.edu/~ibaran/%{name}-%{version}.tar.gz
10 # Source0-md5:  5474516091e5c4206179cfa03bb7c263
11 Source1:        %{name}.desktop
12 Patch0:         %{name}-emptyConstructionList.patch
13 URL:            http://www.mit.edu/~ibaran/kseg.html
14 BuildRequires:  qmake
15 BuildRequires:  qt-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 KSEG allows you to interactively create a geometrical construction,
20 similar to what you can do with a straight edge and compass. Points
21 may be inserted on the page with right mouse-button clicks, and then
22 used to form segments, lines, circles, or other geometrical objects.
23 At any time you can drag existing points around, and watch how the
24 constructed objects respond.
25
26 %description -l hu.UTF-8
27 KSEG egy program, amellyel interaktívan készíthetsz geometriai
28 ábrékat, hasonlóan, ahogy a valóságban is tennéd. Pontokat
29 rakhatsz le a lapra az egér jobb gombjával, és ezeket használhatod
30 fel szakaszok, vonalaok, körök, vagy bármely más geometriai
31 objektumokhoz. Bármikor mozgathatod a lerakott pontokat, és
32 láthatod, hogy a készített objektumok hogyan változnak.
33
34 %description -l pl.UTF-8
35 KSEG pozwala na interaktywne tworzenie konstrukcji geometrycznych
36 "cyrklem i linijką". Punkty mogą być wstawiane na stronie przez
37 kliknięcie prawym przyciskiem, a potem używane do tworzenia
38 segmentów, linii, okręgów i innych geometrycznych obiektów. W
39 dowolnym momencie możesz przenosić istniejące punkty i oglądać
40 jak wygląda zmieniany obiekt.
41
42 %prep
43 %setup -q -n %{name}
44
45 %patch0 -p1
46
47 %build
48 qmake
49 %{__make} \
50         QTDIR=%{_prefix} \
51         CCFLAGS="%{rpmcflags} -c -fno-rtti -fno-exceptions" \
52         CC="%{__cxx}" \
53         QTINCLUDE="-I/usr/include/qt"
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -D kseg $RPM_BUILD_ROOT%{_bindir}/kseg
58
59 install -d $RPM_BUILD_ROOT%{_desktopdir}
60 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
61
62 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63 install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
64
65 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
66 install *.qm $RPM_BUILD_ROOT%{_datadir}/%{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc README* AUTHORS*
74 %attr(755,root,root) %{_bindir}/*
75 %{_examplesdir}/%{name}-%{version}
76 %{_desktopdir}/kseg.desktop
77 %{_datadir}/kseg
This page took 0.134873 seconds and 3 git commands to generate.