Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:php:applications
php5-pear-channel-pearplex
php5-pear-channel-pearplex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-pear-channel-pearplex.spec of Package php5-pear-channel-pearplex
# # spec file for package php5-pear-channel-pearplex # # Copyright (c) 2011 Weberhofer GmbH, Austria # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bug fixes or comments via http://bugs.opensuse.org/ # #norootforbuild %define peardir %(pear config-get php_dir 2> /dev/null) %define pear_xmldir /var/lib/pear Name: php5-pear-channel-pearplex Version: 1.0 Release: 0 Summary: Adds pear.pearplex.net channel to PEAR Group: Development/Libraries/PHP License: BSD URL: http://pear.pearplex.net/ Source0: http://pear.pearplex.net/channel.xml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: php-pear BuildRequires: php > 5 Requires: php-pear Requires: php > 5 Provides: php-pear-channel-pearplex %description This package adds the pear.pearplex.net channel which allows PEAR packages from this channel to be installed. %prep %setup -q -c -T %build # Empty build section, nothing to build %install %{__mkdir_p} %{buildroot}%{pear_xmldir} %{__install} -pm 644 %{SOURCE0} %{buildroot}%{pear_xmldir}/pear.pearplex.net.xml %clean %{__rm} -rf %{buildroot} %post if [ $1 -eq 1 ] ; then pear channel-add %{pear_xmldir}/pear.pearplex.net.xml > /dev/null || : else pear channel-update %{pear_xmldir}/pear.pearplex.net.xml > /dev/null ||: fi %postun if [ $1 -eq 0 ] ; then pear channel-delete pear.pearplex.net > /dev/null || : fi %files %defattr(-,root,root,-) %{pear_xmldir}/* %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