texworks-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. #% global gitcommit 905382e
  2. ## Summary/Description adopted from Debian with modification
  3. Name: texworks
  4. Version: 0.6.3
  5. Release: 2%{?gitcommit:.git%gitcommit}%{?_dist_release}
  6. Summary: An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
  7. Summary(ja): TeX ドキュメント制作のための総合環境
  8. Group: Applications/Editors
  9. License: GPLv2+
  10. URL: http://tug.org/texworks/
  11. #Source0: %{name}-%{version}%{?gitcommit:.git%gitcommit}.tar.%{?gitcommit:xz}%{!?gitcommit:gz}
  12. Source0: texworks-release-%{version}.tar.gz
  13. # Desktop file adopted from Debian with modification
  14. Source1: %{name}.desktop
  15. ## vine
  16. Patch100: texworks-0.5-ptex2pdf.patch
  17. #Patch101: texworks-0.4.6-addDefaultBinPaths.patch
  18. BuildRequires: cmake >= 2.8.6
  19. BuildRequires: lua-devel
  20. BuildRequires: hunspell-devel
  21. BuildRequires: dbus-devel
  22. BuildRequires: poppler-qt4-devel
  23. # BuildRequires: python-devel
  24. BuildRequires: desktop-file-utils
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  26. Distribution: Vine
  27. Vendor: Project Vine
  28. Packager: munepi
  29. %description
  30. TeXworks is an environment for authoring TeX (LaTeX, ConTeXt, etc) documents,
  31. with a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean,
  32. simple interface accessible to casual and non-technical users.
  33. You may install the texlive-* packages to make this program useful.
  34. %description -l ja
  35. TeXworks は TeX (LaTeX, ConTeXt, etc) ドキュメント制作のための総合環境です。
  36. ユニコードベースで編集する TeX に特化したエディタに、
  37. PDF プレビュアーが統合されており、不慣れな非技術系のユーザへの
  38. 簡潔で操作しやすいインタフェースを備えています。
  39. TeXworks を利用するためには、TeX 環境が必要です。
  40. %prep
  41. %setup -qn %{name}-release-%{version}%{?gitcommit:.git%gitcommit}
  42. %patch100 -p1 -b .vine
  43. #% patch101 -p1 -b .vine
  44. %build
  45. %cmake .
  46. %__make %{?_smp_mflags}
  47. %install
  48. %__rm -rf %{buildroot}
  49. %__make install DESTDIR=%{buildroot}
  50. ## install document files
  51. %__mkdir_p %{buildroot}%{_docdir}/%{name}-%{version}
  52. ## drop some files
  53. %__rm -f %{buildroot}%{_datadir}/doc/texworks/COPYING
  54. %__rm -f %{buildroot}%{_datadir}/doc/texworks/NEWS
  55. %__rm -f %{buildroot}%{_datadir}/doc/texworks/README.md
  56. %clean
  57. %__rm -rf %{buildroot}
  58. %post
  59. update-desktop-database &> /dev/null || :
  60. %postun
  61. update-desktop-database &> /dev/null || :
  62. %files
  63. %defattr(-,root,root,-)
  64. %doc COPYING NEWS README.md
  65. %{_bindir}/%{name}
  66. %{_usr}/lib/%{name}/lib*.so
  67. %{_datadir}/applications/%{name}.desktop
  68. %{_datadir}/metainfo/%{name}.appdata.xml
  69. %{_datadir}/pixmaps/*
  70. %{_mandir}/man1/texworks.1.gz
  71. %changelog
  72. * Tue Oct 29 2019 Toshiaki Ara <ara_t@384.jp> 0.6.3-2
  73. - rebuild with hunspell-1.7.0
  74. * Wed Jan 03 2018 Toshiaki Ara <ara_t@384.jp> 0.6.3-1
  75. - update to 0.6.3
  76. - update Patch100
  77. * Wed Jan 03 2018 Toshiaki Ara <ara_t@384.jp> 0.6.1-3
  78. - rebuild with poppler-0.61.1
  79. * Tue Jun 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.1-2
  80. - rebuilt with new toolchain
  81. * Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.1-1
  82. - new upstream release
  83. * Mon May 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-7.git905382e
  84. - rebuild with poppler-0.43.0
  85. * Sun Jan 24 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-6.git905382e
  86. - source snapshot git905382e
  87. * Thu May 28 2015 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-5.git046b6bb
  88. - source snapshot git046b6bb based on 0.4.6
  89. * Sat Nov 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-4.svn1302
  90. - dropped R/BR: texlive
  91. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-3.svn1302
  92. - source snapshot r1302
  93. - added BuildRequires: lua-devel
  94. * Fri Mar 9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-2.svn950
  95. - rebuild with hunspell-devel
  96. * Sun Dec 4 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-1.svn950
  97. - source snapshot r950
  98. - updated pdfplatex.sh
  99. - support SyncTeX
  100. - TeX Live 2011
  101. * Fri Jul 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.3-1
  102. - new upstream release
  103. - added BuildRequires: texlive-common
  104. - added Requires: texlive-common
  105. * Sat Jun 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.1-2
  106. - added some Japanese templates
  107. * Sat Jun 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.1-1
  108. - new upstream release
  109. * Wed Mar 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.0-1
  110. - new upstream release
  111. * Fri Dec 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.3-1.svn724
  112. - source snapshot r724
  113. * Sat Oct 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.3-1.svn671
  114. - source snapshot r671
  115. - dropped obsolete/upstreamed patches
  116. - added texworks-snapshot.sh
  117. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.3-1
  118. - initial build
  119. * Sat Apr 24 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-3
  120. - Move to menu category 'Office'
  121. - License tag revised to 'GPLv2+'
  122. - Initial import to Fedora repositories
  123. * Thu Apr 22 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-2
  124. - Fix some strange characters in README
  125. - Patch TeXworks.pro to use qmake mechanism to install files and fix DSO linking
  126. problem
  127. * Sun Apr 11 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-1
  128. - Initial packaging