Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller
php5-pear-auth_openid
php5-pear-auth_openid.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-pear-auth_openid.spec of Package php5-pear-auth_openid
# # spec file for package php5-pear-auth_openid (Version 2.1.1) # # Copyright (c) 2008 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: php5-pear-auth_openid BuildRequires: php5-bz2 php5-curl php5-gmp php5-pear python %define peardir %(pear config-get php_dir 2> /dev/null) %define xmldir /var/lib/pear Summary: PHP OpenID support Version: 2.2.2 Release: 1 License: LGPL %define tar_version %version Group: Development/Libraries/Other Source0: php-openid-%{tar_version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.openidenabled.com/php-openid/ PreReq: php5-pear Requires: php5-gmp php5-curl BuildArch: noarch %description An implementation of the OpenID single sign-on authentication protocol. %prep %setup -c -n php-openid-%{tar_version} pear5 -v -c pearrc \ -d php_dir=%{peardir} \ -d doc_dir=/docs \ -d bin_dir=%{_bindir} \ -d data_dir=%{peardir}/data \ -d test_dir=%{peardir}/tests \ -d ext_dir=%{_libdir} \ -s %build %install cd php-openid-%{tar_version} #pear -c pearrc -v -d doc_dir=%{_docdir}/%{name} install --offline -P %{buildroot} %{SOURCE0} mkdir -p %{buildroot}/usr/share/php5/PEAR cp -pr Auth %{buildroot}/usr/share/php5/PEAR rm -rf "$RPM_BUILD_ROOT"/%{peardir}/.{filemap,lock,registry,channels,depdb,depdblock} rm -rf "$RPM_BUILD_ROOT"/tmp # Install XML package description mkdir -p %{buildroot}%{xmldir} cp -p admin/package2.xml %{buildroot}%{xmldir}/Auth_OpenID.xml %clean rm -rf %{buildroot} #%post #pear install --nodeps --soft --force --register-only %{xmldir}/Auth_OpenID.xml #%postun #if [ "$1" -eq "0" ]; then # pear uninstall --nodeps --ignore-errors --register-only Auth_OpenID #fi %files %defattr(-,root,root) #%doc doc/Auth_OpenID/* %{peardir}/* %{xmldir}/Auth_OpenID.xml %changelog * Sun Aug 10 2008 dmueller@suse.de - update to 2.1.1 * Wed Aug 29 2007 dmueller@suse.de - Initial package (2.0.0-rc2)
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