OBS User unknown
2007-01-15 23:40:10 +00:00
committed by Git OBS Bridge
commit 6bfe217311
8 changed files with 266 additions and 0 deletions
+98
View File
@@ -0,0 +1,98 @@
-------------------------------------------------------------------
Mon Dec 4 11:03:49 CET 2006 - schwab@suse.de
- Update to units 1.85.
* Added --one-line (-1) option which causes the program to print only
one line of output.
* Added --compact option which causes the program to print only the
conversion factors and a newline on output.
* Added build support for DESTDIR.
* Made minor changes that allow the program to be compiled into a
library and linked with other programs.
* Fixed bugs (including bus error on Intel Mac) and added
-------------------------------------------------------------------
Wed Jan 25 21:42:27 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Sun May 22 19:08:38 CEST 2005 - schwab@suse.de
- Update to units 1.85.
-------------------------------------------------------------------
Thu Oct 7 16:00:40 CEST 2004 - schwab@suse.de
- Update to units 1.80.
-------------------------------------------------------------------
Sat Sep 11 00:39:06 CEST 2004 - schwab@suse.de
- Fix missing declarations.
-------------------------------------------------------------------
Sat Apr 17 11:19:00 CEST 2004 - schwab@suse.de
- Pacify autobuild.
-------------------------------------------------------------------
Fri Feb 27 18:16:06 CET 2004 - schwab@suse.de
- Add %defattr.
-------------------------------------------------------------------
Thu Apr 17 14:41:31 CEST 2003 - coolo@suse.de
- use BuildRoot
-------------------------------------------------------------------
Tue Jan 14 18:09:07 CET 2003 - nadvornik@suse.cz
- fixed multi-line string literals
-------------------------------------------------------------------
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
- removed bogus self-provides
-------------------------------------------------------------------
Thu Jun 13 15:07:09 CEST 2002 - uli@suse.de
- update -> 1.74 (rewritten parser supports () for grouping,
supports noninteger powers of numbers (e.g. 3^0.25), supports a bunch of
functions (log, ln, log2, sin, cos, tan, exp) which can have units as
arguments but they must reduce to dimensionless (e.g.
log(watts/horsepower)), supports sqrt(unit) and cuberoot(unit), higher
roots as unit^(1|4); functions can be defined in units.dat along with
their inverse, and conversion to a function by specifying it's name alone
as the "want" item; tables with linear interpolation)
-------------------------------------------------------------------
Fri Feb 23 00:10:25 CET 2001 - ro@suse.de
- added readline/readline-devel to neededforbuild (split from bash)
-------------------------------------------------------------------
Mon Sep 25 15:16:39 CEST 2000 - uli@suse.de
- update -> 1.55
-------------------------------------------------------------------
Wed Mar 1 15:42:48 CET 2000 - schwab@suse.de
- Specfile cleanup, remove Makefile.Linux
- /usr/{info,man} -> /usr/share/{info,man}
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
----------------------------------------------------------------------------
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de
- first version of units 1.53
+108
View File
@@ -0,0 +1,108 @@
#
# spec file for package units (Version 1.86)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: units
URL: http://www.gnu.org/software/units/
BuildRequires: readline-devel
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: Productivity/Scientific/Physics
Autoreqprov: on
Version: 1.86
Release: 1
Summary: Units Conversion Utility
Source: units-%{version}.tar.gz
Patch1: warn.patch
Patch2: decls.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The 'units' program converts quantities expressed in various scales to
their equivalents in other scales.
Units can also convert temperature values (Fahrenheit to Celsius, for
example) but this needs a slightly different input syntax. See the man
page for details.
Authors:
--------
Adrian Mariano <adrian@cam.cornell.edu>
%prep
%setup
%patch1
%patch2
%build
./configure CFLAGS="$RPM_OPT_FLAGS" \
--prefix=/usr --infodir=%{_infodir} --mandir=%{_mandir}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-, root, root)
/usr/bin/units
/usr/share/units.dat
%doc %{_infodir}/units.info.gz
%doc %{_mandir}/man1/units.1.gz
%changelog -n units
* Mon Dec 04 2006 - schwab@suse.de
- Update to units 1.85.
* Added --one-line (-1) option which causes the program to print only
one line of output.
* Added --compact option which causes the program to print only the
conversion factors and a newline on output.
* Added build support for DESTDIR.
* Made minor changes that allow the program to be compiled into a
library and linked with other programs.
* Fixed bugs (including bus error on Intel Mac) and added
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun May 22 2005 - schwab@suse.de
- Update to units 1.85.
* Thu Oct 07 2004 - schwab@suse.de
- Update to units 1.80.
* Sat Sep 11 2004 - schwab@suse.de
- Fix missing declarations.
* Sat Apr 17 2004 - schwab@suse.de
- Pacify autobuild.
* Fri Feb 27 2004 - schwab@suse.de
- Add %%defattr.
* Thu Apr 17 2003 - coolo@suse.de
- use BuildRoot
* Tue Jan 14 2003 - nadvornik@suse.cz
- fixed multi-line string literals
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Thu Jun 13 2002 - uli@suse.de
- update -> 1.74 (rewritten parser supports () for grouping,
supports noninteger powers of numbers (e.g. 3^0.25), supports a bunch of
functions (log, ln, log2, sin, cos, tan, exp) which can have units as
arguments but they must reduce to dimensionless (e.g.
log(watts/horsepower)), supports sqrt(unit) and cuberoot(unit), higher
roots as unit^(1|4); functions can be defined in units.dat along with
their inverse, and conversion to a function by specifying it's name alone
as the "want" item; tables with linear interpolation)
* Fri Feb 23 2001 - ro@suse.de
- added readline/readline-devel to neededforbuild (split from bash)
* Mon Sep 25 2000 - uli@suse.de
- update -> 1.55
* Wed Mar 01 2000 - schwab@suse.de
- Specfile cleanup, remove Makefile.Linux
- /usr/{info,man} -> /usr/share/{info,man}
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed Jan 22 1997 - florian@suse.de
- first version of units 1.53
+23
View File
@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
+1
View File
@@ -0,0 +1 @@
.osc
+22
View File
@@ -0,0 +1,22 @@
--- parse.y
+++ parse.y
@@ -120,6 +120,10 @@
struct func *ufunc;
}
+%{
+void yyerror (char *);
+int yylex(YYSTYPE *, struct commtype *);
+%}
%token <number> REAL
%token <utype> UNIT
@@ -248,7 +252,7 @@
"**", EXPONENT,
0, 0 };
-yylex(YYSTYPE *lvalp, struct commtype *comm)
+int yylex(YYSTYPE *lvalp, struct commtype *comm)
{
int length, count;
struct unittype *output;
View File
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11d224105ea474efb8b0188be9be8acba479d59bf97cdb191c60f1d04723cceb
size 232898
+11
View File
@@ -0,0 +1,11 @@
--- parse.y
+++ parse.y
@@ -359,7 +359,7 @@
}
-yyerror(char *s){}
+void yyerror(char *s){}
void
freelist(int startunit)