Search
SailfishOS Open Build Service
>
Projects
>
home:cxl000
:
mc
>
bc
> bc.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bc.spec of Package bc
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.22 # # >> macros # << macros Name: bc Summary: calculator Version: 1.06.95 Release: 0 Group: System/Math License: GPLv2 Source0: %{name}_%{version}.orig.tar.gz Patch0: bc_1.06.95-2.diff BuildRequires: bison BuildRequires: flex BuildRequires: readline-devel %description The GNU bc arbitrary precision calculator language %prep %setup -q -n %{name}-%{version} %patch0 -p1 # >> setup # << setup %build # >> build pre %configure --with-readline sed -i -e 's/^SUBDIRS = lib bc dc doc$/SUBDIRS = lib bc dc/' Makefile # << build pre make # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %make_install # >> install post # << install post %files %defattr(-,root,root,-) # >> files %{_bindir}/bc %{_bindir}/dc # << files