Compare commits
63 commits
epel8-play
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3f9a0d143 | ||
|
|
e7f454de3a | ||
|
|
1a410750ff | ||
|
|
461dd34f23 | ||
|
|
957b3c83a9 | ||
|
|
ad47809037 | ||
|
|
ed604389a3 | ||
|
|
abe8313e64 | ||
|
|
ae74bda4bc | ||
|
|
1d15a231e1 | ||
|
|
3f3ba934f9 | ||
|
|
af3e89a216 | ||
| 09acbc0257 | |||
|
|
32eaeeae60 | ||
|
|
487383c529 | ||
| 75d19faec5 | |||
|
|
342ab5b0b9 | ||
|
|
9d7df2fea6 | ||
|
|
b8d680ad4b | ||
|
|
86eef70dc8 | ||
|
|
3bdfb430b2 | ||
|
|
80fbe1babc | ||
|
|
b44459c004 | ||
| 8cc8dcad69 | |||
|
21f49ab7c1 |
|||
|
|
5d632eafe8 | ||
|
|
6f08a89b36 | ||
| 66f6f2b9a0 | |||
|
|
e84255b1d8 | ||
|
|
cb1305705f | ||
| 09a7916070 | |||
|
|
57558984d5 | ||
|
|
da4af19670 | ||
|
|
59a529b1e7 | ||
| 6ab1a6ad58 | |||
|
|
b07f87cfce | ||
|
|
fe2a6eaaf3 | ||
|
|
b98b996af6 | ||
|
|
03b2249c02 | ||
|
|
ddc11c5c08 | ||
|
|
9d3bf2b3ee | ||
|
|
e1b5c424af | ||
|
|
94edd32db8 | ||
| acf0ecd825 | |||
|
|
cf08e50f23 | ||
|
|
ae117f1338 | ||
|
|
388e7912fc | ||
|
|
f536604e0d | ||
|
|
ca2a9b9496 | ||
|
|
20b3925b0f | ||
|
|
47073e6493 | ||
|
|
ac4048081d | ||
|
|
8893697a8f | ||
|
|
e915beeaf2 | ||
|
|
f40f4b7b8f | ||
|
|
60ccff39e5 | ||
|
|
682c992d27 | ||
|
|
a45ad46193 | ||
|
|
cadcc3abe9 | ||
| 70278d5630 | |||
| adcda19c8d | |||
| 816671fbdc | |||
| c5f50b6428 |
6 changed files with 295 additions and 21 deletions
18
.gitignore
vendored
Normal file
18
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
udunits-2.1.17.tar.gz
|
||||
/udunits-2.1.19.tar.gz
|
||||
/udunits-2.1.22.tar.gz
|
||||
/udunits-2.1.24.tar.gz
|
||||
/udunits-2.2.11.tar.gz
|
||||
/udunits-2.2.12.tar.gz
|
||||
/udunits-2.2.13.tar.gz
|
||||
/udunits-2.2.14.tar.gz
|
||||
/udunits-2.2.16.tar.gz
|
||||
/udunits-2.2.17.tar.gz
|
||||
/udunits-2.2.18.tar.gz
|
||||
/udunits-2.2.19.tar.gz
|
||||
/udunits-2.2.20.tar.gz
|
||||
/udunits-2.2.21.tar.gz
|
||||
/udunits-2.2.23.tar.gz
|
||||
/udunits-2.2.25.tar.gz
|
||||
/udunits-2.2.26.tar.gz
|
||||
/udunits-2.2.28.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: udunits2
|
||||
# $Id$
|
||||
NAME := udunits2
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
SHA512 (udunits-2.2.28.tar.gz) = 86146d489e1d472723e059fb15a5dd697a67568ffb5cdba17d191eb304c018bffffea708a73cce50a6c87ad33b387e5ee6653377ae0ebe9986117dfd41e9a5a1
|
||||
12
udunits-2.2.28-fix-xml-path-logic.patch
Normal file
12
udunits-2.2.28-fix-xml-path-logic.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -up udunits-2.2.28/lib/xml.c.bad-logic udunits-2.2.28/lib/xml.c
|
||||
--- udunits-2.2.28/lib/xml.c.bad-logic 2021-07-08 10:46:58.419418793 -0400
|
||||
+++ udunits-2.2.28/lib/xml.c 2021-07-08 10:47:13.421507912 -0400
|
||||
@@ -2217,7 +2217,7 @@ ut_get_path_xml(
|
||||
*status = UT_OPEN_ENV;
|
||||
}
|
||||
else {
|
||||
- path = default_udunits2_xml_path();
|
||||
+ path = DEFAULT_UDUNITS2_XML_PATH;
|
||||
*status = UT_OPEN_DEFAULT;
|
||||
}
|
||||
}
|
||||
264
udunits2.spec
Normal file
264
udunits2.spec
Normal file
|
|
@ -0,0 +1,264 @@
|
|||
Name: udunits2
|
||||
Version: 2.2.28
|
||||
Release: 14%{?dist}
|
||||
Summary: A library for manipulating units of physical quantities
|
||||
License: UCAR
|
||||
URL: http://www.unidata.ucar.edu/software/udunits/
|
||||
Source0: ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-%{version}.tar.gz
|
||||
# default_udunits2_xml_path() is buggy and broken
|
||||
Patch0: udunits-2.2.28-fix-xml-path-logic.patch
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc-c++, groff, byacc, expat-devel, CUnit-devel
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: /usr/bin/makeinfo
|
||||
BuildRequires: /usr/bin/texi2dvi
|
||||
# workaround touching configure during build by the %%configure macro on ppc64le RHEL 7
|
||||
# can go away when upstream refreshes the autoconf/libtool files
|
||||
%if 0%{?rhel} == 7
|
||||
%ifarch ppc64le
|
||||
BuildRequires: texinfo-tex
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Unidata units utility, udunits2, supports conversion of unit specifications
|
||||
between formatted and binary forms, arithmetic manipulation of unit
|
||||
specifications, and conversion of values between compatible scales of
|
||||
measurement. A unit is the amount by which a physical quantity is measured. For
|
||||
example:
|
||||
|
||||
Physical Quantity Possible Unit
|
||||
_________________ _____________
|
||||
time weeks
|
||||
distance centimeters
|
||||
power watts
|
||||
|
||||
This utility works interactively and has two modes. In one mode, both an input
|
||||
and output unit specification are given, causing the utility to print the
|
||||
conversion between them. In the other mode, only an input unit specification is
|
||||
given. This causes the utility to print the definition -- in standard units --
|
||||
of the input unit.
|
||||
|
||||
%package devel
|
||||
Summary: Headers and libraries for udunits2
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains the files needed for compiling programs using
|
||||
the udunits2 library.
|
||||
|
||||
%prep
|
||||
%setup -q -n udunits-%{version}
|
||||
%patch -P0 -p1 -b .bad-logic
|
||||
|
||||
%build
|
||||
%configure --disable-static --docdir %{_docdir}/%{name}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install install-html install-pdf
|
||||
# Remove rpath
|
||||
chrpath -d %{buildroot}%{_bindir}/*
|
||||
# Install info and doc
|
||||
mkdir -p %{buildroot}%{_infodir}/
|
||||
install -p -m0644 %{name}.info %{buildroot}%{_infodir}
|
||||
# we get this in %%license
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}/COPYRIGHT
|
||||
|
||||
# We need to do this to avoid conflicting with udunits v1
|
||||
mkdir -p %{buildroot}%{_includedir}/%{name}/
|
||||
mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/%{name}/
|
||||
rm -rf %{buildroot}%{_libdir}/*.la
|
||||
rm -rf %{buildroot}%{_infodir}/dir
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%files
|
||||
%license COPYRIGHT
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/udunits/
|
||||
%{_infodir}/%{name}*.info*
|
||||
%{_libdir}/libudunits2.so.*
|
||||
%doc %{_docdir}/%{name}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/libudunits2.so
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jul 8 2021 Tom Callaway <spot@fedoraproject.org> - 2.2.28-3
|
||||
- fix default xml path to be correct
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Dec 30 2020 Tom Callaway <spot@fedoraproject.org> - 2.2.28-1
|
||||
- update to 2.2.28
|
||||
|
||||
* Mon Aug 03 2020 Orion Poplawski <orion@nwra.com> - 2.2.26-9
|
||||
- Add BR on /usr/bin/makeinfo,texi2dvi (FTBFS bz#1865588)
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.26-8
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.26-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.26-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.26-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.26-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.26-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.26-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jan 10 2018 Tom Callaway <spot@fedoraproject.org> - 2.2.26-1
|
||||
- update to 2.2.26
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.25-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.25-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon May 22 2017 Tom Callaway <spot@fedoraproject.org> - 2.2.25-1
|
||||
- update to 2.2.25
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.23-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2017 Orion Poplawski <orion@cora.nwra.com> - 2.2.23-1
|
||||
- Update to 2.2.23
|
||||
|
||||
* Tue Jan 10 2017 Orion Poplawski <orion@cora.nwra.com> - 2.2.21-1
|
||||
- Update to 2.2.21
|
||||
|
||||
* Tue May 17 2016 Tom Callaway <spot@fedoraproject.org> 2.2.20-4
|
||||
- fix license tag
|
||||
- handle license file properly
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.20-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Dec 08 2015 Dan Horák <dan[at]danny.cz> - 2.2.20-2
|
||||
- fix build in ppc64le EPEL-7
|
||||
|
||||
* Mon Oct 26 2015 Orion Poplawski <orion@cora.nwra.com> - 2.2.20-1
|
||||
- Update to 2.2.20
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.19-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu Apr 2 2015 Orion Poplawski <orion@cora.nwra.com> - 2.2.19-1
|
||||
- Update to 2.2.19
|
||||
|
||||
* Mon Feb 9 2015 Orion Poplawski <orion@cora.nwra.com> - 2.2.18-1
|
||||
- Update to 2.2.18
|
||||
|
||||
* Fri Sep 5 2014 Orion Poplawski <orion@cora.nwra.com> - 2.2.17-1
|
||||
- Update to 2.2.17
|
||||
|
||||
* Fri Sep 5 2014 Orion Poplawski <orion@cora.nwra.com> - 2.2.16-3
|
||||
- Strip rpath from binaries
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.16-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Mon Aug 11 2014 Orion Poplawski <orion@cora.nwra.com> - 2.2.16-1
|
||||
- Update to 2.2.16
|
||||
|
||||
* Mon Jun 23 2014 Orion Poplawski <orion@cora.nwra.com> - 2.2.14-1
|
||||
- Update to 2.2.14
|
||||
|
||||
* Fri Jun 13 2014 Orion Poplawski <orion@cora.nwra.com> - 2.2.13-1
|
||||
- Update to 2.2.13
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.12-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed Jun 4 2014 Orion Poplawski <orion@cora.nwra.com> - 2.2.12-2
|
||||
- Move doc dir to udunits2 to avoid conflicts (bug #1104766)
|
||||
|
||||
* Tue Jun 3 2014 Orion Poplawski <orion@cora.nwra.com> - 2.2.12-1
|
||||
- Update to 2.2.12 (fixes bug #1076802 - partial expat bundling)
|
||||
- Enable tests (bug #1076799)
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.24-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.24-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.24-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.24-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed Nov 9 2011 Orion Poplawski <orion@cora.nwra.com> - 2.1.24-1
|
||||
- Update to 2.1.24
|
||||
- Install docs via install-html/pdf
|
||||
|
||||
* Mon Nov 7 2011 Orion Poplawski <orion@cora.nwra.com> - 2.1.22-1
|
||||
- Update to 2.1.22
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.19-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Mon Nov 15 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.19-1
|
||||
- update to 2.1.19
|
||||
|
||||
* Thu Jul 1 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.17-3
|
||||
- missing BuildRequires: expat-devel
|
||||
|
||||
* Wed Jun 30 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.17-2
|
||||
- tag mistake
|
||||
|
||||
* Wed Jun 30 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.17-1
|
||||
- update to 2.1.17
|
||||
- cleanup spec file
|
||||
|
||||
* Sun Dec 6 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.11-1
|
||||
- initial package for udunits2: 2.1.11
|
||||
Loading…
Add table
Add a link
Reference in a new issue