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

Line 
1#% global gitcommit 905382e
2
3## Summary/Description adopted from Debian with modification
4
5Name:           texworks
6Version:        0.6.3
7Release:        2%{?gitcommit:.git%gitcommit}%{?_dist_release}
8Summary:        An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
9Summary(ja):    TeX ドキュメント制作のための総合環境
10
11Group:          Applications/Editors
12License:        GPLv2+
13URL:            http://tug.org/texworks/
14#Source0:        %{name}-%{version}%{?gitcommit:.git%gitcommit}.tar.%{?gitcommit:xz}%{!?gitcommit:gz}
15Source0:        texworks-release-%{version}.tar.gz
16
17# Desktop file adopted from Debian with modification
18Source1:        %{name}.desktop
19
20## vine
21Patch100:       texworks-0.5-ptex2pdf.patch
22#Patch101:       texworks-0.4.6-addDefaultBinPaths.patch
23
24BuildRequires:  cmake >= 2.8.6
25BuildRequires:  lua-devel
26BuildRequires:  hunspell-devel
27BuildRequires:  dbus-devel
28BuildRequires:  poppler-qt4-devel
29# BuildRequires:  python-devel
30BuildRequires:  desktop-file-utils
31
32BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root
33
34Distribution:  Vine
35Vendor:    Project Vine
36Packager:  munepi
37
38
39%description
40TeXworks is an environment for authoring TeX (LaTeX, ConTeXt, etc) documents,
41with a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean,
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
56%setup -qn %{name}-release-%{version}%{?gitcommit:.git%gitcommit}
57
58%patch100 -p1 -b .vine
59#% patch101 -p1 -b .vine
60
61%build
62%cmake .
63%__make %{?_smp_mflags}
64
65
66%install
67%__rm -rf %{buildroot}
68%__make install DESTDIR=%{buildroot}
69
70## install document files
71%__mkdir_p %{buildroot}%{_docdir}/%{name}-%{version}
72
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
78%clean
79%__rm -rf %{buildroot}
80
81%post
82update-desktop-database &> /dev/null || :
83
84%postun
85update-desktop-database &> /dev/null || :
86
87
88%files
89%defattr(-,root,root,-)
90%doc COPYING NEWS README.md
91%{_bindir}/%{name}
92%{_usr}/lib/%{name}/lib*.so
93%{_datadir}/applications/%{name}.desktop
94%{_datadir}/metainfo/%{name}.appdata.xml
95%{_datadir}/pixmaps/*
96%{_mandir}/man1/texworks.1.gz
97
98
99%changelog
100* Tue Oct 29 2019 Toshiaki Ara <ara_t@384.jp> 0.6.3-2
101- rebuild with hunspell-1.7.0
102
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
107* Wed Jan 03 2018 Toshiaki Ara <ara_t@384.jp> 0.6.1-3
108- rebuild with poppler-0.61.1
109
110* Tue Jun 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.1-2
111- rebuilt with new toolchain
112
113* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.1-1
114- new upstream release
115
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
122* Thu May 28 2015 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-5.git046b6bb
123- source snapshot git046b6bb based on 0.4.6
124
125* Sat Nov  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-4.svn1302
126- dropped R/BR: texlive
127
128* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-3.svn1302
129- source snapshot r1302
130- added BuildRequires: lua-devel
131
132* Fri Mar  9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-2.svn950
133- rebuild with hunspell-devel
134
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
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
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
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
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.