Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fDOMDocument.spec 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. %define _pearDir /usr/share/pear/
  2. %define _sourcedir src/
  3. Summary: fDOMDocument - An Extension to PHP's standard DOM to add various convinience methods and exceptions by default
  4. Name: fDOMDocument
  5. Version: 1.1.0
  6. Release: 1
  7. Group: System Environment/Libraries
  8. License: Arne Blankerts
  9. Vendor: Arne Blankerts
  10. Url: https://github.com/theseer/
  11. #Source:
  12. Provides: fDOMDocument-%{version}%{release}
  13. BuildRoot: %{_tmppath}/%{name}-%{version}%{release}-root-%(%{__id_u} -n)
  14. BuildArch: noarch
  15. Requires: php-common, php-dom
  16. %description
  17. fDOMDocument - An Extension to PHP's standard DOM to add various convinience methods and exceptions by default
  18. %install
  19. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  20. install -m 755 -d $RPM_BUILD_ROOT%{_pearDir}TheSeer
  21. install -m 755 -d $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument
  22. install -m 755 -d $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/fDOMFilter
  23. cp %{_sourcedir}fDOMDocument.php $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/fDOMDocument.php
  24. cp %{_sourcedir}fDOMDocumentFragment.php $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/fDOMDocumentFragment.php
  25. cp %{_sourcedir}fDOMElement.php $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/fDOMElement.php
  26. cp %{_sourcedir}fDOMException.php $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/fDOMException.php
  27. cp %{_sourcedir}fDOMFilter.php $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/fDOMFilter.php
  28. cp %{_sourcedir}fDOMNode.php $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/fDOMNode.php
  29. cp %{_sourcedir}fDOMXPath.php $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/fDOMXPath.php
  30. cp %{_sourcedir}fDOMFilter/xhtml.php $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/fDOMFilter/xhtml.php
  31. phpab -o $RPM_BUILD_ROOT%{_pearDir}TheSeer/fDOMDocument/autoload.php TheSeer/fDOMDocument
  32. %post
  33. %files
  34. %defattr(-,root,root)
  35. %dir %{_pearDir}TheSeer/fDOMDocument
  36. %dir %{_pearDir}TheSeer/fDOMDocument/fDOMFilter
  37. %{_pearDir}TheSeer/fDOMDocument/*
  38. %{_pearDir}TheSeer/fDOMDocument/fDOMFilter/*
  39. %{_pearDir}TheSeer/fDOMDocument/autoload.php
  40. %{_pearDir}TheSeer/fDOMDocument/fDOMDocument.php
  41. %{_pearDir}TheSeer/fDOMDocument/fDOMDocumentFragment.php
  42. %{_pearDir}TheSeer/fDOMDocument/fDOMElement.php
  43. %{_pearDir}TheSeer/fDOMDocument/fDOMException.php
  44. %{_pearDir}TheSeer/fDOMDocument/fDOMFilter.php
  45. %{_pearDir}TheSeer/fDOMDocument/fDOMNode.php
  46. %{_pearDir}TheSeer/fDOMDocument/fDOMXPath.php
  47. %{_pearDir}TheSeer/fDOMDocument/fDOMFilter/xhtml.php
  48. %changelog
  49. * Tue Jul 04 2011 Maik 'M4ikT' Thieme <maik.thieme@gmail.com> 1.1.0
  50. - Initial package release