rpms/globalplatform/F-9 add_pkgconfig.patch, NONE, 1.1 globalplatform.spec, NONE, 1.1 import.log, NONE, 1.1 libtool22.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

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


Author: fkooman

Update of /cvs/pkgs/rpms/globalplatform/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29224/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	add_pkgconfig.patch globalplatform.spec import.log 
	libtool22.patch 
Log Message:
* Wed Dec  3 2008 François Kooman <fkooman at tuxed net> 5.0.0-5
- make it build with libtool 2.2 (rawhide)

* Sun Oct 15 2008 François Kooman <fkooman at tuxed net> 5.0.0-4
- requires pkgconfig
- actually include GlobalPlatform directory in .pc pkgconfig patch
- add upstream patch bug report

* Fri Oct 10 2008 François Kooman <fkooman at tuxed net> 5.0.0-3
- Add pkgconfig file by using patch, add autoconf goo
- Downloaded Source0 again, retaining timestamp this time

* Fri Oct  3 2008 François Kooman <fkooman at tuxed net> 5.0.0-2
- license is GPLv3+
- change source URL according to packaging guidelines for Sourceforge.net:
    https://fedoraproject.org/wiki/Packaging/SourceURL#Sourceforge.net
- devel package requires pcsc-lite-devel as well
- AUTHORS added to docs
- keep timestamps on files being copied
- removed redundant include directory 
  also includes all the files under that directory

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


add_pkgconfig.patch:

--- NEW FILE add_pkgconfig.patch ---
--- globalplatform-5.0.0/Makefile.am.add	2007-08-22 03:50:06.000000000 +0900
+++ globalplatform-5.0.0/Makefile.am	2008-10-05 16:00:51.000000000 +0900
@@ -19,6 +19,8 @@
 libGlobalPlatform_la_LDFLAGS = -version-info 4:2:3 $(PCSCLITE_LIBS)
 libGlobalPlatform_la_CPPFLAGS = $(AM_CPPFLAGS) $(PCSCLITE_CFLAGS)
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = globalplatform.pc
 
 doc : GlobalPlatform.c GlobalPlatform/GlobalPlatform.h GlobalPlatform/unicode.h
 	doxygen Doxyfile.cfg
--- globalplatform-5.0.0/configure.in.add	2008-02-28 09:18:01.000000000 +0900
+++ globalplatform-5.0.0/configure.in	2008-10-05 15:55:04.000000000 +0900
@@ -128,5 +128,6 @@
 
 AC_OUTPUT([
 Makefile
+globalplatform.pc
 ])
 
--- globalplatform-5.0.0/globalplatform.pc.in.add	2008-10-05 15:46:40.000000000 +0900
+++ globalplatform-5.0.0/globalplatform.pc.in	2008-10-05 16:02:43.000000000 +0900
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: globalplatform
+Description: library for providing access to OpenPlatform and GlobalPlatform
+Version: @VERSION@
+
+Requires: libpcsclite >= 1.2.9-beta7
+Libs: -L${libdir} -lglobalplatform
+Cflags: -I${includedir}/GlobalPlatform


--- NEW FILE globalplatform.spec ---
Name: globalplatform
Version: 5.0.0
Release: 5%{?dist}
Summary: Library for access to OP 2.0.1 and GP 2.1.1 conforming smart cards
Group: System Environment/Libraries
License: LGPLv3+
URL: http://sourceforge.net/projects/globalplatform/
Source0: http://downloads.sourceforge.net/globalplatform/%{name}-%{version}.tar.gz

# Add pkg-config configuration file
# https://sourceforge.net/tracker/index.php?func=detail&aid=2167956&group_id=143343&atid=755201
Patch0: add_pkgconfig.patch
Patch1: libtool22.patch

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

BuildRequires: openssl-devel >= 0.9.7e
BuildRequires: zlib-devel >= 1.2.3
BuildRequires: pcsc-lite-devel
BuildRequires: automake
BuildRequires: libtool

%description
This is a library for providing access to OpenPlatform 2.0.1 and
GlobalPlatform 2.1.1 conforming smart cards.

%package devel
Summary: Development libraries for programs to access OP and GP smart cards 
Group: Development/Libraries
Requires: globalplatform = %{version}-%{release}
Requires: pcsc-lite-devel
Requires: pkgconfig

%description devel
The globalplatform-devel package contains header files necessary for 
developing programs using the GlobalPlatform library.

%prep
%setup -q
%patch0 -p1 -b add_pkgconfig.patch
%patch1 -p1 -b libtool22.patch

%if 0%{?fedora} >= 11
libtoolize --force --copy
%endif
aclocal
autoconf
automake
touch -r Makefile.in configure aclocal.m4

%build
%configure --disable-static
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} CPPROG="cp -p"
find %{buildroot} -name '*.la' -exec rm -f {} ';'

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc README COPYING.LESSER ChangeLog AUTHORS
%{_libdir}/libGlobalPlatform.so.*

%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/GlobalPlatform/
%{_libdir}/pkgconfig/*.pc

%changelog
* Wed Dec  3 2008 François Kooman <fkooman at tuxed net> 5.0.0-5
- make it build with libtool 2.2 (rawhide)

* Sun Oct 15 2008 François Kooman <fkooman at tuxed net> 5.0.0-4
- requires pkgconfig
- actually include GlobalPlatform directory in .pc pkgconfig patch
- add upstream patch bug report

* Fri Oct 10 2008 François Kooman <fkooman at tuxed net> 5.0.0-3
- Add pkgconfig file by using patch, add autoconf goo
- Downloaded Source0 again, retaining timestamp this time

* Fri Oct  3 2008 François Kooman <fkooman at tuxed net> 5.0.0-2
- license is GPLv3+
- change source URL according to packaging guidelines for Sourceforge.net:
    https://fedoraproject.org/wiki/Packaging/SourceURL#Sourceforge.net
- devel package requires pcsc-lite-devel as well
- AUTHORS added to docs
- keep timestamps on files being copied
- removed redundant include directory 
  also includes all the files under that directory

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



--- NEW FILE import.log ---
globalplatform-5_0_0-5_fc10:F-9:globalplatform-5.0.0-5.fc10.src.rpm:1228688535

libtool22.patch:

--- NEW FILE libtool22.patch ---
--- globalplatform-5.0.0/configure.in.debug	2008-02-28 09:18:01.000000000 +0900
+++ globalplatform-5.0.0/configure.in	2008-12-04 02:38:21.000000000 +0900
@@ -9,6 +9,7 @@
 AC_PROG_CC
 AC_PROG_CPP
 AC_PROG_INSTALL
+AC_PROG_LIBTOOL
 
 case "$host" in
 *-*-cygwin*)
@@ -19,7 +20,6 @@
   ;;
 esac
 
-AC_PROG_LIBTOOL
 
 # check header files
 AC_HEADER_STDC


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/globalplatform/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Dec 2008 00:53:13 -0000	1.1
+++ .cvsignore	7 Dec 2008 22:22:42 -0000	1.2
@@ -0,0 +1 @@
+globalplatform-5.0.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/globalplatform/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Dec 2008 00:53:13 -0000	1.1
+++ sources	7 Dec 2008 22:22:43 -0000	1.2
@@ -0,0 +1 @@
+093c9f75c6724520c583ac9a653ad1cc  globalplatform-5.0.0.tar.gz




More information about the fedora-extras-commits mailing list