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