]> git.pld-linux.org Git - packages/galculator.git/commitdiff
- PLD initial release
authoraflinta <aflinta@pld-linux.org>
Mon, 20 Jan 2003 22:08:41 +0000 (22:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    galculator.spec -> 1.1

galculator.spec [new file with mode: 0644]

diff --git a/galculator.spec b/galculator.spec
new file mode 100644 (file)
index 0000000..d86e767
--- /dev/null
@@ -0,0 +1,51 @@
+Summary:       a GTK 2 based scientific calculator
+Summary(pl):   Kalkulator naukowy bzuj±cy na GTK 2
+Name:          galculator
+Version:       0.9
+Release:       1
+License:       GPL
+Group:         Applications/Math
+Source0:       http://members.vol.at/home.floery/electronix/%{name}/%{name}-%{version}.tar.bz2
+Patch0:                %{name}-desktop.patch
+URL:           http://members.vol.at/home.floery/electronix/galculator/home.html
+BuildRequires: gtk+2-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GTK 2 based scientific calculator with ordinary notation/reverse
+polish notation, different number bases (DEC, HEX, OCT, BIN) and
+different angle bases (DEG, RAD, GRAD).
+
+%description -l pl
+Kalkulatro naukowy bazuj±cy na GTK 2 z notacj± zwyk³± i odwrotn±
+polsk±, ró¿nymi systemami liczbowymi (dziesiêtny, szesnastkowy,
+ósemkowy, binarny) i róznymi miarami k±towymi (stopieñ, radian,
+gradus).
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__autoconf}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       desktopdir=%{_datadir}/applications
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root)%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_mandir}/man1/%{name}.1.gz
This page took 0.461299 seconds and 4 git commands to generate.