]> git.pld-linux.org Git - packages/fung-calc.git/blob - fung-calc.spec
- added desktop patch (fixes Categories in .desktop file)
[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:        2
6 License:        GPL
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)
14
15 %define         _htmldir        %{_datadir}/doc/kde/HTML
16 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
17
18 %description
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.
23
24 %description -l pl
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.
28
29 %package devel
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
35
36 %description devel
37 Header files for fung-calc libraries.
38
39 %description devel -l pl
40 Pliki nag³ówkowe bibliotek fung-calc.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 %build
47 kde_htmldir="%{_htmldir}"; export kde_htmldir
48 kde_appsdir="%{_desktopdir}"; export kde_appsdir
49
50 %configure
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 mv $RPM_BUILD_ROOT%{_desktopdir}/Applications/* $RPM_BUILD_ROOT%{_desktopdir}
60
61 %find_lang %{name} --with-kde
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc ChangeLog README
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
83
84 %files devel
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/libfungcalc*.so
87 %{_libdir}/libfungcalc*.la
88 %{_includedir}/%{name}
This page took 0.045896 seconds and 3 git commands to generate.