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