|
|
c4c84a5 |
%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
|
|
|
c4c84a5 |
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
|
|
|
c4c84a5 |
%global pear_name XML_SVG
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
Name: php-pear-XML-SVG
|
|
|
c4c84a5 |
Version: 1.1.0
|
|
|
e349547 |
Release: 23%{?dist}
|
|
|
c4c84a5 |
Summary: API for building SVG documents
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
# https://pear.php.net/bugs/19690 - Please Provides LICENSE file
|
|
|
c4c84a5 |
License: LGPLv3
|
|
|
c4c84a5 |
URL: http://pear.php.net/package/%{pear_name}
|
|
|
c4c84a5 |
Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
BuildArch: noarch
|
|
|
c4c84a5 |
BuildRequires: php-pear(PEAR)
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
Requires(post): %{__pear}
|
|
|
c4c84a5 |
Requires(postun): %{__pear}
|
|
|
c4c84a5 |
Requires: php-pear(PEAR)
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
Provides: php-pear(%{pear_name}) = %{version}
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
%description
|
|
|
c4c84a5 |
This package provides an object-oriented API for building SVG documents.
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
%prep
|
|
|
c4c84a5 |
%setup -q -c
|
|
|
c4c84a5 |
cd %{pear_name}-%{version}
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
# https://pear.php.net/bugs/19718 - README is Doc
|
|
|
c4c84a5 |
sed -e '/README/s/role="data"/role="doc"/' \
|
|
|
c4c84a5 |
../package.xml >%{name}.xml
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
%build
|
|
|
c4c84a5 |
cd %{pear_name}-%{version}
|
|
|
c4c84a5 |
# Empty build section, most likely nothing required.
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
%install
|
|
|
c4c84a5 |
rm -rf %{buildroot}
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
cd %{pear_name}-%{version}
|
|
|
c4c84a5 |
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
# Clean up unnecessary files
|
|
|
c4c84a5 |
rm -rf %{buildroot}%{pear_metadir}/.??*
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
# Install XML package description
|
|
|
c4c84a5 |
install -Dpm 644 %{name}.xml %{buildroot}%{pear_xmldir}/%{name}.xml
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
%post
|
|
|
c4c84a5 |
%{__pear} install --nodeps --soft --force --register-only \
|
|
|
c4c84a5 |
%{pear_xmldir}/%{name}.xml >/dev/null || :
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
%postun
|
|
|
c4c84a5 |
if [ $1 -eq 0 ] ; then
|
|
|
c4c84a5 |
%{__pear} uninstall --nodeps --ignore-errors --register-only \
|
|
|
c4c84a5 |
pear.php.net/%{pear_name} >/dev/null || :
|
|
|
c4c84a5 |
fi
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
%files
|
|
|
c4c84a5 |
%doc %{pear_docdir}/%{pear_name}
|
|
|
c4c84a5 |
%{pear_xmldir}/%{name}.xml
|
|
|
c4c84a5 |
%dir %{pear_phpdir}/XML
|
|
|
c4c84a5 |
%{pear_phpdir}/XML/SVG.php
|
|
|
c4c84a5 |
%{pear_phpdir}/XML/SVG
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
%changelog
|
|
|
e349547 |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-23
|
|
|
e349547 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e349547 |
|
|
|
192a71b |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-22
|
|
|
192a71b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
192a71b |
|
|
|
4a31be8 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-21
|
|
|
4a31be8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
4a31be8 |
|
|
|
8e12a27 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-20
|
|
|
8e12a27 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
8e12a27 |
|
|
|
d99fcb7 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-19
|
|
|
d99fcb7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
d99fcb7 |
|
|
|
301b2bd |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-18
|
|
|
301b2bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
301b2bd |
|
|
|
ffcbe8b |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-17
|
|
|
ffcbe8b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
ffcbe8b |
|
|
|
51539ed |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-16
|
|
|
51539ed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
51539ed |
|
|
|
67ac034 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-15
|
|
|
67ac034 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
67ac034 |
|
|
|
b441996 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-14
|
|
|
b441996 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b441996 |
|
|
|
f960148 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-13
|
|
|
f960148 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
f960148 |
|
|
|
58601d9 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12
|
|
|
58601d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
58601d9 |
|
|
|
b80e350 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
|
|
|
b80e350 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b80e350 |
|
|
|
04e7e90 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
|
|
|
04e7e90 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
04e7e90 |
|
|
|
a6c17a2 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
|
|
a6c17a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a6c17a2 |
|
|
|
c65bee5 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
|
|
|
c65bee5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
c65bee5 |
|
|
|
7474cb4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
|
|
|
7474cb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7474cb4 |
|
|
|
6aabd6c |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-6
|
|
|
6aabd6c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
6aabd6c |
|
|
|
a6a720f |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
|
|
|
a6a720f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a6a720f |
|
|
|
9a8aef9 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
|
|
|
9a8aef9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9a8aef9 |
|
|
|
a1602d8 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
a1602d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a1602d8 |
|
|
|
c4c84a5 |
* Fri Nov 23 2012 Remi Collet <remi@fedoraproject.org> - 1.1.0-2
|
|
|
c4c84a5 |
- fix README Role (from review #872957)
|
|
|
c4c84a5 |
|
|
|
c4c84a5 |
* Sun Nov 4 2012 Remi Collet <remi@fedoraproject.org> - 1.1.0-1
|
|
|
c4c84a5 |
- Initial package
|