]>
Commit | Line | Data |
---|---|---|
5772d48a | 1 | Summary: A GTK+ 2 based scientific calculator |
fbe915c2 | 2 | Summary(pl.UTF-8): Kalkulator naukowy bazujący na GTK+ 2 |
bc37bdae | 3 | Name: galculator |
0f16da57 | 4 | Version: 1.3 |
f66eeb3f | 5 | Release: 1 |
bc37bdae | 6 | License: GPL |
7 | Group: Applications/Math | |
ee87094e | 8 | Source0: http://dl.sourceforge.net/galculator/%{name}-%{version}.tar.bz2 |
0f16da57 | 9 | # Source0-md5: f2de87209d4c9f8dc2fdb1d7a045bef2 |
33bec421 | 10 | Patch0: %{name}-desktop.patch |
54fd8899 | 11 | URL: http://galculator.sourceforge.net/ |
bc37bdae | 12 | BuildRequires: autoconf |
3998c9bf | 13 | BuildRequires: automake |
ee3d44b6 | 14 | BuildRequires: flex |
ffe711f6 | 15 | BuildRequires: libglade2-devel >= 2.0.1 |
3998c9bf | 16 | BuildRequires: pkgconfig |
bc37bdae | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
5772d48a | 20 | GTK+ 2 based scientific calculator with ordinary notation/reverse |
bc37bdae | 21 | polish notation, different number bases (DEC, HEX, OCT, BIN) and |
22 | different angle bases (DEG, RAD, GRAD). | |
23 | ||
fb55e291 JR |
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, | |
bc37bdae | 28 | gradus). |
29 | ||
30 | %prep | |
0f16da57 | 31 | %setup -q -n %{name}-%{version}.0 |
715905f2 | 32 | %patch0 -p1 |
bc37bdae | 33 | |
34 | %build | |
3998c9bf | 35 | %{__aclocal} |
bc37bdae | 36 | %{__autoconf} |
3998c9bf | 37 | %{__automake} |
bc37bdae | 38 | %configure |
bc37bdae | 39 | %{__make} |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
be4915bd | 45 | DESTDIR=$RPM_BUILD_ROOT |
54fd8899 | 46 | |
47 | %find_lang %{name} | |
bc37bdae | 48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
54fd8899 | 52 | %files -f %{name}.lang |
bc37bdae | 53 | %defattr(644,root,root,755) |
086bdd6a | 54 | %attr(755,root,root) %{_bindir}/%{name} |
54fd8899 | 55 | %{_desktopdir}/%{name}.desktop |
56 | %{_datadir}/%{name} | |
086bdd6a | 57 | %{_mandir}/man1/%{name}.1* |
0f16da57 | 58 | %{_pixmapsdir}/%{name} |