Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vodoo
php5-pear-phpdocumentor
php5-pear-phpdocumentor.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-pear-phpdocumentor.spec of Package php5-pear-phpdocumentor
# # spec file for package php5-pear-phpdocumentor # # Copyright (c) 2012 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/ # %define pkg_name phpDocumentor %define src_rel r291508 Summary: Auto-documentation tool for PHP License: GPL-2.0 Group: Development/Tools/Doc Generators Name: php5-pear-phpdocumentor Version: 1.4.3 Release: 6.1 Source0: %{pkg_name}-%{version}.tar.bz2 Patch0: %{name}.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.phpdoc.org/ BuildRequires: fdupes BuildRequires: patch BuildRequires: php5-PHPUnit Requires: php5 >= 5.2.6 BuildArch: noarch %description phpDocumentor, sometimes referred to as phpdoc or phpdocu, is the current standard auto-documentation tool for the php language. Similar to Javadoc, and written in php, phpDocumentor can be used from the command line or a web interface to create professional documentation from php source code. phpDocumentor has support for linking between documentation, incorporating user level documents like tutorials and creation of highlighted source code with cross referencing to php general documentation. %prep %setup -qn %{pkg_name}-%{version}.%{src_rel} %patch0 -p1 %build find . -type f -perm /111 \ -fprint executables -exec %{__chmod} -x '{}' \; >/dev/null find . -type f -name \*.sh \ -fprint valid_executables -exec %{__chmod} +x '{}' \; >/dev/null %{__cat} executables valid_executables|sort|uniq -u > invalid_executables %install export NO_BRP_CHECK_BYTECODE_VERSION=true %{__rm} -rf $RPM_BUILD_ROOT %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %{__cp} -pr phpDocumentor/* $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %{__cp} -pr phpDocumentor.ini $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %{__cp} -pr HTML_TreeMenu-1.1.2 $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %{__cp} -pr user $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %{__cp} -pr docbuilder $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %{__mkdir_p} %{buildroot}%{_bindir} %{__chmod} +x phpdoc %{__cp} -pr phpdoc %{buildroot}%{_bindir} %{__cp} -pr LICENSE $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %fdupes -s $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_datadir}/php5/%{pkg_name} %{_bindir}/phpdoc %doc LICENSE %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