rpms/gpshell/F-10 generate-tarball.sh, NONE, 1.1 gpshell.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

François Kooman fkooman at fedoraproject.org
Sun Dec 7 22:25:43 UTC 2008


Author: fkooman

Update of /cvs/pkgs/rpms/gpshell/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30891/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	generate-tarball.sh gpshell.spec import.log 
Log Message:
* Mon Dec 2 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-5
- remove keep timestamps on make install as install-sh is not used anyway

* Mon Dec 1 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-4
- fix mock build by including zlib-devel in BuildReq
- regenerate tarball without Sun sample code and use that

* Sun Nov 30 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-3
- fix summary

* Sun Nov 30 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-2
- change Source0 URL to match package guidelines
- add AUTHORS and CHANGES to doc
- including COPYING instead of COPYING.LESSER as it is actually released under
  GPLv3+
- change license to GPLv3+
- remove pcsc-lite-devel as buildreq as globalplatform-devel already requires
  that
- change to keep dates of files on make install
- convert AUTHORS to UTF-8 and remove DOS line endings

* Mon Sep 22 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-1
- Initial package for Fedora



--- NEW FILE generate-tarball.sh ---
#!/bin/sh

VERSION=$1

tar -xzvf gpshell-$VERSION.tar.gz
rm gpshell-$VERSION/HelloWorld.*

tar -czvf gpshell-$VERSION-nosample.tar.gz gpshell-$VERSION



--- NEW FILE gpshell.spec ---
Name: gpshell
Version: 1.4.2
Release: 5%{?dist}
Summary: Manage applets on GlobalPlatform and OpenPlatform smart cards
Group: Development/Tools
License: GPLv3+
URL: http://sourceforge.net/projects/globalplatform/
Source0: gpshell-1.4.2-nosample.tar.gz
# gpshell contains sample code from Sun's JavaCard Java Card Technology 
# Development Kit and doesn't include the source code. Even if the source code
# was included that wouldn't be sufficient as the development environment 
# needed to generate the binary is not free software. 
# Therefore we use this script to remove the sample code before shipping it.
# Download the upstream tarball and invoke this script while in the tarball's 
# directory:
# sh generate-tarball.sh 1.4.2
Source1: generate-tarball.sh

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: globalplatform-devel >= 5.0.0
BuildRequires: zlib-devel

%description
GPShell is a script interpreter which talks to a smart card.  It is written on 
top of the GlobalPlatform library, which was developed by Karsten Ohme.  It 
uses smart card communication protocols ISO-7816-4 and OpenPlatform 2.0.1 and 
GlobalPlatform 2.1.1.  It can establish a secure channel with a smart card, 
load, instantiate, delete, list applets on a smart card.

%prep
%setup -q
# chmod required, upstream sf.net bug #2122834
chmod 644 *.txt
# convert to UTF8
iconv --from=ISO-8859-1 --to=UTF-8 AUTHORS > AUTHORS.new
touch -c -r AUTHORS AUTHORS.new
mv AUTHORS.new AUTHORS
# remove DOS line endings
sed -i 's/\r$//' AUTHORS

%build
%configure
make %{?_smp_mflags}

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

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README COPYING CHANGES ChangeLog *.txt AUTHORS
%{_bindir}/*

%changelog
* Mon Dec 2 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-5
- remove keep timestamps on make install as install-sh is not used anyway

* Mon Dec 1 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-4
- fix mock build by including zlib-devel in BuildReq
- regenerate tarball without Sun sample code and use that

* Sun Nov 30 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-3
- fix summary

* Sun Nov 30 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-2
- change Source0 URL to match package guidelines
- add AUTHORS and CHANGES to doc
- including COPYING instead of COPYING.LESSER as it is actually released under
  GPLv3+
- change license to GPLv3+
- remove pcsc-lite-devel as buildreq as globalplatform-devel already requires
  that
- change to keep dates of files on make install
- convert AUTHORS to UTF-8 and remove DOS line endings

* Mon Sep 22 2008 François Kooman <fkooman at, tuxed.net> 1.4.2-1
- Initial package for Fedora



--- NEW FILE import.log ---
gpshell-1_4_2-5_fc10:F-10:gpshell-1.4.2-5.fc10.src.rpm:1228688679


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gpshell/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Dec 2008 00:54:08 -0000	1.1
+++ .cvsignore	7 Dec 2008 22:25:12 -0000	1.2
@@ -0,0 +1 @@
+gpshell-1.4.2-nosample.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gpshell/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Dec 2008 00:54:08 -0000	1.1
+++ sources	7 Dec 2008 22:25:12 -0000	1.2
@@ -0,0 +1 @@
+44cc0f922ccffe761866de38f84872db  gpshell-1.4.2-nosample.tar.gz




More information about the fedora-extras-commits mailing list