mate-doc-utils-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Summary: Documentation utilities for MATE
  2. Name: mate-doc-utils
  3. Version: 1.1.0
  4. Release: 2%{?_dist_release}
  5. Source0: %{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Development/Tools
  8. URL: https://matsusoft.com.ar/projects/mate/
  9. BuildRequires: mate-common
  10. BuildRequires: libxml2-devel
  11. BuildRequires: libxslt-devel
  12. BuildRequires: rarian-devel
  13. BuildRequires: gtk-doc
  14. BuildRequires: autoconf
  15. BuildRequires: automake
  16. Requires: gnome-doc-utils
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildArch: noarch
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. PolicyKit-mate provides an Authentication Agent for PolicyKit that
  24. integrates well with the MATE desktop environment
  25. %prep
  26. %setup -q
  27. %build
  28. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  29. %configure \
  30. --disable-static \
  31. --disable-scrollkeeper
  32. %{__make} %{?_smp_mflags}
  33. %install
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  36. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  37. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  38. # conflict with gnome-doc-utils
  39. %{__rm} -f ${RPM_BUILD_ROOT}/%{_bindir}/xml2po
  40. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_mandir}
  41. %{__rm} -rf ${RPM_BUILD_ROOT}/usr/lib/python2.6/site-packages/xml2po
  42. %{__rm} -f ${RPM_BUILD_ROOT}/%{_datadir}/pkgconfig/xml2po.pc
  43. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_datadir}/xml/mallard
  44. %find_lang %{name}
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %files -f %{name}.lang
  48. %defattr(-,root,root,-)
  49. %doc COPYING ChangeLog NEWS README
  50. %{_bindir}/mate-doc-prepare
  51. %{_bindir}/mate-doc-tool
  52. %{_datadir}/aclocal/mate-doc-utils.m4
  53. %{_datadir}/mate/help
  54. %{_datadir}/mate-doc-utils
  55. %{_datadir}/omf/mate-doc-make
  56. %{_datadir}/omf/mate-doc-xslt
  57. %{_datadir}/pkgconfig/*.pc
  58. %{_datadir}/xml/mate
  59. %changelog
  60. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  61. - change category
  62. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  63. - initial build for Vine Linux