1 Summary: Fung-Calc is a graphing calculator
2 Summary(pl): Fung-calc to kalkulator rysuj±cy wykresy
7 Group: X11/Applications/Science
8 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5: bae7a2d39fd6658d4aa181ddc73bd5d5
10 Patch0: %{name}-desktop.patch
11 URL: http://fung-calc.sourceforge.net/
12 BuildRequires: kdelibs-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _htmldir %{_datadir}/doc/kde/HTML
16 %define _noautoreqdep libGL.so.1 libGLU.so.1
19 Fung-Calc is a free, open source advanced, yet easy to use, graphing
20 calculator for Linux using Qt. It plots several types of 2D and 3D
21 graphs. It combines the use of advanced mathematical features and ease
22 of use all in one package.
25 Fung-Cals to ³atwy w u¿yciu kalkulator rysuj±cy wykresy, korzystaj±cy
26 z QT. Rysuje kilka typów wykresów 2D i 3D. £±czy w sobie wykorzystanie
27 zaawansowanych mo¿liwo¶ci matematycznych i ³atwo¶æ u¿ycia.
30 Summary: Header files for fung-calc libraries
31 Summary(pl): Pliki nag³ówkowe bibliotek fung-calc
32 Group: Development/Libraries
33 Requires: %{name} = %{version}
34 Requires: kdelibs-devel
37 Header files for fung-calc libraries.
39 %description devel -l pl
40 Pliki nag³ówkowe bibliotek fung-calc.
47 kde_htmldir="%{_htmldir}"; export kde_htmldir
48 kde_appsdir="%{_desktopdir}"; export kde_appsdir
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
59 mv $RPM_BUILD_ROOT%{_desktopdir}/Applications/* $RPM_BUILD_ROOT%{_desktopdir}
61 %find_lang %{name} --with-kde
64 rm -rf $RPM_BUILD_ROOT
66 %post -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/*
73 %attr(755,root,root) %{_libdir}/libfungcalc*.so.*.*.*
74 %dir %{_datadir}/%{name}
75 # needed here (incl. GPL COPYING)???
76 %{_datadir}/%{name}/[ACRT]*
77 %{_datadir}/%{name}/samplegraphs.fgc
78 %{_desktopdir}/%{name}.desktop
79 %{_datadir}/icons/hicolor/*/apps/fung_calc.png
80 %{_datadir}/mimelnk/application/*.desktop
81 %dir %{_datadir}/%{name}/translations
82 %lang(es) %{_datadir}/%{name}/translations/fung-calc.es.qm
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/libfungcalc*.so
87 %{_libdir}/libfungcalc*.la
88 %{_includedir}/%{name}