Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
mhash
mhash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mhash.spec of Package mhash
# # spec file for package mhash # # Copyright (c) 2011 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: mhash Version: 0.9.9.9 Release: 11 BuildRequires: libtool Group: Development/Libraries/C and C++ License: GPL-2.0+ Url: http://mhash.sourceforge.net/ Summary: A Library for Working with Strong Hashes (Like MD5) Source: %{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 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The mhash library provides an easy way to access strong hashes, such as MD5, SHA1, and other algorithms. %package devel Summary: Static Library and Header Files for mhash Library Provides: mhash:/usr/include/mhash.h Requires: mhash = %{version} glibc-devel Group: Development/Libraries/C and C++ %description devel The mhash library provides an easy way to access strong hashes such as MD5, SHA1, and other algorithms. %prep %setup -q -n %{name}-%{version} %patch0 %patch1 -p1 %build %{suse_update_config -f .} autoreconf --force --install %configure --with-pic\ --disable-static %{__make} %{?_smp_mflags} %install %{__make} DESTDIR=%{buildroot} install # useless .la file - has empty dependency_libs variable %{__rm} -f %{buildroot}%{_libdir}/libmhash.la %check make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO %doc doc/skid2-authentication doc/example.c %{_libdir}/libmhash.so.* %files devel %defattr(-,root,root) %doc %{_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