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