Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
mhash
mhash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mhash.spec of Package mhash
# # spec file for package mhash # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: mhash Version: 0.9.9.9 Release: 0 Summary: A Library for Working with Strong Hashes License: GPL-2.0-or-later Group: Development/Libraries/C and C++ URL: https://mhash.sourceforge.net/ Source: https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-shared.diff # PATCH-FIX-UPSTREAM fix-for-upstream-sources.patch sourceforge#2908478 Patch1: mhash_remove_premature_free.patch Patch2: mhash-0.9.9.9-fix-snefru-segfault.patch Patch3: mhash-0.9.9.9-fix-mem-leak.patch Patch4: mhash-0.9.9.9-fix-whirlpool-segfault.patch Patch5: mhash-0.9.9-no-free-before-use.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool %description The mhash library provides an easy way to access strong hashes, such as MD5, SHA1, and other algorithms. %package -n lib%{name}2 Summary: A Library for Working with Strong Hashes Group: System/Libraries Provides: %{name} = %{version} Obsoletes: %{name} < %{version} %description -n lib%{name}2 The mhash library provides an easy way to access strong hashes, such as MD5, SHA1, and other algorithms. %package devel Summary: Header Files for mhash Library Group: Development/Libraries/C and C++ Requires: lib%{name}2 = %{version} Provides: %{name}:%{_includedir}/%{name}.h %description devel The mhash library provides an easy way to access strong hashes such as MD5, SHA1, and other algorithms. %prep %autosetup -p1 %build autoreconf --force --install %configure \ --with-pic \ --disable-static %make_build %install %make_install # useless .la file rm %{buildroot}%{_libdir}/lib%{name}.la %check %make_build check %post -n lib%{name}2 -p /sbin/ldconfig %postun -n lib%{name}2 -p /sbin/ldconfig %files -n lib%{name}2 %license COPYING %doc AUTHORS ChangeLog NEWS README THANKS TODO %{_libdir}/libmhash.so.* %files devel %license COPYING %doc AUTHORS ChangeLog NEWS README THANKS TODO %doc doc/skid2-authentication doc/example.c %{_mandir}/man?/* %{_includedir}/* %{_libdir}/libmhash.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