Compare commits
48 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a3223f83e | ||
|
|
9edb6db855 | ||
|
|
d6e4369e19 | ||
|
|
5741b768cd | ||
|
|
e2ebf82670 | ||
|
|
9e109577e4 | ||
|
|
53c195cd43 | ||
|
|
2d06955180 | ||
|
|
420423eaed | ||
|
|
6da4d3d98c | ||
|
|
be9955bc7c | ||
|
|
cb46648050 | ||
|
|
2d9eb13add | ||
|
|
3f2e8d30ee | ||
|
|
1dc03d94dd | ||
|
|
8b407320ef | ||
|
|
e0ab6a9047 | ||
|
|
690ff47a5d | ||
|
|
206e416873 | ||
|
|
ff68ceafc7 | ||
| 2e3d4a61b6 | |||
|
470dbcdc60 |
|||
|
|
589d310a6b | ||
|
|
924fc9df31 | ||
|
5a3560430b |
|||
| 009524c6f3 | |||
|
|
85d0a98a86 | ||
|
|
e011bb7f4e | ||
|
|
8aba81b254 | ||
|
|
3a6ce76f01 | ||
|
|
b6ad98a679 | ||
|
|
e0e5e67e4e | ||
| 580b6f2706 | |||
|
|
408783b4fa | ||
|
|
e7fa27bbca | ||
|
|
b699d87734 | ||
|
|
77719f4aa9 | ||
|
|
eb06aa621a | ||
|
|
6548f9278a | ||
|
|
60d3178e85 | ||
|
|
e2b763d76c | ||
|
|
0077b60d57 | ||
| 0c08617822 | |||
|
|
4664e7923b | ||
|
|
8159f2b6bf | ||
|
|
7069fe5bec | ||
|
|
a0e8d76ed6 | ||
|
|
35eb013e34 |
8 changed files with 285 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
uread-20081006.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: uread
|
||||
# $Id$
|
||||
NAME := uread
|
||||
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 $$/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 @@
|
|||
bc0d3770d0e68b33a5729e9110bb1fbc uread-20081006.tar.gz
|
||||
39
uread-c99.patch
Normal file
39
uread-c99.patch
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
Avoid implicit int, a language feature not in C99. Future compilers
|
||||
are likely to reject programs with implicit ints.
|
||||
|
||||
diff --git a/uread.c b/uread.c
|
||||
index 111ac78c4fe38699..46611ebc5e729448 100644
|
||||
--- a/uread.c
|
||||
+++ b/uread.c
|
||||
@@ -24,6 +24,7 @@ typedef union {
|
||||
int i;
|
||||
} swap;
|
||||
|
||||
+int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int i, c, alph, ls, le;
|
||||
diff --git a/ustrip.c b/ustrip.c
|
||||
index 35ca6764f4aaa49f..3dfd71213f01b7f2 100644
|
||||
--- a/ustrip.c
|
||||
+++ b/ustrip.c
|
||||
@@ -27,6 +27,7 @@ typedef union {
|
||||
} swap;
|
||||
|
||||
|
||||
+int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int i, c, ls, le;
|
||||
diff --git a/uswap.c b/uswap.c
|
||||
index c171237acb2a7a33..f89af45c38ef46c9 100644
|
||||
--- a/uswap.c
|
||||
+++ b/uswap.c
|
||||
@@ -22,6 +22,7 @@ typedef union {
|
||||
int i[4];
|
||||
} swap;
|
||||
|
||||
+int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int i, j, k = 0, ls, le, s, zog;
|
||||
24
uread-include_stdlib.diff
Normal file
24
uread-include_stdlib.diff
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
diff -u uread-old/uread.c uread/uread.c
|
||||
--- uread-old/uread.c 2006-06-30 18:08:12.000000000 +0200
|
||||
+++ uread/uread.c 2006-06-30 18:08:31.000000000 +0200
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
static char usage[] = "Usage: %s [-x] [filename]\n";
|
||||
void pusage(char *);
|
||||
Seulement dans uread: uread.c.old
|
||||
diff -u uread-old/ustrip.c uread/ustrip.c
|
||||
--- uread-old/ustrip.c 2006-06-30 18:08:19.000000000 +0200
|
||||
+++ uread/ustrip.c 2006-06-30 18:08:37.000000000 +0200
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
static char usage[] = "Usage: %s [-x] [filename]\n";
|
||||
void pusage(char *);
|
||||
Seulement dans uread: ustrip.c.old
|
||||
40
uread-licence.email
Normal file
40
uread-licence.email
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
Date: Mon, 3 Jul 2006 10:11:40 +1200
|
||||
From: Stuart Norris <s.norris@auckland.ac.nz>
|
||||
Subject: Re: uread licence clarification
|
||||
To: Patrice Dumas <pertusus@free.fr>
|
||||
|
||||
On Sun, 2 Jul 2006, Patrice Dumas wrote:
|
||||
|
||||
GPL.
|
||||
|
||||
>>uread doesn't really need a license. The GNU license would be longer
|
||||
>>than the code, and would be a sign that the lawyers have won.
|
||||
>
|
||||
>They have won, since the Bern Convention (1979) a piece of code without
|
||||
>licence notice is considered to have one. So the copyright/licence of your
|
||||
>code is currently along:
|
||||
>
|
||||
> Copyright 1996 1998 S.E. Norris.
|
||||
> All rights reserved.
|
||||
>
|
||||
>And your code is big enough to be subject to copyright.
|
||||
>
|
||||
>>ie: please include it in the distribution. modify or redistribute if you
|
||||
>>wish.
|
||||
>
|
||||
>I am sorry, but I can't do that unless you tell me under what licence you
|
||||
>authorize me to modify and redistribute it. You just have to say in the mail
|
||||
>that you authorize me to redistribute it under a given licence (whatever you
|
||||
>prefer, GPL, LGPL, BSD or anything else, as long as it is free software) and
|
||||
>it'll be right. You can even say that you allow me to redistribute uread
|
||||
>under
|
||||
>any licence I want, but you have to say something along that. Indeed when
|
||||
>you give me the right to modify or redistribute it you don't give this right
|
||||
>to others and I need that to be able to include it in a distribution based
|
||||
>on free software like fedora.
|
||||
>
|
||||
>Sorry to bother you with these licence issues...
|
||||
>
|
||||
>--
|
||||
>Pat
|
||||
|
||||
180
uread.spec
Normal file
180
uread.spec
Normal file
|
|
@ -0,0 +1,180 @@
|
|||
%define stamp 20081006
|
||||
|
||||
Name: uread
|
||||
Version: 0
|
||||
Release: 0.37.%{stamp}%{?dist}
|
||||
Summary: Utilities for unformatted fortran files
|
||||
|
||||
License: GPL-1.0-or-later
|
||||
URL: http://www.engineers.auckland.ac.nz/~snor007/software.html#uread
|
||||
Source0: uread-%{stamp}.tar.gz
|
||||
# unversioned upstream source, downloaded with wget -N
|
||||
# renamed to uread-YYYYMMDD.tar.gz
|
||||
#Source0: http://www.engineers.auckland.ac.nz/~snor007/src/uread.tar.gz
|
||||
|
||||
# this is a mail exchange where the author gives the right to redistribute
|
||||
# his work under the GPL
|
||||
Source1: uread-licence.email
|
||||
#Patch0: uread-include_stdlib.diff
|
||||
Patch1: uread-c99.patch
|
||||
|
||||
#BuildRequires:
|
||||
#Requires:
|
||||
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
%description
|
||||
These utilities enable you to have a look at a Fortran unformatted file to
|
||||
see the size of the data records, and to swap its endianess from big to
|
||||
little, or vis versa.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n uread
|
||||
|
||||
cp -p %{SOURCE1} .
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -std=gnu17"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
install -d -m755 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||
install -d -m755 $RPM_BUILD_ROOT%{_bindir}/
|
||||
install -p -m644 *.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||
install -m0755 uread ustrip uswap $RPM_BUILD_ROOT%{_bindir}/
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%doc uread-licence.email
|
||||
%{_bindir}/uread
|
||||
%{_bindir}/ustrip
|
||||
%{_bindir}/uswap
|
||||
%{_mandir}/man1/u*.1*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.37.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.36.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.35.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.34.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.33.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.32.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.31.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sun Mar 05 2023 Gwyn Ciesla <gwync@protonmail.com> - 0-0.30.20081006
|
||||
- migrated to SPDX license
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.29.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Dec 2 2022 Florian Weimer <fweimer@redhat.com> - 0-0.28.20081006
|
||||
- Port to C99 (#2150291)
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.27.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.26.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.25.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.24.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.23.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.22.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.21.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.20.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.19.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.18.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.17.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.16.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.15.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.13.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.12.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.11.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.10.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.9.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.8.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.7.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.6.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.5.20081006
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed May 27 2009 Jon Ciesla - 0-0.4.20081006
|
||||
- Updated to new release.
|
||||
- Dropped patch.
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.19981218
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0-0.3.19981218
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Wed Aug 29 2007 Patrice Dumas <pertusus@free.fr> 0-0.2.19981218
|
||||
- correct license
|
||||
- keep timestamps
|
||||
|
||||
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0-0.1.19981218
|
||||
- Rebuild for selinux ppc32 issue.
|
||||
- Use proper pre-release syntax in Release.
|
||||
|
||||
* Tue Jun 26 2007 Patrice Dumas <pertusus@free.fr> 0-0.19981218
|
||||
- use 0 as version and put the timestamp in the release
|
||||
|
||||
* Wed Jun 14 2006 Patrice Dumas <pertusus@free.fr> 0.19981218-1
|
||||
- Initial packaging
|
||||
Loading…
Add table
Add a link
Reference in a new issue