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