]> git.pld-linux.org Git - packages/fung-calc.git/blob - fung-calc.spec
- tabs in preamble
[packages/fung-calc.git] / fung-calc.spec
1 Summary:        Fung-Calc is a graphing calculator
2 Summary(pl.UTF-8):      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/fung-calc/%{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 BuildRequires:  rpmbuild(macros) >= 1.129
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
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.UTF-8
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.UTF-8):      Pliki nagłówkowe bibliotek fung-calc
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       kdelibs-devel
35
36 %description devel
37 Header files for fung-calc libraries.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe bibliotek fung-calc.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 %build
47 kde_htmldir="%{_kdedocdir}"; 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 %dir %{_datadir}/%{name}/translations
79 %lang(es) %{_datadir}/%{name}/translations/fung-calc.es.qm
80 %{_desktopdir}/%{name}.desktop
81 %{_datadir}/icons/hicolor/*/apps/fung_calc.png
82 %{_datadir}/mimelnk/application/*.desktop
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.056061 seconds and 3 git commands to generate.