Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tiwai
calctool
calctool.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File calctool.spec of Package calctool
# # spec file for package calctool (Version 2.4.13) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: calctool BuildRequires: update-desktop-files xaw3d-devel xorg-x11-devel License: BSD-3-Clause Group: Productivity/Scientific/Math AutoReqProv: on Version: 2.4.13 Release: 502 Summary: A Scientific Calculator Source: calctool-2.4pl13.tar.bz2 Source1: calctool.desktop Source2: calctool.png Patch: calctool-2.4pl13.dif Patch1: calctool-build-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if "%_exec_prefix" == "/usr/X11R6" %global _mandir %{_exec_prefix}/man %define _x11data %{_exec_prefix}/lib/X11 %global _includedir %{_exec_prefix}/include %define _appdefdir %{_x11data}/app-defaults %else %define _x11data %{_datadir}/X11 %define _appdefdir %{_x11data}/app-defaults %endif %description A simple scientific calculator, which can also represent values in binary, hexadecimal, or decimal format. Authors: -------- Rich Burridge <richb@sunaus.oz.au> %prep %setup -q -n calctool-2.4pl13 %patch %patch1 -p1 %build make x11 X11LIBDIR=-L%{_libdir} \ X11INCDIR=-I%{_includedir} \ LIBDIR=%{_x11data} \ MANDIR=%{_mandir}/man1 \ BINDIR=%{_bindir} %install make install X11LIBDIR=-L%{_libdir} \ X11INCDIR=-I%{_includedir} \ LIBDIR=%{_x11data} \ MANDIR=%{_mandir}/man1 \ BINDIR=%{_bindir} \ DESTDIR=%{buildroot} rm -f %{buildroot}%{_x11data}/calctool.ps %suse_update_desktop_file -i calctool Utility Calculator %files %defattr(-,root,root) /usr/share/applications/calctool.desktop /usr/share/pixmaps/calctool.png %{_bindir}/calctool %{_x11data}/calctool.help %doc %{_mandir}/man1/calctool.1.gz %changelog * Mon Oct 06 2008 meissner@suse.de - fixed 3 potential overflows in fgets() due to incorrect buffersize * Thu Jul 05 2007 coolo@suse.de - put desktop file and icon into package * Fri Jun 01 2007 dmueller@suse.de - fix buildrequires * Thu Aug 10 2006 werner@suse.de - Make it build with X11R7 * Thu May 18 2006 schwab@suse.de - Don't strip binaries. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Sun Nov 21 2004 sndirsch@suse.de - xcalc.png --> calctool.png; resolves conflict with xorg-x11 * Wed Nov 17 2004 werner@suse.de - Install xcalc.png from kappfinder-icons add pixmap to file list - Fix broken rounding with decimal base on 64bit architectures * Mon Apr 26 2004 werner@suse.de - Fix nasty compiler warnings. * Fri Oct 17 2003 meissner@suse.de - norootforbuild - more correct lib64 handling. * Fri Aug 22 2003 tiwai@suse.de - fixed the segfault on x86-64. - use bzip2 for the tarball. * Sat Aug 16 2003 adrian@suse.de - install desktop file from kappfinder * Tue May 27 2003 ro@suse.de - remove unpackaged file from buildroot * Tue Dec 03 2002 werner@suse.de - Place the register and bit frames depending on the current position of the main frame. * Wed Nov 06 2002 werner@suse.de - Avoid blocking the window. * Mon Nov 04 2002 werner@suse.de - Implement an popup menu for changing bits of the display value directly. To activate/deactivate this the right mouse button has to be clicked into the number display. * Thu Oct 31 2002 werner@suse.de - Add simple support for cut&paste the display value - Avoid killing calctool if register window is closed by WM * Thu Oct 31 2002 ro@suse.de - added xaw3d to neededforbuild * Wed Oct 30 2002 werner@suse.de - Use XToolkit for getting menus for right mouse button at work - Repair font selection (there is no helvetica-bold-14) * Tue Oct 22 2002 werner@suse.de - Update to 2.4.pl13 - Make icon work - Make Button3 on CONS showing known constants * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Tue Apr 30 2002 werner@suse.de - Add check for lib64 for X libs - Remove -s on linkage because stripping is done by suse_check * Sat Dec 09 2000 nashif@suse.de - sorted * Wed Feb 02 2000 werner@suse.de - Use RMP_OPT_FLAGS * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Wed Aug 25 1999 uli@suse.de - added CFLAGS for PPC * Wed Jan 20 1999 ro@suse.de - no m486 on alpha * Tue Dec 22 1998 werner@suse.de - fix bugs * abs works not for doule with glibc * alloc mem before copy strings into pointer
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor