rpms/php-pear-PhpDocumentor/FC-6 php-pear-PhpDocumentor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Konstantin Ryabitsev (icon) fedora-extras-commits at redhat.com
Mon Jun 11 14:11:26 UTC 2007


Author: icon

Update of /cvs/extras/rpms/php-pear-PhpDocumentor/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5833/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	php-pear-PhpDocumentor.spec 
Log Message:
Adding to branches.



--- NEW FILE php-pear-PhpDocumentor.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name PhpDocumentor

Summary:          The complete documentation solution for PHP
Name:             php-pear-PhpDocumentor
Version:          1.3.2
Release:          1%{?dist}
License:          LGPL
Group:            Development/Libraries
URL:              http://www.phpdoc.org/
Source0:          http://download.sourceforge.net/phpdocu/%{pear_name}-%{version}.tgz
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:        noarch
BuildRequires:    php-pear >= 1:1.4.9
Requires:         php-pear(PEAR), php-common > 5.1.0
Requires(post):   %{__pear}
Requires(postun): %{__pear}
Provides:         php-pear(%{pear_name}) = %{version}

%description
phpDocumentor is the current standard auto-documentation tool for the 
php language. 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.

phpDocumentor uses an extensive templating system to change your source 
code comments into human readable, and hence useful, formats. This system 
allows the creation of easy to read documentation in 15 different 
pre-designed HTML versions, PDF format, Windows Helpfile CHM format, and 
in Docbook XML. 


%package -n phpdoc
Summary:    Command-line utility for PhpDocumentor
Group:      Development/Tools
Requires:   php-pear(%{pear_name}) = %{version}-%{release}
Requires:   php-cli

%description -n phpdoc
This package includes a utility to run PhpDocumentor from the command-line
interface.


%package docs
Summary:    Documentation for PhpDocumentor
Group:      Documentation
Requires:   %{name} = %{version}-%{release}

%description docs
This package includes the documentation for PhpDocumentor.

%prep
%setup -q -c
[ -f package2.xml ] || mv package.xml package2.xml
mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
cd %{pear_name}-%{version}


%build


%install
cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml
# Move documentation
mkdir -p docdir
mv $RPM_BUILD_ROOT%{pear_docdir}/* docdir

# Clean up unnecessary files
rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*

# Install XML package description
mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
install -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir}

# Remove scripts out of bindir
rm -rf $RPM_BUILD_ROOT%{_bindir}/scripts 


%clean
rm -rf $RPM_BUILD_ROOT


%post
%{__pear} install --nodeps --soft --force --register-only \
    %{pear_xmldir}/%{pear_name}.xml >/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    %{__pear} uninstall --nodeps --ignore-errors --register-only \
        %{pear_name} >/dev/null || :
fi


%files
%defattr(-,root,root,-)
%doc %{pear_name}-%{version}/docdir/%{pear_name}/LICENSE
%{pear_phpdir}/%{pear_name}
%{pear_phpdir}/data/%{pear_name}
%{pear_phpdir}/test/%{pear_name}
%{pear_xmldir}/%{pear_name}.xml

%files -n phpdoc
%defattr(-,root,root,-)
%doc %{pear_name}-%{version}/docdir/%{pear_name}/LICENSE 
%doc %{pear_name}-%{version}/scripts/makedoc.sh
%{_bindir}/*

%files docs
%defattr(-,root,root,-)
%doc %{pear_name}-%{version}/docdir/%{pear_name}/*


%changelog
* Sun Jun 10 2007 Konstantin Ryabitsev <icon at fedoraproject.org> - 1.3.2-1
- Upstream 1.3.2
- Update the spec to the latest php-pear spec standards
- Drop obsoleted patch

* Wed Jan 17 2007 Konstantin Ryabitsev <icon at fedoraproject.org> - 1.3.1-1
- Upstream 1.3.1
- Patch for bug with php-5.2 (http://pear.php.net/bugs/bug.php?id=9151)

* Tue Jan 02 2007 Konstantin Ryabitsev <icon at fedoraproject.org> - 1.3.0-1
- Remove bogus scripts dir in _bindir
- Require version-release instead of just version in phpdoc

* Mon Aug 28 2006 Konstantin Ryabitsev <icon at fedoraproject.org> - 1.3.0-0.3
- Version 1.3.0 stable
- Drop Source1
- Move documentation into -docs subpackage
- Use an updated pear template from #198706

* Sun Aug 06 2006 Konstantin Ryabitsev <icon at fedoraproject.org> - 1.3.0-0.2.RC6
- Split command-line stuff into a phpdoc package.
- Rename the package to conform to the php-pear naming standard.
- Create a php.ini with limit overrides (builds in mock were failing)

* Thu Jul 27 2006 Konstantin Ryabitsev <icon at fedoraproject.org> - 1.3.0-0.1.RC6
- Initial packaging (merci, Remi!)


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-PhpDocumentor/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Jun 2007 03:38:46 -0000	1.1
+++ .cvsignore	11 Jun 2007 14:10:46 -0000	1.2
@@ -0,0 +1 @@
+PhpDocumentor-1.3.2.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-PhpDocumentor/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Jun 2007 03:38:46 -0000	1.1
+++ sources	11 Jun 2007 14:10:46 -0000	1.2
@@ -0,0 +1 @@
+747e4bd9ddffeb0bfb9375c870a1d17f  PhpDocumentor-1.3.2.tgz




More information about the fedora-extras-commits mailing list