]> git.pld-linux.org Git - packages/galculator.git/blob - galculator.spec
- gtk added to categories
[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:        2
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 Patch1:         %{name}-desktop.patch
14 URL:            http://galculator.sourceforge.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  flex
18 BuildRequires:  libglade2-devel >= 2.0.1
19 BuildRequires:  pkgconfig
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 GTK 2 based scientific calculator with ordinary notation/reverse
24 polish notation, different number bases (DEC, HEX, OCT, BIN) and
25 different angle bases (DEG, RAD, GRAD).
26
27 %description -l pl
28 Kalkulator naukowy bazuj±cy na GTK 2 z notacj± zwyk³± i odwrotn±
29 polsk±, ró¿nymi systemami liczbowymi (dziesiêtny, szesnastkowy,
30 ósemkowy, binarny) i ró¿nymi miarami k±towymi (stopieñ, radian,
31 gradus).
32
33 %prep
34 %setup -q
35 %patch0 -p1
36 %patch1 -p1
37
38 %build
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %find_lang %{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/%{name}
59 %{_desktopdir}/%{name}.desktop
60 %{_datadir}/%{name}
61 %{_mandir}/man1/%{name}.1*
This page took 0.945207 seconds and 3 git commands to generate.