]> git.pld-linux.org Git - packages/galculator.git/blob - galculator.spec
- once more categories fix
[packages/galculator.git] / galculator.spec
1 Summary:        A GTK 2 based scientific calculator
2 Summary(pl):    Kalkulator naukowy bazuj±cy na GTK 2
3 Name:           galculator
4 Version:        1.2.3
5 Release:        3
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f42148bcaac4b6b097cf2055c780bcfc
10 Patch0:         %{name}-am.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://galculator.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  flex
16 BuildRequires:  libglade2-devel >= 2.0.1
17 BuildRequires:  pkgconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 GTK 2 based scientific calculator with ordinary notation/reverse
22 polish notation, different number bases (DEC, HEX, OCT, BIN) and
23 different angle bases (DEG, RAD, GRAD).
24
25 %description -l pl
26 Kalkulator naukowy bazuj±cy na GTK 2 z notacj± zwyk³± i odwrotn±
27 polsk±, ró¿nymi systemami liczbowymi (dziesiêtny, szesnastkowy,
28 ósemkowy, binarny) i ró¿nymi miarami k±towymi (stopieñ, radian,
29 gradus).
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -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.063363 seconds and 3 git commands to generate.