source: projects/specs/trunk/t/texworks/texworks-vl.spec @ 12304

Revision 12304, 5.1 KB checked in by ara_t, 5 years ago (diff)

texwworks: rebuild with hunspell-1.7.0

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