Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
gtkcard
gtkcard.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtkcard.spec of Package gtkcard
# # spec file for package gtkcard (Version 0.1.9.106) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gtkcard Version: 0.1.9.106 Release: 217 %define _version 0.2-svn-r106 Url: http://www.opensc-project.org/gtkcard/ Group: Productivity/Security License: GPLv2+ Summary: PKCS#11 Smard Card Utility Source: %{name}-%{_version}.tar.bz2 Source1: opensc-key.png # wget -N http://www.core.com.pl/svn2log/svn2log.py ; svn log -v --xml http://www.opensc-project.org/svn/gtkcard/trunk | python svn2log.py -D 0 -s -H -p '/(branches/[^/]+|trunk)/' -o gtkcard-ChangeLog ; sed -i 's/\+0000 \[r[0-9-]*\] \(.*\):$/\1/' gtkcard-ChangeLog Source2: gtkcard-ChangeLog Patch0: gtkcard-fix-openssl.patch AutoReqProv: on BuildRequires: gtk2-devel opensc openssl-devel update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Utility for manipulation with the PKCS#11 Smart Card. Authors: -------- Ludovic Rousseau <ludovic.rousseau@free.fr> %prep %setup -q -n %{name}-%{_version} %patch0 -p1 cp -a %{S:1} . if ! test -f ChangeLog ; then cp %{S:2} ChangeLog else echo "WARNING: ChangeLog is now obsolete." sleep 20 fi %build %configure --enable-pkcs11=/usr/%{_lib}/opensc-pkcs11.so make %{?jobs:-j%jobs} %install make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps cp opensc-key.png $RPM_BUILD_ROOT/usr/share/pixmaps %suse_update_desktop_file -N "GTKCard" -C "Manipulate with the PKCS#11 Smart Card" -c GTKCard GTKCard "PKCS#11 Smard Card Utility" GTKCard opensc-key GTK Utility Security %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-, root, root) %doc ChangeLog LICENSE README /usr/bin/* /usr/share/applications/*.desktop /usr/share/pixmaps/*.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor