Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dubkat
spotify-libgcrypt
spotify-libgcrypt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File spotify-libgcrypt.spec of Package spotify-libgcrypt
# # spec file for package libgcrypt (Version 1.4.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/ # # norootforbuild %define _name spotify-libgcrypt %define _gcrypt libgcrypt Name: %{_name} BuildRequires: libgpg-error-devel Url: http://www.gnu.org/directory/Security/libgcrypt.html Version: 1.4.6 Release: 1 Summary: This is the old, outdated gcrypt library that is required by the native spotify linux client. License: GPLv2+ ; LGPLv2.1+ Group: Development/Libraries/C and C++ AutoReqProv: on Source: %{_gcrypt}-%version.tar.bz2 Source2: baselibs.conf Patch0: %{_gcrypt}-ppc64.patch Patch1: libgcrypt-strict-aliasing.patch Patch2: libgcrypt-1.4.4-mpicheck.patch Patch3: libgcrypt-1.4.1-rijndael_no_strict_aliasing.patch Patch4: libgcrypt-sparcv9.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf automake libtool # bug437293 %ifarch ppc64 Obsoletes: libgcrypt-64bit %endif # # libgcrypt last used in 10.3 Obsoletes: libgcrypt11 < %{version} Provides: spotify-libgcrypt11 = %{version} Provides: libgcrypt11 = % %description This outdated version of libgcrypt is provided for Spotify users who wish to use the native app. Unless you are using the Spotify client for linux, this package is useless. %prep %setup -q -n %{_gcrypt}-%version %patch0 -p1 %patch1 %patch2 %patch3 -p1 %patch4 -p1 %build # define ciphers to build ENABLE_CIPHER="arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia" ENABLE_PUBKEY="dsa elgamal rsa ecc" ENABLE_DIGEST="crc md4 md5 rmd160 sha1 sha256 sha512 tiger whirlpool" # %{?suse_update_config} autoreconf -fi %configure --with-pic --libdir=/%{_lib} \ --enable-noexecstack \ --disable-static \ %ifarch %sparc --disable-asm \ %endif --enable-ciphers="$ENABLE_CIPHER" \ --enable-pubkey-ciphers="$ENABLE_PUBKEY" \ --enable-digests="$ENABLE_DIGEST" %{__make} %{?_smp_mflags} %check # Nice idea. however this uses /dev/random, which hangs # on hardware without random feeds. #make check %install make DESTDIR=$RPM_BUILD_ROOT install # rm $RPM_BUILD_ROOT/%{_lib}/libgcrypt.la mkdir -p $RPM_BUILD_ROOT%_libdir for x in %{_gcrypt}.so{,.11,.11.6,.11.6.0}; do %{__mv} %{buildroot}/%{_lib}/$x %{buildroot}%{_libdir}/$x ||: done #%{__mv} $RPM_BUILD_ROOT/%{_lib}/%{_gcrypt}.so %{buildroot}%{_libdir}/%{_gcrypt}11.so #%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{_gcrypt}.so) %{buildroot}%{_libdir}/%{name}.so #%{__rm} -v %{buildroot}/%{_lib}/%{name}.so ## # since this is only use for spotify, and to reduce the possibility of file conflicts # we trash everything except the libfiles for x in /usr/bin/dumpsexp /usr/bin/hmac256 /usr/bin/libgcrypt-config /usr/include/gcrypt-module.h /usr/include/gcrypt.h /usr/share/aclocal/libgcrypt.m4 /usr/share/info/gcrypt.info.gz; do rm -f %{buildroot}${x} done %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README THANKS TODO %_libdir/libgcrypt.so* %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