rpms/cardpeek/F-13 cardpeek-executable-stack.patch, NONE, 1.1 cardpeek-luadetect.patch, NONE, 1.1 cardpeek.desktop, NONE, 1.1 cardpeek.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Kalev Lember
kalev at fedoraproject.org
Thu May 6 16:29:37 UTC 2010
- Previous message: rpms/cardpeek/devel cardpeek-executable-stack.patch, NONE, 1.1 cardpeek-luadetect.patch, NONE, 1.1 cardpeek.desktop, NONE, 1.1 cardpeek.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/perl-Sys-Hostname-Long/devel perl-Sys-Hostname-Long.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kalev
Update of /cvs/pkgs/rpms/cardpeek/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv25808/F-13
Modified Files:
.cvsignore sources
Added Files:
cardpeek-executable-stack.patch cardpeek-luadetect.patch
cardpeek.desktop cardpeek.spec import.log
Log Message:
Initial import (#585902)
cardpeek-executable-stack.patch:
script.S | 3 +++
1 file changed, 3 insertions(+)
--- NEW FILE cardpeek-executable-stack.patch ---
diff -up cardpeek-0.5/script.S.executable-stack cardpeek-0.5/script.S
--- cardpeek-0.5/script.S.executable-stack 2010-03-21 20:55:33.000000000 +0200
+++ cardpeek-0.5/script.S 2010-04-26 11:47:53.000000000 +0300
@@ -3,3 +3,6 @@ _binary_dot_cardpeek_tar_gz_start:
.incbin "dot_cardpeek.tar.gz"
.globl _binary_dot_cardpeek_tar_gz_end
_binary_dot_cardpeek_tar_gz_end:
+#if defined __ELF__ && defined __linux__
+ .section .note.GNU-stack,"", at progbits
+#endif
cardpeek-luadetect.patch:
configure.ac | 2 ++
1 file changed, 2 insertions(+)
--- NEW FILE cardpeek-luadetect.patch ---
diff -up cardpeek-0.5/configure.ac.luadetect cardpeek-0.5/configure.ac
--- cardpeek-0.5/configure.ac.luadetect 2010-04-26 10:55:01.000000000 +0300
+++ cardpeek-0.5/configure.ac 2010-04-26 11:05:03.000000000 +0300
@@ -60,11 +60,13 @@ Please install the libpcsclite library f
AM_PATH_PACKAGE([lua-5.1],[LUA],,[
AM_PATH_PACKAGE([lua5.1],[LUA],,[
+ AM_PATH_PACKAGE(['lua >= 5.1'],[LUA],,[
AC_MSG_ERROR([Could not find lua 5.1-dev.
This program requires the lua 5.1 library.
Please install the lua 5.1 library first.])
])
])
+])
##AM_PATH_PACKAGE([openssl],[OPENSSL],,AC_MSG_ERROR([Could not find openssl-dev.
##This program requires the openssl dev. library.
--- NEW FILE cardpeek.desktop ---
[Desktop Entry]
Name=Cardpeek
Comment=Tool to read the contents of smart cards
Exec=cardpeek
Icon=cardpeek
StartupNotify=true
Terminal=false
Type=Application
Categories=GNOME;GTK;Utility;
--- NEW FILE cardpeek.spec ---
Name: cardpeek
Version: 0.5
Release: 2%{?dist}
Summary: Tool to read the contents of smart cards
Group: Applications/Productivity
License: GPLv3+
URL: http://code.google.com/p/cardpeek/
Source0: http://cardpeek.googlecode.com/files/cardpeek-%{version}.tar.gz
# http://code.google.com/p/cardpeek/issues/detail?id=3
Source1: cardpeek.desktop
# http://code.google.com/p/cardpeek/issues/detail?id=1
Patch0: cardpeek-executable-stack.patch
# http://code.google.com/p/cardpeek/issues/detail?id=2
Patch1: cardpeek-luadetect.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: gtk2-devel
BuildRequires: lua-devel
BuildRequires: openssl-devel
BuildRequires: pcsc-lite-devel
%description
Cardpeek is a tool to read the contents of ISO7816 smart cards. It
features a GTK GUI to represent card data is a tree view, and is
extendable with a scripting language (LUA).
The tool currently reads the contents of:
* EMV cards
* Calypso public transport cards (such as Navigo)
* Moneo ePurse cards
* Vitale 2 French health cards.
%prep
%setup -q
%patch0 -p1 -b .executable-stack
%patch1 -p1 -b .luadetect
# regenerate the configure script after patching configure.ac
autoreconf
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# remove docs from a wrong place
rm -rf $RPM_BUILD_ROOT%{_docdir}/cardpeek/
# install desktop file
desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
# install icon file
install -D -p -m 644 icons/smartcard.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/cardpeek.png
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%doc doc/cardpeek_ref*.pdf
%{_bindir}/cardpeek
%{_datadir}/applications/cardpeek.desktop
%{_datadir}/icons/hicolor/32x32/apps/cardpeek.png
%{_mandir}/man1/cardpeek.1*
%changelog
* Mon May 03 2010 Kalev Lember <kalev at smartlink.ee> - 0.5-2
- Set StartupNotify=true in desktop file
- Use INSTALL="install -p" to keep timestamps
- Updated description
* Mon Apr 26 2010 Kalev Lember <kalev at smartlink.ee> - 0.5-1
- Initial RPM release
--- NEW FILE import.log ---
cardpeek-0_5-2_fc14:F-13:cardpeek-0.5-2.fc14.src.rpm:1273163368
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/cardpeek/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 6 May 2010 15:53:09 -0000 1.1
+++ .cvsignore 6 May 2010 16:29:37 -0000 1.2
@@ -0,0 +1 @@
+cardpeek-0.5.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/cardpeek/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 6 May 2010 15:53:09 -0000 1.1
+++ sources 6 May 2010 16:29:37 -0000 1.2
@@ -0,0 +1 @@
+c5b3acc81840fd365dbd69a6d9941edc cardpeek-0.5.tar.gz
- Previous message: rpms/cardpeek/devel cardpeek-executable-stack.patch, NONE, 1.1 cardpeek-luadetect.patch, NONE, 1.1 cardpeek.desktop, NONE, 1.1 cardpeek.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/perl-Sys-Hostname-Long/devel perl-Sys-Hostname-Long.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list