Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
liboauth
liboauth.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File liboauth.spec of Package liboauth
# # spec file for package liboauth # # 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: liboauth Version: 0.9.4 Release: 1 License: MIT Summary: OAuth library Url: http://liboauth.sourceforge.net/ Group: System/Libraries BuildRequires: pkg-config BuildRequires: libcurl-devel BuildRequires: libopenssl-devel BuildRequires: libtool BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: liboauth-%{version}.tar.gz Source1: baselibs.conf %description liboauth is a collection of c functions implementing the http://oauth.net API. liboauth provides functions to escape and encode stings according to OAuth specifications and offers high-level functionality built on top to sign requests or verify signatures using either NSS or OpenSSL for calculating the hash/signatures. %define libname liboauth0 %package -n %{libname} Group: Development/Libraries/C and C++ # Summary: Shared library from liboauth %description -n %{libname} liboauth is a collection of c functions implementing the http://oauth.net API. liboauth provides functions to escape and encode stings according to OAuth specifications and offers high-level functionality built on top to sign requests or verify signatures using either NSS or OpenSSL for calculating the hash/signatures. This archive contains the shared library files from liboauth. %package devel Summary: Development and Include Files for liboauth Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: %{libname} = %{version} %description devel liboauth is a collection of c functions implementing the http://oauth.net API. liboauth provides functions to escape and encode stings according to OAuth specifications and offers high-level functionality built on top to sign requests or verify signatures using either NSS or OpenSSL for calculating the hash/signatures. This archive contains the header files for liboauth development. %prep %setup -q #%patch10 -p1 %build sed -i -e '/^Libs.private/d' -e '/^Requires.private/d' oauth.pc.in autoreconf --force --install %configure --disable-static --with-pic %{__make} %{?_smp_flags} all %install %{__make} install DESTDIR=%{buildroot} # empty dependency libs rm -f %{buildroot}%{_libdir}/liboauth.la %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -n %{libname} %defattr(-,root,root) %doc AUTHORS COPYING* README %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/*.so %{_libdir}/pkgconfig/oauth.pc %{_mandir}/man*/* %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