]> git.pld-linux.org Git - packages/galculator.git/blob - galculator.spec
b4434426bf75bb3785e9ce723a23620e790c4c7f
[packages/galculator.git] / galculator.spec
1 # TODO:
2 # - fix desktop to put it into proper menu
3 Summary:        A GTK 2 based scientific calculator
4 Summary(pl):    Kalkulator naukowy bazuj±cy na GTK 2
5 Name:           galculator
6 Version:        1.2.3
7 Release:        1
8 License:        GPL
9 Group:          Applications/Math
10 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
11 # Source0-md5:  f42148bcaac4b6b097cf2055c780bcfc
12 Patch0:         %{name}-am.patch
13 URL:            http://galculator.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  flex
17 BuildRequires:  libglade2-devel >= 2.0.1
18 BuildRequires:  pkgconfig
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 GTK 2 based scientific calculator with ordinary notation/reverse
23 polish notation, different number bases (DEC, HEX, OCT, BIN) and
24 different angle bases (DEG, RAD, GRAD).
25
26 %description -l pl
27 Kalkulator naukowy bazuj±cy na GTK 2 z notacj± zwyk³± i odwrotn±
28 polsk±, ró¿nymi systemami liczbowymi (dziesiêtny, szesnastkowy,
29 ósemkowy, binarny) i ró¿nymi miarami k±towymi (stopieñ, radian,
30 gradus).
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %{__aclocal}
38 %{__autoconf}
39 %{__automake}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %find_lang %{name}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files -f %{name}.lang
55 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/%{name}
57 %{_desktopdir}/%{name}.desktop
58 %{_datadir}/%{name}
59 %{_mandir}/man1/%{name}.1*
This page took 0.123368 seconds and 3 git commands to generate.