File: wcalc.spec

package info (click to toggle)
wcalc 2.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,284 kB
  • sloc: ansic: 8,379; sh: 2,250; objc: 1,776; lex: 852; yacc: 603; makefile: 127
file content (48 lines) | stat: -rw-r--r-- 1,381 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%define name Wcalc
%define version 2.4

Summary: A flexible command-line calculator
Name: %{name}
Version: %{version}
Release: 1
Group: Applications
Url: http://w-calc.sf.net/
Source: http://prdownloads.sf.net/w-calc/wcalc-%{version}.tar.bz2
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Vendor: Kyle Wheeler <kyle-rpm@memoryhole.ncr.nd.edu>
Packager: Kyle Wheeler <kyle-rpm@memoryhole.ncr.nd.edu>

%description
Wcalc is a command-line calculator designed to accept all valid mathematical expressions. It supports all standard mathematical operations, parenthesis, brackets, braces, trigonometric functions, hyperbolic trig functions, logs, and most boolean operators.

%prep
%setup -q

%build
%configure
make

%install
[ -d $RPM_BUILD_ROOT ] && rm -rf ${RPM_BUILD_ROOT}
make DESTDIR=$RPM_BUILD_ROOT install

%clean
[ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;

%files
%defattr(-,root,root)
%doc ChangeLog COPY* NEWS README
%{_bindir}/*
%{_mandir}/*/*

%changelog
* Wed Jan 29 2003 Kyle Wheeler <kyle-rpm@memoryhole.net>
 - A few minor modifications
* Wed Jan 29 2003 Mark Schreiber <mark7@andrew.cmu.edu>
 - Fixed spec file to build on Red Hat
* Mon Jan 27 2003 Kyle Wheeler <kyle-rpm@memoryhole.net>
 - Fixed spec file for new URL
 - Fixed spec file to use automake/autoconf
* Tue Jan 22 2002 Kyle Wheeler <memoryhole@mac.com>
 - Initial spec file.