rpms/grace/devel LICENSE.cephes, NONE, 1.1 cephes-license.email, NONE, 1.1 grace-gracerc-no_auxiliary.diff, NONE, 1.1 grace.csh, NONE, 1.1 grace.desktop, NONE, 1.1 grace.png, NONE, 1.1 grace.sh, NONE, 1.1 grace.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

José Abílio Oliveira Matos (jamatos) fedora-extras-commits at redhat.com
Mon Jan 9 16:15:13 UTC 2006


Author: jamatos

Update of /cvs/extras/rpms/grace/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3283/devel

Modified Files:
	.cvsignore sources 
Added Files:
	LICENSE.cephes cephes-license.email 
	grace-gracerc-no_auxiliary.diff grace.csh grace.desktop 
	grace.png grace.sh grace.spec 
Log Message:
auto-import grace-5.1.18-7 on branch devel from grace-5.1.18-7.src.rpm


--- NEW FILE LICENSE.cephes ---
 
 This software is derived from the Cephes Math Library. It is
 incorporated herein, and licensed in accordance with the Gnu
 General Public License, Version 2, by permission of the author. 


--- NEW FILE cephes-license.email ---
Copyright for the cephes library (details):

  This email from Steve Moshier, the copyright owner of cephes, to Helen 
  Faulkner (Debian maintainer of labplot), and other interested parties 
  (labplot and grace authors, grace maintainer and labplot sponsor), confirms 
  that we may release labplot with cephes licensed under the GPL.
 

  -------- Original Message --------
  Subject: Re: licensing of cephes
  Date: Sun, 2 Jan 2005 21:48:02 -0500 (EST)
  From: Steve Moshier <steve at moshier.net>
  To: Helen Faulkner <helen_ml_faulkner at yahoo.co.uk>
  CC: twerner at debian.org, Ben Burton <bab at debian.org>, evgeny at stambulchik.net,
  Stefan Gerlach <gerlach at mbi-berlin.de>
  References: <41D14354.4040506 at yahoo.co.uk> 
  <Pine.LNX.4.58.0412280836250.9987 at moshier.net> 
  <41D17BE3.3020708 at yahoo.co.uk>
  <Pine.LNX.4.58.0412281219420.10873 at moshier.net> 
  <41D1FB8D.6030002 at yahoo.co.uk> 
  <Pine.LNX.4.58.0412291032190.15474 at moshier.net> 
  <41D2D8EF.9010702 at yahoo.co.uk> 
  <Pine.LNX.4.58.0412291632540.17032 at moshier.net> 
  <41D41B2E.80508 at yahoo.co.uk>



  On Thu, 30 Dec 2004, Helen Faulkner wrote:

  >   http://www.debian.org/social_contract#guidelines

  This is fine with me.  To acknowedge your terms explicily,
  how about augmenting the permission to read something like
  the following --

    This software is derived from the Cephes Math Library. It is
    incorporated herein, and licensed in accordance with DFSG,
    by permission of the author.


  If you are trying to get me to suggest a specific form for your
  license, then from looking at Debian programs such as dpkg it seems to
  me that you would find the GPL to be appropriate and the permission
  statement could reference one of the GPL documents instead of DFSG.
  Alternatively, the packages you have been talking about distributing
  with Debian presumably come with some sort of licenses and it would
  make sense to propose those licenses.

grace-gracerc-no_auxiliary.diff:

--- NEW FILE grace-gracerc-no_auxiliary.diff ---
--- gracerc.old	2005-09-03 20:18:51.000000000 +0200
+++ gracerc	2005-09-03 20:19:04.000000000 +0200
@@ -7,7 +7,7 @@
 DEFINE IFILTER "bin/grconvert %s -" MAGIC "00000031" 
 #
 # This one is for automatic import of Origin-4 fit description files
-DEFINE IFILTER "auxiliary/fdf2fit %s -" PATTERN "*.fdf"
+DEFINE IFILTER "bin/fdf2fit %s -" PATTERN "*.fdf"
 #
 # Save disk space by keeping files gzip'ed
 DEFINE IFILTER "gzip -dc %s" PATTERN "*.gz"


--- NEW FILE grace.csh ---
#!/bin/tcsh
setenv GRACE_HOME "/usr/share/grace"


--- NEW FILE grace.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Grace
Comment=Numerical Data Processing and Visualization Tool
Exec=/usr/bin/xmgrace
Icon=grace.png
Terminal=false
Type=Application
Categories=Application;Graphics;


--- NEW FILE grace.sh ---
#!/bin/bash
export GRACE_HOME="/usr/share/grace"


--- NEW FILE grace.spec ---
Name:           grace
Version:        5.1.18
Release:        7%{?dist}
Summary:        Numerical Data Processing and Visualization Tool (grace)

License:        GPL
# Xbae is BSD and cephes is LGPL, see also Source5 and Source6 
URL:            http://plasma-gate.weizmann.ac.il/Grace/
Source0:        ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/%{name}-%{version}.tar.gz
Source1:        %{name}.desktop
Source2:        %{name}.png
Source3:        %{name}.sh
Source4:        %{name}.csh
Source5:	cephes-license.email
Source6:	LICENSE.cephes
Patch:          %{name}-gracerc-no_auxiliary.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Group:          Applications/Engineering

BuildRequires:  libjpeg-devel, libpng-devel, netcdf-devel
BuildRequires:  zlib-devel, xorg-x11-devel, fftw-devel, t1lib-devel
BuildRequires:  openmotif-devel, gcc-gfortran
BuildRequires:  desktop-file-utils, font-utils
Requires:	nedit
Requires(post): chkfontpath
Requires(postun): chkfontpath

%description
Grace is a Motif application for two-dimensional data visualization.
Grace can transform the data using free equations, FFT, cross- and
auto-correlation, differences, integrals, histograms, and much more. The
generated figures are of high quality.  Grace is a very convenient tool
for data inspection, data transformation, and and for making figures for
publications.


%package devel
Summary:        Files needed for grace development
Group:          Development/Libraries
License:        LGPL
Requires:       %{name} = %{version}-%{release}

%description devel
Install these files if you need to compile software that requires grace.


%prep
%setup -q
%patch

%build
cp %{SOURCE5} %{SOURCE6} .
%configure \
    --enable-editres \
    --with-editor=nedit \
    --with-printcmd="lpr" \
    --enable-grace-home=%{_datadir}/%{name} \
    --disable-pdfdrv \
    --with-x \
    --with-f77=gfortran \
    --with-extra-incpath=%{_includedir}/netcdf-3 \
    --with-extra-ldpath=%{_libdir}/netcdf-3
    
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

cp Xbae/LICENSE LICENSE.Xbae
rm -f doc/*.1

mkdir -pm 755                               \
    %{buildroot}%{_bindir}                  \
    %{buildroot}%{_includedir}              \
    %{buildroot}%{_libdir}		    \
    %{buildroot}%{_datadir}/pixmaps         \
    %{buildroot}%{_datadir}/applications    \
    %{buildroot}%{_mandir}/man1             \
    %{buildroot}%{_sysconfdir}/profile.d    \
    %{buildroot}%{_sysconfdir}/%{name}
##
# Let's have some sanity
#
pushd %{buildroot}%{_datadir}/%{name}
install -pm 755 bin/*   %{buildroot}%{_bindir}/
rm -rf bin
ln -s %{_bindir} bin
install -pm 755 lib/*   %{buildroot}%{_libdir}/
rm -rf lib
ln -s %{_libdir} lib
install -pm 644 include/* %{buildroot}%{_includedir}/
rm -rf include
ln -s %{_includedir} include
install -pm 644 doc/*.1 %{buildroot}%{_mandir}/man1/
# doc and example directories are removed from GRACE_HOME and put in %doc
rm -rf doc
rm -rf examples
# the convcal source file shouldn't appear in %doc, it is removed here
rm -f auxiliary/convcal.c
# move config files to %{_sysconfdir} and do symlinks
for conf in gracerc templates gracerc.user; do
    mv $conf %{buildroot}%{_sysconfdir}/%{name}
    ln -s %{_sysconfdir}/%{name}/$conf $conf
done
mv fonts/FontDataBase %{buildroot}%{_sysconfdir}/%{name}
ln -s %{_sysconfdir}/%{name}/FontDataBase fonts/FontDataBase
popd
mkfontdir %{buildroot}%{_datadir}/%{name}/fonts/type1
##
# Desktop stuff
#
install -pm 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
desktop-file-install --vendor fedora --delete-original    \
    --dir %{buildroot}%{_datadir}/applications          \
    --add-category Application                          \
    --add-category Graphics	                            \
    %{buildroot}%{_datadir}/applications/%{name}.desktop
##
# Profile scripts
#
install -pm 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
install -pm 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh


%clean
rm -rf %{buildroot}


%post
%{_sbindir}/chkfontpath -q -a %{_datadir}/%{name}/fonts/type1


%postun
%{_sbindir}/chkfontpath -q -r %{_datadir}/%{name}/fonts/type1


%files
%defattr(-,root,root,-)
%doc ChangeLog CHANGES COPYRIGHT DEVELOPERS LICENSE README LICENSE.Xbae
%doc cephes-license.email LICENSE.cephes
%doc examples/ doc/ 
%{_sysconfdir}/profile.d/*
%config(noreplace) %{_sysconfdir}/%{name}/
%{_bindir}/*
%{_datadir}/%{name}
%exclude %{_datadir}/%{name}/include
%exclude %{_datadir}/%{name}/lib
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_mandir}/man*/*


%files devel
%defattr(-,root,root,-)
%doc grace_np/LICENSE
%{_includedir}/*
%{_datadir}/%{name}/include
%{_libdir}/*
%{_datadir}/%{name}/lib


%changelog
* Mon Jan  9 2006 Patrice Dumas <dumas at centre-cired.fr> - 5.1.18-7
- put config files in /etc
- licence is GPL and not BSD/GPL, as it is not dual licensed

* Wed Sep 14 2005 José Matos <jamatos at fc.up.pt> - 5.1.18-6
- Require nedit as an explicit Require.

* Tue Sep 13 2005 José Matos <jamatos at fc.up.pt> - 5.1.18-5
- Normalize buildroot and change default editor to nedit.

* Fri Sep  9 2005 José Matos <jamatos at fc.up.pt> - 5.1.18-4
- Add license to cephes library as well as the original mail where permission is given.
- Move permission of profile.d files from 644 to 755.

* Sat Sep  3 2005 Patrice Dumas <dumas at centre-cired.fr> - 5.1.18-3
- cleanup licences
- put examples/ and doc/ in %doc
- remove duplicate manpages 
- add patch to change fdf2fit path in graderc

* Sun Aug 21 2005 José Matos <jamatos at fc.up.pt> - 5.1.18-2
- Add post and postun requires.

* Sat Aug 20 2005 José Matos <jamatos at fc.up.pt> - 5.1.18-1

- Prepare for Fedora Extras submission, based on a previous spec file
  from Konstantin Ryabitsev (icon) and Seth Vidal from duke.edu


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/grace/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Jan 2006 16:12:13 -0000	1.1
+++ .cvsignore	9 Jan 2006 16:15:12 -0000	1.2
@@ -0,0 +1 @@
+grace-5.1.18.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/grace/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Jan 2006 16:12:13 -0000	1.1
+++ sources	9 Jan 2006 16:15:12 -0000	1.2
@@ -0,0 +1 @@
+9f27cc76563d6fa1746333044a7c2a94  grace-5.1.18.tar.gz




More information about the fedora-extras-commits mailing list