texlive-vtlpkg-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. %bcond_with firstbuild
  2. Summary: TeX Live packaging utilities for Vine Linux
  3. Summary(ja): Vine Linux 用 TeX Live パッケージングユーティリティ
  4. Name: texlive-vtlpkg
  5. Version: 2012
  6. Release: 1%{?_dist_release}
  7. License: GPLv2+
  8. Group: Development/Tools
  9. Url: http://trac.vinelinux.org/wiki/TeXEnvironment
  10. # %{name}-%{version}.tar.xz is generated by running "$ make rpm"
  11. Source0: %{name}-%{version}.tar.xz
  12. Source10: texlive-vtlpkg-2012-vine.patch
  13. Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildArch: noarch
  15. BuildRequires: sed
  16. BuildRequires: xz
  17. Requires: bash
  18. #%{!?with_firstbuild:Requires: texlive-sources = %{version}}
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: munepi
  22. %description
  23. texlive-vtlpkg is used to create a package of TeX Live for Vine Linux.
  24. It provides tlpdb2rpmspec.
  25. %description -l ja
  26. texlive-vtlpkg は Vine Linux 用 TeX Live パッケージを作るユーティリティです。
  27. tlpdb2rpmspec を提供しています。
  28. %prep
  29. [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
  30. %setup
  31. %build
  32. %__make
  33. %install
  34. %__make DESTDIR=$RPM_BUILD_ROOT install
  35. ## modified texlive.tlpdb
  36. pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
  37. patch -p0 < %{SOURCE10} || exit 1
  38. popd
  39. %clean
  40. [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
  41. %files
  42. %defattr(-,root,root)
  43. %doc README
  44. %{_bindir}/tlpdb2rpmspec
  45. %dir %{_datadir}/%{name}
  46. %{_datadir}/%{name}/*
  47. %changelog
  48. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  49. - updated to TeX Live 2012
  50. * Sat Dec 3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  51. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  52. - set external dependencies (texlive-collection-binextra,
  53. texlive-collection-fontutils)
  54. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  55. - updated to TeX Live 2011
  56. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  57. - added %%doc README (%%files)
  58. * Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  59. - applied texlive-vtlpkg-2009-vine.patch
  60. - remove arch dependent binaries
  61. - updated tlpdb2rpmspec.sh.in:
  62. - improved tlpdb4a()
  63. - make symlinks of core script utils (texlive-collection-binextra,
  64. texlive-collection-context, texlive-collection-fontutils,
  65. texlive-collection-langgreek, texlive-collection-langindic,
  66. texlive-collection-latex, texlive-collection-latexextra,
  67. texlive-collection-latexrecommended, texlive-collection-pictures,
  68. texlive-collection-pstricks, texlive-collection-science)
  69. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  70. - updated tlpdb2rpmspec.sh.in:
  71. - improved %%post
  72. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  73. - updated tlpdb2rpmspec.sh.in:
  74. - removed arch dependent binaries (texlive-collection-latexextra)
  75. - improved updmap process in %%post and %%postun
  76. - fixed perl path
  77. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  78. - initial build