rpms/php-pear-Image-Graph/devel php-pear-Image-Graph.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Christopher Stone (xulchris)
fedora-extras-commits at redhat.com
Mon Mar 12 19:01:04 UTC 2007
Author: xulchris
Update of /cvs/extras/rpms/php-pear-Image-Graph/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23923/devel
Modified Files:
.cvsignore sources
Added Files:
php-pear-Image-Graph.spec
Log Message:
auto-import php-pear-Image-Graph-0.7.2-1 on branch devel from php-pear-Image-Graph-0.7.2-1.src.rpm
--- NEW FILE php-pear-Image-Graph.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name Image_Graph
Name: php-pear-Image-Graph
Version: 0.7.2
Release: 1%{?dist}
Summary: Displays numerical data as a graph/chart/plot
Group: Development/Languages
License: LGPL
URL: http://pear.php.net/package/Image_Graph
Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear >= 1:1.4.9-1.2
Requires: php-pear(PEAR)
Requires: php-pear(Image_Canvas) >= 0.3.0
Requires(hint): php-pear(Numbers_Roman) php-pear(Numbers_Words)
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides: php-pear(%{pear_name}) = %{version}
%description
Image_Graph provides a set of classes that creates graphs/plots/charts based on
(numerical) data.
Many different plot types are supported: Bar, line, area, step, impulse,
scatter, radar, pie, map, candlestick, band, box & whisker and smoothed line,
area and radar plots.
The graph is highly customizable, making it possible to get the exact look and
feel that is required.
The output is controlled by a Image_Canvas, which facilitates easy output to
many different output formats, amongst others, GD (PNG, JPEG, GIF, WBMP),
PDF (using PDFLib), Scalable Vector Graphics (SVG).
%prep
%setup -qc
[ -f package2.xml ] || mv package.xml package2.xml
mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
cd %{pear_name}-%{version}
%build
cd %{pear_name}-%{version}
# Empty build section, most likely nothing required.
%install
cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml
# Move documentation
mkdir -p docdir
mv $RPM_BUILD_ROOT%{pear_docdir}/* docdir
find docdir -type f -exec sed -i 's/\r//' {} \;
# 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}
%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}/docs/*
%{pear_xmldir}/%{pear_name}.xml
%{pear_testdir}/%{pear_name}
%{pear_phpdir}/Image/Graph*
%changelog
* Sun Jan 14 2007 Christopher Stone <chris.stone at gmail.com> 0.7.2-1
- Initial Fedora release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Image-Graph/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 11 Mar 2007 23:44:03 -0000 1.1
+++ .cvsignore 12 Mar 2007 19:00:31 -0000 1.2
@@ -0,0 +1 @@
+Image_Graph-0.7.2.tgz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Image-Graph/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 11 Mar 2007 23:44:03 -0000 1.1
+++ sources 12 Mar 2007 19:00:31 -0000 1.2
@@ -0,0 +1 @@
+4e3f338314fe0754970a896686875a5e Image_Graph-0.7.2.tgz
More information about the fedora-extras-commits
mailing list