rpms/uread/EL-4 uread-include_stdlib.diff, NONE, 1.1 uread-licence.email, NONE, 1.1 uread.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Patrice Dumas (pertusus)
fedora-extras-commits at redhat.com
Tue Jul 3 20:13:38 UTC 2007
- Previous message: rpms/uread/devel uread-include_stdlib.diff, NONE, 1.1 uread-licence.email, NONE, 1.1 uread.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/uread/EL-5 uread-include_stdlib.diff, NONE, 1.1 uread-licence.email, NONE, 1.1 uread.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pertusus
Update of /cvs/extras/rpms/uread/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10499/EL-4
Modified Files:
.cvsignore sources
Added Files:
uread-include_stdlib.diff uread-licence.email uread.spec
Log Message:
Add EL branches.
uread-include_stdlib.diff:
--- NEW FILE uread-include_stdlib.diff ---
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
--- NEW FILE uread-licence.email ---
Date: Mon, 3 Jul 2006 10:11:40 +1200
From: Stuart Norris <s.norris at auckland.ac.nz>
Subject: Re: uread licence clarification
To: Patrice Dumas <pertusus at 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
--- NEW FILE uread.spec ---
%define stamp 19981218
Name: uread
Version: 0
Release: 0.%{stamp}%{?dist}
Summary: Utilities for unformatted fortran files
Group: Development/Tools
License: GPL
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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
#Requires:
%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
%setup -q -n uread
%patch0 -p1
cp %{SOURCE1} .
%build
export CFLAGS="$RPM_OPT_FLAGS"
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 -m644 *.1 $RPM_BUILD_ROOT%{_mandir}/man1/
install uread ustrip uswap $RPM_BUILD_ROOT%{_bindir}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc uread-licence.email
%{_bindir}/uread
%{_bindir}/ustrip
%{_bindir}/uswap
%{_mandir}/man1/u*.1*
%changelog
* Tue Jun 26 2007 Patrice Dumas <pertusus at free.fr> 0-0.19981218
- use 0 as version and put the timestamp in the release
* Wed Jun 14 2006 Patrice Dumas <pertusus at free.fr> 0.19981218-1
- Initial packaging
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/uread/EL-4/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 2 Jul 2007 18:35:16 -0000 1.1
+++ .cvsignore 3 Jul 2007 20:13:03 -0000 1.2
@@ -0,0 +1 @@
+uread-19981218.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/uread/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 2 Jul 2007 18:35:16 -0000 1.1
+++ sources 3 Jul 2007 20:13:03 -0000 1.2
@@ -0,0 +1 @@
+656a18c6e731f5ff405d69279c897b1f uread-19981218.tar.gz
- Previous message: rpms/uread/devel uread-include_stdlib.diff, NONE, 1.1 uread-licence.email, NONE, 1.1 uread.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/uread/EL-5 uread-include_stdlib.diff, NONE, 1.1 uread-licence.email, NONE, 1.1 uread.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list