]> git.pld-linux.org Git - packages/galculator.git/blob - galculator.spec
- up tp 1.3
[packages/galculator.git] / galculator.spec
1 Summary:        A GTK+ 2 based scientific calculator
2 Summary(pl.UTF-8):      Kalkulator naukowy bazujący na GTK+ 2
3 Name:           galculator
4 Version:        1.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://dl.sourceforge.net/galculator/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f2de87209d4c9f8dc2fdb1d7a045bef2
10 Patch0:         %{name}-desktop.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.UTF-8
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 -n %{name}-%{version}.0
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*
58 %{_pixmapsdir}/%{name}
This page took 0.156561 seconds and 3 git commands to generate.