Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
opencdk
opencdk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opencdk.spec of Package opencdk
# # spec file for package opencdk (Version 0.6.6) # # 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/ # Name: opencdk BuildRequires: libgcrypt-devel pkg-config zlib-devel Url: http://www.gnutls.org/ Version: 0.6.6 Release: 5 Summary: Library Providing Basic Parts of the OpenPGP Message Format License: GPLv2+ Group: System/Libraries AutoReqProv: on Source: %{name}-%{version}.tar.bz2 Source2: baselibs.conf Patch: opencdk-0.6.6-remove_pointer_comparison.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description For reference, read RFC2440. Due to some possible security problems, the library also implements parts of draft-ietf-openpgp-rfc2440bis-06.txt. The aim of the library is not to replace any available OpenPGP version. There is no real support for key management (sign, revoke, alter preferences, etc.) and some other parts are only rudimentarily available. The main purpose is to handle and understand OpenPGP packets and to use basic operations. For example, to encrypt and decrypt, sign and verify, and provide packet routines. Authors: -------- Timo Schulz <twoaday@freakmail.de> %package -n libopencdk10 License: GPLv2+ Summary: Library Providing Basic Parts of the OpenPGP Message Format Group: System/Libraries # libopencdk last used in 10.3 Provides: libopencdk = %{version} Obsoletes: libopencdk < %{version} # provide for debuginfo package (always requiring main package name) Provides: opencdk = %{version}-%{release} %description -n libopencdk10 For reference, read RFC2440. Due to some possible security problems, the library also implements parts of draft-ietf-openpgp-rfc2440bis-06.txt. The aim of the library is not to replace any available OpenPGP version. There is no real support for key management (sign, revoke, alter preferences, etc.) and some other parts are only rudimentarily available. The main purpose is to handle and understand OpenPGP packets and to use basic operations. For example, to encrypt and decrypt, sign and verify, and provide packet routines. Authors: -------- Timo Schulz <twoaday@freakmail.de> %package -n libopencdk-devel License: GPLv2+ Summary: Development tools for programs which will use the opencdk library Group: Development/Libraries/C and C++ Requires: libopencdk10 = %{version}, libgcrypt-devel, glibc-devel, libgpg-error-devel, zlib-devel %description -n libopencdk-devel This package contains the header files and static libraries for developing programs which will be linked against the opencdk library. Authors: -------- Timo Schulz <twoaday@freakmail.de> %prep %setup -q %patch -p1 %build %suse_update_config autoreconf --force --install CFLAGS="$RPM_OPT_FLAGS" ./configure \ --prefix=%{_prefix} \ --sysconfdir=%_sysconfdir \ --libdir=%{_libdir} make %{?_smp_mflags} %check #won't work in build service as it requires strong random, and the xen build instances #do not generate enough noise for random. I don't see a way to reconfigure libcrypt #to use weak random for testing - possibly the build service chroot should have #random point to urandom, but for now it should simply build #make check %install make DESTDIR=$RPM_BUILD_ROOT install install -m 755 -d %buildroot/%_datadir/aclocal/ install -m 644 src/opencdk.m4 %buildroot/%_datadir/aclocal/ # don't package static lib and libtool la file rm -f %{buildroot}/%{_libdir}/libopencdk.{a,la} %post -n libopencdk10 /sbin/ldconfig %postun -n libopencdk10 /sbin/ldconfig %files -n libopencdk10 %defattr(-,root,root) %_libdir/libopencdk.so.10* %files -n libopencdk-devel %defattr(-,root,root) %doc TODO THANKS README NEWS ChangeLog COPYING AUTHORS %doc doc/opencdk-api.html %_bindir/opencdk-config %_libdir/libopencdk.so %_includedir/opencdk.h %_datadir/aclocal/* %_libdir/pkgconfig/opencdk.pc %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