Name: clac Version: 004 Release: 1%{?dist} Summary: Command Line Advanced Calculator Group: Applications/Engineering License: GPLv3+ URL: http://sourceforge.net/projects/clac/ Source0: http://downloads.sourceforge.net/%{name}/clac.004 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Buildarch: noarch %description clac (Command Line Advanced Calculator) evaluates mathematical expressions from the argument list or from stdin and writes the answer(s) to stdout. %prep #%setup -q %build #nothing to build %install rm -rf $RPM_BUILD_ROOT install -D -p -m 755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/clac %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) #there are no separate docs or license files #the license is specified inside the only file provided #%doc %{_bindir}/clac %changelog * Sat Dec 12 2009 Manuel "lonely wolf" Wolfshant 004-1 - First Fedora version