]> git.pld-linux.org Git - packages/fung-calc.git/blob - fung-calc.spec
333ef6d055c1555f86e5a15f2555489fd5ab4cc5
[packages/fung-calc.git] / fung-calc.spec
1 Summary:        Fung-Calc is a graphing calculator
2 Summary(pl):    Fung-calc to kalkulator rysuj±cy wykresy
3 Name:           fung-calc
4 Version:        1.3.2b
5 Release:        1
6 License:        GPL
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)
13
14 %define         _htmldir        %{_datadir}/doc/kde/HTML
15 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
16
17 %description
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.
22
23 %description -l pl
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.
27
28 %package devel
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
34
35 %description devel
36 Header files for fung-calc libraries.
37
38 %description devel -l pl
39 Pliki nag³ówkowe bibliotek fung-calc.
40
41 %prep
42 %setup -q
43
44 %build
45 kde_htmldir="%{_htmldir}"; export kde_htmldir
46 kde_appsdir="%{_applnkdir}"; export kde_appsdir
47
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %find_lang %{name} --with-kde
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post   -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc ChangeLog README
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
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libfungcalc*.so
83 %{_libdir}/libfungcalc*.la
84 %{_includedir}/%{name}
This page took 0.067807 seconds and 2 git commands to generate.